@solana/web3.js 1.59.1 → 1.60.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.
@@ -4299,7 +4299,8 @@ const ParsedConfirmedTransactionResult = superstruct.type({
4299
4299
  accountKeys: superstruct.array(superstruct.type({
4300
4300
  pubkey: PublicKeyFromString,
4301
4301
  signer: superstruct.boolean(),
4302
- writable: superstruct.boolean()
4302
+ writable: superstruct.boolean(),
4303
+ source: superstruct.optional(superstruct.union([superstruct.literal('transaction'), superstruct.literal('lookupTable')]))
4303
4304
  })),
4304
4305
  instructions: superstruct.array(ParsedOrRawInstruction),
4305
4306
  recentBlockhash: superstruct.string(),
@@ -7475,7 +7476,7 @@ class Keypair {
7475
7476
 
7476
7477
 
7477
7478
  get secretKey() {
7478
- return this._keypair.secretKey;
7479
+ return new Uint8Array(this._keypair.secretKey);
7479
7480
  }
7480
7481
 
7481
7482
  }