@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.browser.cjs.js +3 -2
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +3 -2
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +3 -2
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.esm.js +3 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +3 -2
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +3 -2
- package/lib/index.native.js.map +1 -1
- package/package.json +1 -1
- package/src/connection.ts +5 -0
- package/src/keypair.ts +1 -1
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
|
}
|