@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.
package/lib/index.cjs.js CHANGED
@@ -4365,7 +4365,8 @@ const ParsedConfirmedTransactionResult = superstruct.type({
4365
4365
  accountKeys: superstruct.array(superstruct.type({
4366
4366
  pubkey: PublicKeyFromString,
4367
4367
  signer: superstruct.boolean(),
4368
- writable: superstruct.boolean()
4368
+ writable: superstruct.boolean(),
4369
+ source: superstruct.optional(superstruct.union([superstruct.literal('transaction'), superstruct.literal('lookupTable')]))
4369
4370
  })),
4370
4371
  instructions: superstruct.array(ParsedOrRawInstruction),
4371
4372
  recentBlockhash: superstruct.string(),
@@ -7541,7 +7542,7 @@ class Keypair {
7541
7542
 
7542
7543
 
7543
7544
  get secretKey() {
7544
- return this._keypair.secretKey;
7545
+ return new Uint8Array(this._keypair.secretKey);
7545
7546
  }
7546
7547
 
7547
7548
  }