@solana/web3.js 1.64.1 → 1.65.1
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/lib/index.browser.cjs.js +3 -2
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +3 -2
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +3 -2
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +6 -1
- package/lib/index.esm.js +3 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +3 -2
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +3 -2
- package/lib/index.native.js.map +1 -1
- package/package.json +1 -1
- package/src/connection.ts +4 -0
- package/src/publickey.ts +2 -1
package/lib/index.d.ts
CHANGED
|
@@ -50,7 +50,8 @@ declare module '@solana/web3.js' {
|
|
|
50
50
|
*/
|
|
51
51
|
static unique(): PublicKey;
|
|
52
52
|
/**
|
|
53
|
-
* Default public key value. (
|
|
53
|
+
* Default public key value. The base58-encoded string representation is all ones (as seen below)
|
|
54
|
+
* The underlying BN number is 32 bytes that are all zeros
|
|
54
55
|
*/
|
|
55
56
|
static default: PublicKey;
|
|
56
57
|
/**
|
|
@@ -2025,6 +2026,8 @@ declare module '@solana/web3.js' {
|
|
|
2025
2026
|
commitment?: Commitment;
|
|
2026
2027
|
/** The minimum slot that the request can be evaluated at */
|
|
2027
2028
|
minContextSlot?: number;
|
|
2029
|
+
/** Optional data slice to limit the returned account data */
|
|
2030
|
+
dataSlice?: DataSlice;
|
|
2028
2031
|
};
|
|
2029
2032
|
/**
|
|
2030
2033
|
* Configuration object for changing `getBalance` query behavior
|
|
@@ -2906,6 +2909,8 @@ declare module '@solana/web3.js' {
|
|
|
2906
2909
|
commitment?: Commitment;
|
|
2907
2910
|
/** The minimum slot that the request can be evaluated at */
|
|
2908
2911
|
minContextSlot?: number;
|
|
2912
|
+
/** Optional data slice to limit the returned account data */
|
|
2913
|
+
dataSlice?: DataSlice;
|
|
2909
2914
|
};
|
|
2910
2915
|
/**
|
|
2911
2916
|
* Configuration object for `getStakeActivation`
|
package/lib/index.esm.js
CHANGED
|
@@ -166,7 +166,8 @@ class PublicKey extends Struct {
|
|
|
166
166
|
return new PublicKey(key.toBuffer());
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
* Default public key value. (
|
|
169
|
+
* Default public key value. The base58-encoded string representation is all ones (as seen below)
|
|
170
|
+
* The underlying BN number is 32 bytes that are all zeros
|
|
170
171
|
*/
|
|
171
172
|
|
|
172
173
|
|
|
@@ -4641,7 +4642,7 @@ const LogsNotificationResult = type({
|
|
|
4641
4642
|
|
|
4642
4643
|
/** @internal */
|
|
4643
4644
|
const COMMON_HTTP_HEADERS = {
|
|
4644
|
-
'solana-client': `js/${(_process$env$npm_pack = "1.
|
|
4645
|
+
'solana-client': `js/${(_process$env$npm_pack = "1.65.1") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
|
|
4645
4646
|
};
|
|
4646
4647
|
/**
|
|
4647
4648
|
* A connection to a fullnode JSON RPC endpoint
|