@solana/web3.js 1.95.2 → 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/README.md +3 -14
- package/lib/index.browser.cjs.js +2 -2
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +2 -2
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +2 -2
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.esm.js +2 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +250 -155
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +5 -5
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +2 -2
- package/lib/index.native.js.map +1 -1
- package/package.json +7 -6
- package/src/programs/system.ts +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
[semantic-release-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
|
|
13
13
|
[semantic-release-url]: https://github.com/semantic-release/semantic-release
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
> [!NOTE] This is the maintenance branch for the 1.x line of `@solana/web3.js`. The current development branch can be found [here](https://github.com/solana-labs/solana-web3.js).
|
|
16
|
+
|
|
17
|
+
# Solana JavaScript SDK (v1.x)
|
|
16
18
|
|
|
17
19
|
Use this to interact with accounts and programs on the Solana network through the Solana [JSON RPC API](https://solana.com/docs/rpc).
|
|
18
20
|
|
|
@@ -96,19 +98,6 @@ $ cd packages/library-legacy
|
|
|
96
98
|
$ npm run test:live-with-test-validator
|
|
97
99
|
```
|
|
98
100
|
|
|
99
|
-
### Speed up build times with remote caching
|
|
100
|
-
|
|
101
|
-
Cache build artifacts remotely so that you, others, and the CI server can take advantage of each others' build efforts.
|
|
102
|
-
|
|
103
|
-
1. Log the Turborepo CLI into the Solana Vercel account
|
|
104
|
-
```shell
|
|
105
|
-
pnpm turbo login
|
|
106
|
-
```
|
|
107
|
-
2. Link the repository to the remote cache
|
|
108
|
-
```shell
|
|
109
|
-
pnpm turbo link
|
|
110
|
-
```
|
|
111
|
-
|
|
112
101
|
## Contributing
|
|
113
102
|
|
|
114
103
|
If you found a bug or would like to request a feature, please [file an issue](https://github.com/solana-labs/solana-web3.js/issues/new). If, based on the discussion on an issue you would like to offer a code change, please make a [pull request](https://github.com/solana-labs/solana-web3.js/compare). If neither of these describes what you would like to contribute, read the [getting help](#getting-help) section above.
|
package/lib/index.browser.cjs.js
CHANGED
|
@@ -2957,7 +2957,7 @@ class SystemProgram {
|
|
|
2957
2957
|
isSigner: false,
|
|
2958
2958
|
isWritable: true
|
|
2959
2959
|
}];
|
|
2960
|
-
if (params.basePubkey
|
|
2960
|
+
if (!params.basePubkey.equals(params.fromPubkey)) {
|
|
2961
2961
|
keys.push({
|
|
2962
2962
|
pubkey: params.basePubkey,
|
|
2963
2963
|
isSigner: true,
|
|
@@ -5230,7 +5230,7 @@ const LogsNotificationResult = superstruct.type({
|
|
|
5230
5230
|
|
|
5231
5231
|
/** @internal */
|
|
5232
5232
|
const COMMON_HTTP_HEADERS = {
|
|
5233
|
-
'solana-client': `js/${"
|
|
5233
|
+
'solana-client': `js/${"1.0.0-maintenance"}`
|
|
5234
5234
|
};
|
|
5235
5235
|
|
|
5236
5236
|
/**
|