joeaba
a12bf8c003
Update maintainers references ( #29997 )
...
* update maintainers references
* chore: update maintainers reference
2023-01-31 08:07:13 -05:00
dependabot[bot]
376cd588c8
chore: bump rollup from 2.70.2 to 2.79.1 in /web3.js ( #30016 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.70.2 to 2.79.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.70.2...v2.79.1 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 09:34:02 +00:00
dependabot[bot]
48443f4315
chore: bump @rollup/plugin-alias from 3.1.9 to 4.0.3 in /web3.js ( #30012 )
...
Bumps [@rollup/plugin-alias](https://github.com/rollup/plugins/tree/HEAD/packages/alias ) from 3.1.9 to 4.0.3.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/alias/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/json-v4.0.3/packages/alias )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-alias"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 09:15:49 +00:00
dependabot[bot]
fab62ee180
chore: bump @rollup/plugin-commonjs from 22.0.0 to 24.0.1 in /web3.js ( #29824 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs ) from 22.0.0 to 24.0.1.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v24.0.1/packages/commonjs )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steven Luscher <steveluscher@users.noreply.github.com>
2023-01-31 07:30:38 +00:00
dependabot[bot]
6de947a7e0
chore: bump @rollup/plugin-json from 4.1.0 to 6.0.0 in /web3.js ( #29452 )
...
Bumps [@rollup/plugin-json](https://github.com/rollup/plugins/tree/HEAD/packages/json ) from 4.1.0 to 6.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/json/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/url-v6.0.0/packages/json )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-json"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 09:08:08 +00:00
TJDawson10
9679bc6d1f
chore: typecheck web3.js tests ( #29422 )
...
* fix: web3.js test typescript errors
Fixes the typescript errors throughout the
web3.js test suite
* fix: node14 test
AbortController is a default in node16 but needs
to be imported for node14
* fix: additional typescript errors
Adds the tests to the tsconfig to auto-include mocha
and fixes remaining typescript errors
* fix: graphql-tools to work with typescript
version of graphql-tools initially installed has incompatible
types preventing ./scripts/typegen.sh from passing when tests
are added to the include path of tsconfig.json
* Don't build typedefs for tests
Co-authored-by: steveluscher <me+github@steveluscher.com>
2022-12-29 15:02:21 -08:00
Steven Luscher
456a81982e
fix: reduce Connection keep-alive timeout to 1 second fewer than the Solana RPC's keep-alive timeout ( #29130 )
...
* Delete `AgentManager`
* Replace custom `http.Agent` implementation with `agentkeepalive` package
* Set the default free socket timeout to 1s less than the Solana RPC's default timeout
* Add link to particular issue comment
* Create the correct flavor of default agent for http/https
2022-12-19 10:22:25 -08:00
Steven Luscher
f1427dd90c
feat: you can now supply your own HTTP agent to a web3.js Connection ( #29125 )
...
* You can now supply your own `https?.Agent` when creating a `Connection` object
* Don't use HTTP agents in test mode
* Tests that assert the behaviour of the `agentOverride` config of `Connection`
* s/agentOverride/httpAgent/ is less confusing when the value is `false`
2022-12-06 14:57:13 -08:00
Steven Luscher
35f3c18aa8
feat: you can now abort transaction confirmations in web3.js ( #29057 )
...
* Upgrade Typescript, `@types/node`, and `typedoc` to versions that play well together
In this instance it means they:
* understand `AbortSignal`
* don't cause build errors
* You can now abort transaction confirmation using an `AbortSignal`
* Pipe an `AbortSignal` down through `sendAndConfirmTransaction()`
* Add `AbortController` polyfill to test so that test works in Node 14
2022-12-02 16:36:09 -08:00
steveluscher
45291a5001
chore: remove @babel/register dependency from web3.js
2022-11-29 08:04:19 +00:00
steveluscher
85e6b80347
chore: remove unused http-server dependency from web3.js
2022-11-29 08:00:06 +00:00
Yihau Chen
2a417de916
chore: web3js get rid of Travis ( #28695 )
...
* ci: remove travis related file
* docs: remove travis badge from README.md
* chore: npm uninstall @commitlint/travis-cli
* ci: add test.sh script
* ci: rebuild web3 pipeline when yml changed
2022-11-01 19:06:21 +08:00
steveluscher
25a3df3e40
chore: upgrade eslint in @solana/web3.js
2022-10-20 21:01:32 +00:00
steveluscher
9207f9a1b8
chore: upgrade Mocha to 10.1.0
2022-10-20 20:44:42 +00:00
Steven Luscher
6bc04b5e3a
fix: replace js-sha3 with `@noble/hashes/sha3` ( #27630 )
2022-09-06 22:38:11 -07:00
Steven Luscher
60f3dc5f72
fix: replace tweetnacl impl
...
* Install `@noble/ed25519` and create a shim
* Replace `tweetnacl` with `@noble/ed25519` in `Account` class
* Replace `tweetnacl` with `@noble/ed25519` in `Keypair` class
* Replace `tweetnacl` with `@noble/ed25519` in `PublicKey` class
* Replace `tweetnacl` with `@noble/ed25519` in `Ed25519Program` class
* Replace `tweetnacl` with `@noble/ed25519` in `Transaction` class
* Replace `tweetnacl` with `@noble/ed25519` in versioned `Transaction` class
* Remove `tweetnacl` from project
* Damnit, typedoc.
2022-08-28 12:11:34 -07:00
Steven Luscher
713e86e877
Update rollup script to exclude new secp256k1 and hmac/sha256 dependencies ( #27428 )
...
* fix: repair build script, not to bundle @noble libraries but to keep them as external deps
* chore: remove secp256k1 Typescript types
2022-08-26 12:33:29 -07:00
Steven Luscher
1a836ab4af
[web3.js] Replace sha256 and secp256k1 impls ( #27390 )
...
* fix: replace `@ethersproject/sha2` with `@noble/hashes/sha256`
* fix: replace `secp256k1` with `@noble/secp256k1`
2022-08-25 13:34:11 -07:00
Steven Luscher
5975176af7
[web3.js] Eliminate dependency on `URL` class ( #27349 )
...
* fix: `makeWebsocketUrl` no longer depends on the `URL` class
* fix: `Connection` no longer relies on the `URL` class
* fix: remove dependency on `react-native-url-polyfill`
2022-08-24 11:02:40 -07:00
Steven Luscher
526001557d
chore: update `tweetnacl` dependency to 1.0.3 explicitly ( #26907 )
2022-08-03 10:52:03 -07:00
Steven Luscher
817402123f
fix: fork `URL` and `fetch` for React Native in web3.js ( #26604 )
2022-07-12 21:41:33 -07:00
steveluscher
028c3eba8f
test: compile web3.js tests in such a way that you can use es2020+ syntax without crashing Mocha
2022-06-28 11:22:43 -07:00
steveluscher
de5b6a2989
chore: upgrade `rpc-websockets` to eliminate bad `circular-json` dependency
2022-06-28 06:23:26 +00:00
dependabot[bot]
8854332f25
chore: bump semantic-release from 18.0.1 to 19.0.3 in /web3.js ( #25864 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 18.0.1 to 19.0.3.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v18.0.1...v19.0.3 )
---
updated-dependencies:
- dependency-name: semantic-release
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 08:18:26 +00:00
dependabot[bot]
3ed2e0ce26
chore: bump @commitlint/config-conventional in /web3.js ( #25691 )
...
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional ) from 15.0.0 to 17.0.2.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.0.2/@commitlint/config-conventional )
---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 10:21:33 +00:00
steveluscher
da28badcaa
fix: web3.js fork fetch for browsers
2022-05-26 14:40:18 -07:00
steveluscher
994ae755a9
chore: augment build script to build forked modules into correct bundles
2022-05-26 14:40:18 -07:00
dependabot[bot]
fd7ad31ee7
chore: bump @commitlint/travis-cli from 16.2.4 to 17.0.0 in /web3.js ( #25457 )
...
Bumps [@commitlint/travis-cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/travis-cli ) from 16.2.4 to 17.0.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/travis-cli/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.0.0/@commitlint/travis-cli )
---
updated-dependencies:
- dependency-name: "@commitlint/travis-cli"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-22 06:54:05 +00:00
dependabot[bot]
152f4e6244
chore: bump @rollup/plugin-commonjs from 21.0.3 to 22.0.0 in /web3.js ( #25454 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs ) from 21.0.3 to 22.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v22.0.0/packages/commonjs )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-22 04:46:38 +00:00
Justin Starry
14b1434c52
fix: remove dependency on @solana/buffer-layout-utils ( #25399 )
2022-05-20 17:57:01 +08:00
dependabot[bot]
30e8991548
chore: bump eslint-plugin-mocha from 9.0.0 to 10.0.4 in /web3.js ( #25396 )
...
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha ) from 9.0.0 to 10.0.4.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases )
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/9.0.0...10.0.4 )
---
updated-dependencies:
- dependency-name: eslint-plugin-mocha
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 08:58:16 +00:00
dependabot[bot]
e4ac75af90
chore: bump ts-mocha from 9.0.2 to 10.0.0 in /web3.js ( #25102 )
...
Bumps [ts-mocha](https://github.com/piotrwitek/ts-mocha ) from 9.0.2 to 10.0.0.
- [Release notes](https://github.com/piotrwitek/ts-mocha/releases )
- [Changelog](https://github.com/piotrwitek/ts-mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/piotrwitek/ts-mocha/commits )
---
updated-dependencies:
- dependency-name: ts-mocha
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 10:53:07 +08:00
beeman
0514e83fa2
chore: move sinon-chai to devDependencies ( #25151 )
2022-05-11 17:08:11 -07:00
Justin Starry
d34b440a3c
chore: update dev dep @solana/spl-token to 0.2.0 ( #25044 )
...
* chore: update dev dep @solana/spl-token to 0.2.0
* chore: fix token tests
2022-05-07 00:14:11 +08:00
Steven Luscher
9089909995
fix: add bigint support to system transfers ( #24975 )
...
Authored-by: KonyTech <nicolas.cortella@protonmail.com>
2022-05-04 19:14:31 -07:00
Steven Luscher
2e617ba4fd
fix: the one where we fix client subscriptions ( #24473 )
...
* chore: create a first-class type to distinguish client subscription ids from server subscription ids
* chore: add fast-stable-stringify as a dependency to web3.js
* fix: reimplement the subscription tracker as a state machine
* test: updated tests to recognize that signatureUnsubscribe happens synchronously
* chore: add sinon-chai so that we can make assertions on calling spies
* test: coverage for the full range of subscription state transitions
* fix: special case auto-disposing subscriptions like signatureSubscribe
* fix: document Subscription type (SQUASH THIS)
* fix: strict undefined checks (SQUASH THIS)
* fix: naming (SQUASH THIS)
* fix: move defaulting to source (SQUASH THIS)
* fix: build RPC args first, then produce the subscription topic hash (SQUASH THIS)
* fix: dispose handles no longer track whether they've been called (SQUASH THIS)
* fix: shore up the auto-disposing sub tests now that double-free doesn't fatal (SQUASH THIS)
* fix: write documentation explaining how and why to apply a default commitment (SQUASH THIS)
* fix: skip subscriptions that have been deleted when recursing (SQUASH THIS)
* fix: bail on async responses when the connection has been recycled (SQUASH THIS)
* fix: typo in comment (SQUASH THIS)
* chore: comment on why notification callbacks are ts-ignored
* chore: start all the new stuff out as private members of the Connection class
2022-04-28 16:21:39 -07:00
dependabot[bot]
e88afbede8
chore: bump rollup from 2.60.2 to 2.70.2 in /web3.js ( #24793 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.60.2 to 2.70.2.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.60.2...v2.70.2 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 12:07:45 +00:00
dependabot[bot]
779f768504
chore: bump sinon from 12.0.1 to 13.0.2 in /web3.js ( #24792 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 12.0.1 to 13.0.2.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v12.0.1...v13.0.2 )
---
updated-dependencies:
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:55:20 +00:00
dependabot[bot]
e9f100c88e
chore: bump eslint-plugin-import from 2.25.3 to 2.26.0 in /web3.js ( #24790 )
...
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) from 2.25.3 to 2.26.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.25.3...v2.26.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:29:50 +00:00
dependabot[bot]
bd2ba41bfb
chore: bump @rollup/plugin-replace from 3.1.0 to 4.0.0 in /web3.js ( #24775 )
...
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace ) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/url-v4.0.0/packages/replace )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 08:25:10 +00:00
steveluscher
8541704267
chore: add @types/sinon-chai
2022-04-27 14:38:42 -07:00
Steven Luscher
69725df6b0
chore: delete unused Rollup config in web3.js test dir ( #24733 )
2022-04-27 11:36:04 -07:00
Steven Luscher
27a1757612
chore: compile tests with the same compiler as the build itself ( #24728 )
2022-04-27 09:53:24 -07:00
dependabot[bot]
abf2b0e9c0
chore: bump @commitlint/travis-cli from 15.0.0 to 16.2.3 in /web3.js ( #24498 )
...
Bumps [@commitlint/travis-cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/travis-cli ) from 15.0.0 to 16.2.3.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/travis-cli/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v16.2.3/@commitlint/travis-cli )
---
updated-dependencies:
- dependency-name: "@commitlint/travis-cli"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 19:29:57 +00:00
dependabot[bot]
3155270fa4
chore: bump @types/node from 16.11.26 to 17.0.24 in /web3.js ( #24432 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.11.26 to 17.0.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 08:12:09 +00:00
Justin Starry
7c45d94ccc
feat: remove flow type generation ( #24380 )
2022-04-16 08:12:29 +08:00
steveluscher
023fc028bc
chore: Upgrade buffer-layout to v4.0.0
2022-03-24 22:55:52 -07:00
steveluscher
260fdf7ba3
Revert "chore: Upgrade buffer-layout package in web3.js ( #23897 )"
...
Fixing up the types is going to take me a bit longer than I anticipated, so I'll back this out for now.
2022-03-23 18:34:01 -07:00
Steven Luscher
0c0db9308b
chore: Upgrade buffer-layout package in web3.js ( #23897 )
2022-03-23 14:56:13 -07:00
Andrey Frolov
59290c08aa
fix: add type-check script to web3.js package ( #23109 )
2022-03-23 12:58:42 -07:00