@solana/web3.js 1.95.1 → 1.95.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/web3.js",
3
- "version": "1.95.1",
3
+ "version": "1.95.3",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
@@ -44,18 +44,19 @@
44
44
  "clean": "rimraf ./doc ./declarations ./lib",
45
45
  "dev": "cross-env NODE_ENV=development rollup -c --watch",
46
46
  "prepublishOnly": "pnpm pkg delete devDependencies",
47
- "publish-packages-legacy": "semantic-release --repository-url git@github.com:solana-labs/solana-web3.js.git",
47
+ "publish-packages": "semantic-release --repository-url git@github.com:solana-labs/solana-web3.js.git",
48
48
  "test:lint": "eslint src/ test/ --ext .js,.ts",
49
49
  "test:lint:fix": "eslint src/ test/ --fix --ext .js,.ts",
50
- "test:live": "TEST_LIVE=1 pnpm run test:unit:node",
51
- "test:live-with-test-validator": "start-server-and-test '../../scripts/start-shared-test-validator.sh' http://127.0.0.1:8899/health test:live",
50
+ "test:live": "TEST_LIVE=1 pnpm run test:unit",
51
+ "test:live-with-test-validator": "start-server-and-test './scripts/start-shared-test-validator.sh' http://127.0.0.1:8899/health test:live",
52
+ "test:live-with-test-validator:setup": "./scripts/setup-test-validator.sh",
52
53
  "test:prettier": "prettier --check '{,{src,test}/**/}*.{j,t}s'",
53
54
  "test:prettier:fix": "pnpm prettier --write '{,{src,test}/**/}*.{j,t}s'",
54
55
  "test:typecheck": "tsc --noEmit",
55
- "test:unit:node": "cross-env NODE_ENV=test NODE_OPTIONS='--import tsx' mocha './test/**/*.test.ts'"
56
+ "test:unit": "cross-env NODE_ENV=test NODE_OPTIONS='--import tsx' mocha './test/**/*.test.ts'"
56
57
  },
57
58
  "dependencies": {
58
- "@babel/runtime": "^7.24.8",
59
+ "@babel/runtime": "^7.25.0",
59
60
  "@noble/curves": "^1.4.2",
60
61
  "@noble/hashes": "^1.4.0",
61
62
  "@solana/buffer-layout": "^4.0.1",
@@ -860,7 +860,7 @@ export class SystemProgram {
860
860
  {pubkey: params.fromPubkey, isSigner: true, isWritable: true},
861
861
  {pubkey: params.newAccountPubkey, isSigner: false, isWritable: true},
862
862
  ];
863
- if (params.basePubkey != params.fromPubkey) {
863
+ if (!params.basePubkey.equals(params.fromPubkey)) {
864
864
  keys.push({
865
865
  pubkey: params.basePubkey,
866
866
  isSigner: true,