@solana/web3.js 1.59.2 → 1.60.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.d.ts CHANGED
@@ -2432,6 +2432,8 @@ declare module '@solana/web3.js' {
2432
2432
  signer: boolean;
2433
2433
  /** Indicates if the account is writable for this transaction */
2434
2434
  writable: boolean;
2435
+ /** Indicates if the account key came from the transaction or a lookup table */
2436
+ source?: 'transaction' | 'lookupTable';
2435
2437
  };
2436
2438
  /**
2437
2439
  * A parsed transaction instruction
package/lib/index.esm.js CHANGED
@@ -4357,7 +4357,8 @@ const ParsedConfirmedTransactionResult = type({
4357
4357
  accountKeys: array(type({
4358
4358
  pubkey: PublicKeyFromString,
4359
4359
  signer: boolean(),
4360
- writable: boolean()
4360
+ writable: boolean(),
4361
+ source: optional(union([literal('transaction'), literal('lookupTable')]))
4361
4362
  })),
4362
4363
  instructions: array(ParsedOrRawInstruction),
4363
4364
  recentBlockhash: string(),
@@ -4573,7 +4574,7 @@ const LogsNotificationResult = type({
4573
4574
 
4574
4575
  /** @internal */
4575
4576
  const COMMON_HTTP_HEADERS = {
4576
- 'solana-client': `js/${(_process$env$npm_pack = "1.59.2") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
4577
+ 'solana-client': `js/${(_process$env$npm_pack = "1.60.1") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
4577
4578
  };
4578
4579
  /**
4579
4580
  * A connection to a fullnode JSON RPC endpoint
@@ -7533,7 +7534,7 @@ class Keypair {
7533
7534
 
7534
7535
 
7535
7536
  get secretKey() {
7536
- return this._keypair.secretKey;
7537
+ return new Uint8Array(this._keypair.secretKey);
7537
7538
  }
7538
7539
 
7539
7540
  }