@solana/web3.js 2.0.0-rc.2 → 2.0.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,5 @@
1
1
  [![npm][npm-image]][npm-url]
2
2
  [![npm-downloads][npm-downloads-image]][npm-url]
3
- [![semantic-release][semantic-release-image]][semantic-release-url]
4
3
  <br />
5
4
  [![code-style-prettier][code-style-prettier-image]][code-style-prettier-url]
6
5
 
@@ -9,8 +8,6 @@
9
8
  [npm-downloads-image]: https://img.shields.io/npm/dm/@solana/web3.js/rc.svg?style=flat
10
9
  [npm-image]: https://img.shields.io/npm/v/@solana/web3.js/rc.svg?style=flat
11
10
  [npm-url]: https://www.npmjs.com/package/@solana/web3.js/v/rc
12
- [semantic-release-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
13
- [semantic-release-url]: https://github.com/semantic-release/semantic-release
14
11
 
15
12
  # @solana/web3.js
16
13
 
@@ -3301,11 +3301,11 @@ this.globalThis.solanaWeb3 = (function (exports) {
3301
3301
  function isBigIntValueObject(value) {
3302
3302
  return !!value && typeof value === "object" && "$n" in value && typeof value.$n === "string";
3303
3303
  }
3304
- var _nextMessageId = 0;
3304
+ var _nextMessageId = 0n;
3305
3305
  function getNextMessageId() {
3306
3306
  const id = _nextMessageId;
3307
- _nextMessageId = (_nextMessageId + 1) % Number.MAX_SAFE_INTEGER;
3308
- return id;
3307
+ _nextMessageId++;
3308
+ return id.toString();
3309
3309
  }
3310
3310
  function createRpcMessage(request) {
3311
3311
  return {
@@ -4186,7 +4186,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
4186
4186
  ...config.headers ? normalizeHeaders2(config.headers) : void 0,
4187
4187
  ...{
4188
4188
  // Keep these headers lowercase so they will override any user-supplied headers above.
4189
- "solana-client": `js/${"2.0.0-rc.2"}`
4189
+ "solana-client": `js/${"2.0.0-rc.3"}`
4190
4190
  }
4191
4191
  }
4192
4192
  }),