@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.d.ts
CHANGED
|
@@ -2432,6 +2432,8 @@ declare module '@solana/web3.js' {
|
|
|
2432
2432
|
signer: boolean;
|
|
2433
2433
|
/** Indicates if the account is writable for this transaction */
|
|
2434
2434
|
writable: boolean;
|
|
2435
|
+
/** Indicates if the account key came from the transaction or a lookup table */
|
|
2436
|
+
source?: 'transaction' | 'lookupTable';
|
|
2435
2437
|
};
|
|
2436
2438
|
/**
|
|
2437
2439
|
* A parsed transaction instruction
|
package/lib/index.esm.js
CHANGED
|
@@ -4332,7 +4332,8 @@ const ParsedConfirmedTransactionResult = type({
|
|
|
4332
4332
|
accountKeys: array(type({
|
|
4333
4333
|
pubkey: PublicKeyFromString,
|
|
4334
4334
|
signer: boolean(),
|
|
4335
|
-
writable: boolean()
|
|
4335
|
+
writable: boolean(),
|
|
4336
|
+
source: optional(union([literal('transaction'), literal('lookupTable')]))
|
|
4336
4337
|
})),
|
|
4337
4338
|
instructions: array(ParsedOrRawInstruction),
|
|
4338
4339
|
recentBlockhash: string(),
|
|
@@ -7508,7 +7509,7 @@ class Keypair {
|
|
|
7508
7509
|
|
|
7509
7510
|
|
|
7510
7511
|
get secretKey() {
|
|
7511
|
-
return this._keypair.secretKey;
|
|
7512
|
+
return new Uint8Array(this._keypair.secretKey);
|
|
7512
7513
|
}
|
|
7513
7514
|
|
|
7514
7515
|
}
|