@solana/web3.js 1.64.0 → 1.65.0
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 +2 -1
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +2 -1
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +2 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +6 -1
- package/lib/index.esm.js +2 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +2 -1
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +2 -1
- 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/package.json
CHANGED
package/src/connection.ts
CHANGED
|
@@ -470,6 +470,8 @@ export type GetAccountInfoConfig = {
|
|
|
470
470
|
commitment?: Commitment;
|
|
471
471
|
/** The minimum slot that the request can be evaluated at */
|
|
472
472
|
minContextSlot?: number;
|
|
473
|
+
/** Optional data slice to limit the returned account data */
|
|
474
|
+
dataSlice?: DataSlice;
|
|
473
475
|
};
|
|
474
476
|
|
|
475
477
|
/**
|
|
@@ -2396,6 +2398,8 @@ export type GetMultipleAccountsConfig = {
|
|
|
2396
2398
|
commitment?: Commitment;
|
|
2397
2399
|
/** The minimum slot that the request can be evaluated at */
|
|
2398
2400
|
minContextSlot?: number;
|
|
2401
|
+
/** Optional data slice to limit the returned account data */
|
|
2402
|
+
dataSlice?: DataSlice;
|
|
2399
2403
|
};
|
|
2400
2404
|
|
|
2401
2405
|
/**
|
package/src/publickey.ts
CHANGED
|
@@ -85,7 +85,8 @@ export class PublicKey extends Struct {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
* Default public key value. (
|
|
88
|
+
* Default public key value. The base58-encoded string representation is all ones (as seen below)
|
|
89
|
+
* The underlying BN number is 32 bytes that are all zeros
|
|
89
90
|
*/
|
|
90
91
|
static default: PublicKey = new PublicKey('11111111111111111111111111111111');
|
|
91
92
|
|