Commit Graph

2209 Commits

Author SHA1 Message Date
Steven Luscher 526001557d
chore: update `tweetnacl` dependency to 1.0.3 explicitly (#26907) 2022-08-03 10:52:03 -07:00
Steven Luscher 00ce805788
chore: Update web3.js README to ask that contributions and issues regarding web3.js be filed against the monorepo and not the mirror 2022-07-31 21:12:59 -07:00
Steven Luscher f4100f621f
fix: (web3.js) clear the idle timer whenever the websocket closes (#26734)
fix: clear the idle timer whenever the websocket closes
2022-07-24 21:56:03 -07:00
Athar Mohammad ce337e009d
feat(web3.js): add support for get stake minimum delegation (#26682) 2022-07-22 01:02:49 -07:00
steveluscher b9001a947a fix: add `maxSupportedTransactionVersion` config to remaining `getTransaction` calls 2022-07-22 08:02:28 +00:00
Steven Luscher c971c61dfb
feat: add `maxSupportedTransactionVersion` option to `getBlock` and `getTransaction` (#26726) 2022-07-21 21:02:05 -07:00
dependabot[bot] 91c12d9104
chore: bump terser from 5.12.1 to 5.14.2 in /web3.js (#26702)
Bumps [terser](https://github.com/terser/terser) from 5.12.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 17:51:17 +00:00
Antematter e3c9c58032
feat: added web3 bindings for Address Lookup Table Program instructions (#26469)
* feat: added web3 bindings for Address Lookup Table Program

* fix: refactoring + addresses PR comments

* fix: typos fixed and minor refactoring

* add lookup table instruction decoding support + fixes recent slot serialization bug

* export lookup table program

* linting

* fix: type annotations

* add tests cases for address lookup table program

* fix: alloc encoding buffer properly for seq layouts

* fix: typedoc issue

Co-authored-by: Antematter <[email protected]>
Co-authored-by: Muhammad Saad <[email protected]>
Co-authored-by: Justin Starry <[email protected]>
2022-07-13 20:19:51 +01:00
Steven Luscher 817402123f
fix: fork `URL` and `fetch` for React Native in web3.js (#26604) 2022-07-12 21:41:33 -07:00
Athar Mohammad d0d3ad7166
Support for returnData in simulate transaction (#26499)
feat(web3.js): add Support for returnData in simulate transaction
2022-07-12 14:07:17 +02:00
Justin Starry 0de0d4625e
chore: remove web3 examples (#26515) 2022-07-08 23:14:38 +01:00
Mike MacCana 6d7a569087
chore: make documentation and examples more prominent in README (#26498)
* Make documentation and examples more prominent in README

There's a lot more documentation to this library than many users would see looking at the current README

- Make a dedicated 'Documentation and examples' heading
- Bring the Solana Cookbook (which has more examples than all the other documentation listed in the README) to the top 
- Mention the examples higher up in the README

* Update web3.js/README.md

* Update web3.js/README.md
2022-07-08 22:00:33 +01:00
steveluscher 627d91fb20 chore: move `checkBlockHeight` into block where it's used 2022-07-02 13:15:50 -07:00
steveluscher 6f6e5172d3 fix: ingest only the relevant properties when constructing `Transactions` 2022-07-02 13:15:50 -07:00
steveluscher 6b82235fab fix: a much simpler way to prevent getRecentPerformanceSamples from sending a commitment 2022-07-01 22:34:30 -07:00
steveluscher b1f8baf6ad test: maybe don't disable all the web3.js tests 2022-07-01 22:31:02 -07:00
steveluscher e24b64dd71 fix: `getPerformanceSamples` no longer breaks when the connection has a default commitment 2022-07-02 05:29:41 +00:00
Mark Daniel 3fcdc45092
fix: web3.js; maxRetries no longer stripped when zero (#26345)
Co-authored-by: Mark D <[email protected]>
2022-06-30 23:20:22 -07:00
Steven Luscher e17ed6b2b9
feat: web3.js RPC errors now hold the error `code` and `data` on the error object (#26318)
feat: web3.js RPC errors now hold the error code on the error object
2022-06-30 13:08:10 -07:00
Steven Luscher f57f228126
feat: add `minContextSlot` configuration to (almost) all web3.js methods (#26296)
* feat: add `minContextSlot` config to `getAccountInfo`

* feat: add `minContextSlot` config to `getBalance`

* feat: add `minContextSlot` config to `getBlockHeight``

* feat: add `minContextSlot` config to `getEpochInfo`

* feat: add `minContextSlot` config to `getInflationReward`

* feat: add `minContextSlot` config to `getLatestBlockhash`

* feat: add `minContextSlot` config to `getMultipleAccounts`

* feat: add `minContextSlot` config to `getProgramAccounts`

* feat: add `minContextSlot` config to `getSignaturesForAddress`

* feat: add `minContextSlot` config to `getSlot`

* feat: add `minContextSlot` config to `getSlotLeader`

* feat: add `minContextSlot` config to `getStakeActivation`

* feat: add `minContextSlot` config to `getTokenAccountsByOwner`

* feat: add `minContextSlot` config to `getTransactionCount`

* feat: add `minContextSlot` config to `sendTransaction`
2022-06-29 09:22:34 -07:00
steveluscher eb12983785 feat: add custom version HTTP header string to RPC requests 2022-06-29 06:59:44 +00: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
Steven Luscher a741eddf7d
fix: always use the nonce as the recent blockhash; never overwrite it (#25829) 2022-06-26 19:01:54 -07:00
Steven Luscher 19eea3a741
chore: fix types of `RpcRequest` and `RpcBatchRequest` (#26102) 2022-06-21 14:48:44 -07:00
Kunal Desai aea84e699c
fix: `getTransactions()` now returns the expected datatype (#26099) 2022-06-21 10:31:42 -07:00
steveluscher 62ff54d04e fix: export custom transaction confirmation error classes 2022-06-17 15:57:52 +00:00
behzad nouri b4190319a1
feat(nonce): adds system instruction to upgrade legacy nonce versions (#25789)
https://github.com/solana-labs/solana/pull/25788
permanently disables durable transactions with legacy nonce versions
which are within chain blockhash domain.

This commit adds a new system instruction for a one-time idempotent
upgrade of legacy nonce accounts in order to bump them out of chain
blockhash domain.
2022-06-10 00:04:29 +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] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 08:18:26 +00:00
steveluscher 48d034b69d fix: alias `TransactionCtorFields_DEPRECATED` back to the way it was for back-compat 2022-06-07 09:58:19 -07:00
steveluscher 0ae5893379 fix: repair sort order of pubkeys when compiling messages 2022-06-04 16:09:08 -07:00
dependabot[bot] dcc0e6199f
chore: bump semver-regex from 3.1.3 to 3.1.4 in /web3.js (#25777)
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases)
- [Commits](https://github.com/sindresorhus/semver-regex/commits/v3.1.4)

---
updated-dependencies:
- dependency-name: semver-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-04 00:11:40 +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] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 10:21:33 +00:00
steveluscher 58092f746c fix: serializing transactions; sort that takes less time and memory 2022-05-30 16:37:50 -07:00
steveluscher 1727ca4371 test: massage tests from PR 25641 2022-05-30 11:40:30 -07:00
sudhir-b 20f169c0b0 fix: sort accountMetas after deduping 2022-05-30 11:40:01 -07:00
steveluscher da28badcaa fix: web3.js fork fetch for browsers 2022-05-26 14:40:18 -07:00
steveluscher 9f1b876c74 fix: correct the types of the fetch infra in web3.js 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] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-22 06:54:05 +00:00
dependabot[bot] 2de4b9f993
chore: bump @babel/preset-env from 7.16.11 to 7.18.0 in /web3.js (#25455)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.11 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-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  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-05-22 14:41:52 +08: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] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-22 04:46:38 +00:00
dependabot[bot] 2109d52e22
chore: bump @babel/core from 7.17.9 to 7.18.0 in /web3.js (#25453)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.17.9 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-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  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-05-22 04:41:00 +00:00
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