@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.browser.cjs.js
CHANGED
|
@@ -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
|
}
|