dependabot[bot]
1e23b3bd12
chore: bump typedoc from 0.22.13 to 0.22.15 in /web3.js ( #25402 )
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.22.13 to 0.22.15.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.13...v0.22.15 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-22 12:29:39 +08:00
dependabot[bot]
f9f6b94ead
chore: bump @types/node from 17.0.24 to 17.0.35 in /web3.js ( #25397 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 17.0.24 to 17.0.35.
- [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-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 19:17:44 +08: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] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 08:58:16 +00:00
dependabot[bot]
0d825888d3
chore: bump @babel/runtime from 7.17.8 to 7.18.0 in /web3.js ( #25395 )
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.17.8 to 7.18.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.0/packages/babel-runtime )
---
updated-dependencies:
- dependency-name: "@babel/runtime"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 08:46:37 +00:00
Justin Starry
a7e6f4deef
feat: support additional compute budget ixs ( #25104 )
2022-05-20 07:27:48 +00:00
Dmitri Makarov
569b00025c
fix: replace rust cfg annotations that use bpf by target_os solana
2022-05-18 20:39:43 -07:00
Steven Luscher
84f1e5c0da
fix: speed up transaction signing by removing code that does nothing ( #25302 )
2022-05-18 11:08:13 -07:00
Phil Chen
456e6711f0
chore: typo in BlockheightBasedTransactionConfirmationStrategy ( #25279 )
...
* fix typo: Confimation => Confirmation
* chore: run prettier
Co-authored-by: steveluscher <[email protected] >
2022-05-17 16:59:04 -07:00
Steven Luscher
4ea39c1cd3
feat: thread new blockheight expiry strategy through `sendAndConfirmTransaction` ( #25227 )
...
* chore: extract expirable blockhash record into its own type
* fix: the local latest blockhash cache now fetches and stores lastValidBlockHeight
* fix: allow people to supply a confirmation strategy to sendAndConfirmRawTransaction
* test: upgrade RPC helpers to use blockheight confirmation method
* test: patch up tests to use blockheight based confirmation strategy
* fix: eliminate deprecated construction of Transaction inside simulateTransaction
* test: eliminate deprecated constructions of Transaction in tests
2022-05-14 21:54:12 -07:00
Steven Luscher
d513407485
test: getEstimatedFee change runs only in live environment now ( #25210 )
...
Co-authored-by: Marc Jaramillo <[email protected] >
2022-05-13 21:16:39 -07:00
Marc Jaramillo
375968da3b
fix: transaction confirmation strategy: wait until the last valid blockheight passes ( closes #24211 )
...
Co-authored-by: Marc Jaramillo <[email protected] >
Co-authored-by: Stella Wang <[email protected] >
2022-05-13 20:21:24 -07:00
Steven Luscher
e024806aa5
fix: mark the socket as closed when receiving a close/error message ( #25180 )
2022-05-13 02:07:13 -07: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] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 10:53:07 +08:00
steveluscher
8468f80a18
fix: restore package-lock file; it's needed for the build cache :/
2022-05-12 16:59:48 -07:00
steveluscher
82404d3f1c
fix: repair native bigint-buffer binding by preventing module from being bundled ( fixes #25159 )
2022-05-12 14:31:21 -07:00
wentokay
a38ce127ca
fix: include exception identifier in `catch` blocks ( #25147 )
2022-05-11 20:32:02 -07:00
steveluscher
86ffd98827
chore: delete npm lockfile ( closes #25148 )
2022-05-11 20:24:36 -07:00
Justin Starry
d1f816984e
fix: allow mutating transactions ( #25141 )
2022-05-12 11:02:57 +08:00
beeman
0514e83fa2
chore: move sinon-chai to devDependencies ( #25151 )
2022-05-11 17:08:11 -07:00
Justin Starry
634b7c3b5a
chore: fix lagging stake program live test ( #25107 )
...
* chore: fix lagging stake program live test
* chore: use min stake delegation in stake tests
2022-05-11 00:37:15 +08: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 <[email protected] >
2022-05-04 19:14:31 -07:00
Steven Luscher
dd8295981b
test: you can now supply promises for values when mocking RPC subscriptions ( #24920 )
2022-05-02 17:02:35 -07:00
steveluscher
0e0065a3f2
fix: restore export of PACKET_DATA_SIZE to web3.js
2022-04-28 20:03:57 -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
Steven Luscher
8f6e469d92
test: repair web3.js getBlocks tests ( #24813 )
2022-04-28 16:09:08 -07:00
dependabot[bot]
c2a44cfcee
chore: bump rollup-plugin-dts from 4.2.0 to 4.2.1 in /web3.js ( #24794 )
...
Bumps [rollup-plugin-dts](https://github.com/Swatinem/rollup-plugin-dts ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/Swatinem/rollup-plugin-dts/releases )
- [Changelog](https://github.com/Swatinem/rollup-plugin-dts/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rollup-plugin-dts/compare/v4.2.0...v4.2.1 )
---
updated-dependencies:
- dependency-name: rollup-plugin-dts
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 12:20:38 +00: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] <[email protected] >
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] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:55:20 +00:00
dependabot[bot]
dec9715e82
chore: bump tslib from 2.3.1 to 2.4.0 in /web3.js ( #24791 )
...
Bumps [tslib](https://github.com/Microsoft/tslib ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/Microsoft/tslib/releases )
- [Commits](https://github.com/Microsoft/tslib/compare/2.3.1...2.4.0 )
---
updated-dependencies:
- dependency-name: tslib
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:42:18 +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] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:29:50 +00:00
dependabot[bot]
3725d4391a
chore: bump @commitlint/travis-cli from 16.2.3 to 16.2.4 in /web3.js ( #24789 )
...
Bumps [@commitlint/travis-cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/travis-cli ) from 16.2.3 to 16.2.4.
- [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.4/@commitlint/travis-cli )
---
updated-dependencies:
- dependency-name: "@commitlint/travis-cli"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:17:08 +00:00
dependabot[bot]
c080f6e40f
chore: bump rpc-websockets from 7.4.17 to 7.4.18 in /web3.js ( #24788 )
...
Bumps [rpc-websockets](https://github.com/elpheria/rpc-websockets ) from 7.4.17 to 7.4.18.
- [Release notes](https://github.com/elpheria/rpc-websockets/releases )
- [Commits](https://github.com/elpheria/rpc-websockets/compare/v7.4.17...v7.4.18 )
---
updated-dependencies:
- dependency-name: rpc-websockets
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:05:53 +00:00
dependabot[bot]
8f2680687d
chore: bump @types/mocha from 9.1.0 to 9.1.1 in /web3.js ( #24781 )
...
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
---
updated-dependencies:
- dependency-name: "@types/mocha"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 18:53:11 +08: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] <[email protected] >
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
steveluscher
7b5aee7576
chore: update web3.js lockfiles
2022-04-27 11:43:57 -07:00
Steven Luscher
442e6c325f
fix: eliminate circular dependencies in web3.js ( #24729 )
...
* chore: enable circular dependency warnings on build
* fix: eliminate circular dependencies in web3.js
2022-04-27 11:41:14 -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
Steven Luscher
0e3056f265
chore: leave no-undef checking up to TypeScript ( #24726 )
2022-04-27 09:31:57 -07:00
Steven Luscher
2be4ee3619
test: increase timeout for getEstimatedFee test ( #24732 )
2022-04-26 23:54:56 -07:00
Phil Chen
6bbfef7069
feat: add support for compute budget instructions ( #24086 )
...
* Add ComputeBudgetInstruction to web3 sdk
* Prettier fix
* Rename to ComputeBudgetProgram and enable tests
Co-authored-by: Justin Starry <[email protected] >
2022-04-26 23:58:32 +08:00
yihau
356bda272b
fix(ci): missing web3 lib
2022-04-26 23:46:14 +08:00
yihau
08bb98450f
chore(ci): remove unnecessary job
2022-04-26 17:49:05 +08:00
yihau
adcfdfa469
chore(ci): trigger github release after semantic-release
2022-04-26 17:30:53 +08:00
yihau
8ba003aa76
feat(ci): remove --dry-run
2022-04-26 14:52:58 +08:00
yihau
cddf3fc10f
fix(ci): install missing module
2022-04-26 14:01:34 +08:00
steveluscher
7791319374
chore: re-re-repair web3.js typegen
2022-04-25 21:34:58 -07:00
steveluscher
674c0d7602
fix: downgrade multiple unsubscribes from fatal to warning
2022-04-25 11:50:47 -07:00
Brennan Gebotys
0b93de9bd5
feat: implement getTransactions ( #23633 )
...
implement getTransactions which retrieves multiple transaction responses in a single RPC call
Co-authored-by: obiwan <[email protected] >
2022-04-25 21:46:33 +08:00
Kartik Soneji
758fcd383d
feat: allow PublicKey.isOnCurve to accept PublicKeyInitData ( #24602 )
2022-04-25 20:42:41 +08:00
Yihau Chen
70d57245b4
fix(ci): mv web3.js/.github/cicd.yml web3.js/.github/workflows/cicd.yml ( #24636 )
2022-04-25 19:26:33 +08:00
Yihau Chen
713f6ebf47
feat(ci): mirgrate web3.js travis job to github action ( #24635 )
...
* feat(ci): mirgrate web3.js travis job to github action
* feat(ci): dry-run semantic-release
2022-04-25 19:09:27 +08:00
steveluscher
7dcc463d5a
chore: yarn type:gen now works on all platforms without hacks
2022-04-21 16:21:16 -07:00
steveluscher
6f56b4d8ec
chore: repair type:gen command in OS X and other non-GNU sed environments
2022-04-20 10:32:04 -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] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 19:29:57 +00:00
dependabot[bot]
7876529ecc
chore: bump @babel/core from 7.17.8 to 7.17.9 in /web3.js ( #24495 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.17.8 to 7.17.9.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.17.9/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 19:18:34 +00:00
dependabot[bot]
4f8b720262
chore: bump @types/chai from 4.3.0 to 4.3.1 in /web3.js ( #24491 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
---
updated-dependencies:
- dependency-name: "@types/chai"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 17:48:52 +00:00
dependabot[bot]
7604f7e995
chore: bump @rollup/plugin-node-resolve in /web3.js ( #24490 )
...
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve ) from 13.1.3 to 13.2.1.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v13.2.1/packages/node-resolve )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 17:38:03 +00:00
dependabot[bot]
d4f82272cc
chore: bump prettier from 2.6.1 to 2.6.2 in /web3.js ( #24433 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.6.1...2.6.2 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-20 01:22:55 +08:00
Justin Starry
2ad1baa753
Add const fn StakeState::size_of and static assertion ( #24416 )
2022-04-20 01:04:12 +08:00
Justin Starry
7ba419e5d5
fix: allow signing a populated transaction ( #24475 )
2022-04-20 01:03:37 +08:00
Yang Li
a6742b5838
fix: remove async for createProgramAddress and findProgramAddress (#2… ( #23185 )
...
* fix: remove async for createProgramAddress and findProgramAddress (#23184 )
make sync
* test: add test to ensure backwards compatibility
2022-04-18 16:17:00 +02: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] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 08:12:09 +00:00
Jordan Sexton
21dacefbee
fix: transactions populated from RPC requests retain original account key order ( #23720 )
...
* fix: transaction populate
* chore: web3: fix tx serialization test
* chore: web3: run prettier
* fix: web3: transaction populate
* fix: web3: handle nonce info
* add hash calc config.use_write_cache (#24005 )
* restore existing overlapping overflow (#24010 )
* Stringify populated transaction fields
* fix: web3: compare stringified JSON
* chore: web3: remove eslint indent rule that conflicts with prettier
* fix: web3: explicitly call toJSON
* fix: web3: add test for compileMessage
* fix: web3: make JSON internal
* fix: web3: connection simulation from message relies on mutating transaction
Co-authored-by: Jeff Washington (jwash) <[email protected] >
Co-authored-by: Jack May <[email protected] >
Co-authored-by: Justin Starry <[email protected] >
2022-04-16 14:28:57 -05:00
Elliott W
6e03e0e987
feat: support overriding fetch function in Connection ( #24367 )
...
Co-authored-by: elliott-home-pc <[email protected] >
2022-04-16 14:49:31 +08:00
Justin Starry
7c45d94ccc
feat: remove flow type generation ( #24380 )
2022-04-16 08:12:29 +08:00
dependabot[bot]
052c64b01a
chore: bump async from 2.6.3 to 2.6.4 in /web3.js ( #24379 )
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-15 08:41:12 +00:00
Justin Starry
e13efa0883
fix: do not modify transaction during simulation
2022-04-13 15:22:35 -07:00
David Mohl
d8c45a69c3
fix: don't override a transaction's recentBlockhash when calling simulate if it's already set ( #24280 )
...
* Update simulate to add blockhash if not exist
Simulate has been overriding the recentBlockhash of the passed
Transaction which can be considered destructive and with side effects.
Since the purpose of this function is to purely simulate, it should not
override recentBlockhash if it has already been set
Refs https://github.com/solana-labs/solana/issues/24279
* Apply prettier
2022-04-13 10:15:50 +08:00
steveluscher
1882434c69
test: add test for signature notifications
2022-04-09 19:43:15 -07:00
steveluscher
21a64db140
test: refactor notification tests on the basis of promises rather than polling
2022-04-09 19:43:15 -07:00
steveluscher
db50893fa1
test: reenable account change subscription test
2022-04-09 19:43:15 -07:00
steveluscher
35ee38b0f1
test: reenable log subscription test
2022-04-09 19:43:15 -07:00
steveluscher
4dd3987451
Reset onLogs subscriptions when websocket disconnects
2022-04-07 15:45:35 -07:00
Bryon M
04158ee455
fix: stop logging to console when send tx fails ( #23511 )
...
There is no need to log the error to the console. Developers can simply catch the error and handle it themselves without it cluttering production logs.
2022-04-04 19:11:20 +08:00
dependabot[bot]
2a5764ef79
chore: bump @rollup/plugin-commonjs from 21.0.2 to 21.0.3 in /web3.js ( #23962 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs ) from 21.0.2 to 21.0.3.
- [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-v21.0.3/packages/commonjs )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 08:16:45 +00:00
stellaw1
c08cfafd6c
feat: adds getBlockProduction RPC call
2022-03-26 18:31:40 -07:00
steveluscher
9cf7720922
fix: when there is no instruction index, default to the current instruction by supplying u16:MAX
2022-03-24 22:55:52 -07:00
steveluscher
c73cdfd6ce
fix: add TypeScript buffer type to nonce-account.ts
2022-03-24 22:55:52 -07:00
steveluscher
477355df3b
fix: add TypeScript buffer type to stake-program.ts
2022-03-24 22:55:52 -07:00
steveluscher
6686b7c534
fix: add TypeScript buffer type to message.ts
2022-03-24 22:55:52 -07:00
steveluscher
741c85ca7c
fix: add TypeScript buffer type to loader.ts
2022-03-24 22:55:52 -07:00
steveluscher
6bb02cdcc1
fix: add TypeScript buffer type to secp256k1-program.ts
2022-03-24 22:55:52 -07:00
steveluscher
96361295aa
fix: add TypeScript buffer type to ed25519-program.ts
2022-03-24 22:55:52 -07:00
steveluscher
3333f37e88
fix: add TypeScript buffer type to vote-account.ts
2022-03-24 22:55:52 -07:00
steveluscher
b2f2a68b86
fix: fix spelling of timestamp in BlockTimestamp type
2022-03-24 22:55:52 -07:00
steveluscher
c227b8ca4d
fix: add TypeScript buffer type to vote-program.ts
2022-03-24 22:55:52 -07:00
steveluscher
607a5c05de
fix: add TypeScript buffer type to system-program.ts
2022-03-24 22:55:52 -07:00
steveluscher
807f88e547
fix: add TypeScript types to the rustString buffer layout helper
2022-03-24 22:55:52 -07:00
steveluscher
d34fe3dba3
fix: add TypeScript buffer type to layout.ts
2022-03-24 22:55:52 -07:00
steveluscher
b516a25132
fix: add TypeScript buffer type to instruction.ts
2022-03-24 22:55:52 -07:00
steveluscher
023fc028bc
chore: Upgrade buffer-layout to v4.0.0
2022-03-24 22:55:52 -07:00
Steven Luscher
412d9be445
fix: repair web3 connection tests by making fewer assumptions about the existence of particular blocks ( #23921 )
...
* fix: repair 'get confirmed signatures for address' test in web3.js
* fix: repair 'get signatures for address' test in web3.js
* fix: repair 'get parsed confirmed transactions' test in web3.js
* fix: repair 'get transaction' test in web3.js
* fix: repair 'get confirmed transaction' test in web3.js
* fix: repair 'get block' test in web3.js
* fix: repair 'get confirmed block' test in web3.js
* fix: repair 'get block signatures' test in web3.js
* fix: repair 'get block time' test in web3.js
Co-authored-by: steveluscher <[email protected] >
2022-03-24 22:21:14 -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
Sammy
26da64184a
feat(web3.js): expose rpcEndpoint in client for web3.js ( #23719 )
...
Adds a getter to the commitment class to expose the rpcEndpoint property.
2022-03-23 11:05:37 -07:00