@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/web3.js",
3
- "version": "1.64.1",
3
+ "version": "1.65.1",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
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. (All zeros)
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