@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.
@@ -4324,7 +4324,8 @@ const ParsedConfirmedTransactionResult = superstruct.type({
4324
4324
  accountKeys: superstruct.array(superstruct.type({
4325
4325
  pubkey: PublicKeyFromString,
4326
4326
  signer: superstruct.boolean(),
4327
- writable: superstruct.boolean()
4327
+ writable: superstruct.boolean(),
4328
+ source: superstruct.optional(superstruct.union([superstruct.literal('transaction'), superstruct.literal('lookupTable')]))
4328
4329
  })),
4329
4330
  instructions: superstruct.array(ParsedOrRawInstruction),
4330
4331
  recentBlockhash: superstruct.string(),
@@ -4540,7 +4541,7 @@ const LogsNotificationResult = superstruct.type({
4540
4541
 
4541
4542
  /** @internal */
4542
4543
  const COMMON_HTTP_HEADERS = {
4543
- 'solana-client': `js/${(_process$env$npm_pack = "1.59.2") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
4544
+ 'solana-client': `js/${(_process$env$npm_pack = "1.60.1") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
4544
4545
  };
4545
4546
  /**
4546
4547
  * A connection to a fullnode JSON RPC endpoint
@@ -7500,7 +7501,7 @@ class Keypair {
7500
7501
 
7501
7502
 
7502
7503
  get secretKey() {
7503
- return this._keypair.secretKey;
7504
+ return new Uint8Array(this._keypair.secretKey);
7504
7505
  }
7505
7506
 
7506
7507
  }