@solana/web3.js 1.59.2 → 1.60.1
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 +4 -3
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +4 -3
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +4 -3
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.esm.js +4 -3
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +4 -3
- 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 +4 -3
- 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.esm.js
CHANGED
|
@@ -4294,7 +4294,8 @@ const ParsedConfirmedTransactionResult = type({
|
|
|
4294
4294
|
accountKeys: array(type({
|
|
4295
4295
|
pubkey: PublicKeyFromString,
|
|
4296
4296
|
signer: boolean(),
|
|
4297
|
-
writable: boolean()
|
|
4297
|
+
writable: boolean(),
|
|
4298
|
+
source: optional(union([literal('transaction'), literal('lookupTable')]))
|
|
4298
4299
|
})),
|
|
4299
4300
|
instructions: array(ParsedOrRawInstruction),
|
|
4300
4301
|
recentBlockhash: string(),
|
|
@@ -4510,7 +4511,7 @@ const LogsNotificationResult = type({
|
|
|
4510
4511
|
|
|
4511
4512
|
/** @internal */
|
|
4512
4513
|
const COMMON_HTTP_HEADERS = {
|
|
4513
|
-
'solana-client': `js/${(_process$env$npm_pack = "1.
|
|
4514
|
+
'solana-client': `js/${(_process$env$npm_pack = "1.60.1") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
|
|
4514
4515
|
};
|
|
4515
4516
|
/**
|
|
4516
4517
|
* A connection to a fullnode JSON RPC endpoint
|
|
@@ -7470,7 +7471,7 @@ class Keypair {
|
|
|
7470
7471
|
|
|
7471
7472
|
|
|
7472
7473
|
get secretKey() {
|
|
7473
|
-
return this._keypair.secretKey;
|
|
7474
|
+
return new Uint8Array(this._keypair.secretKey);
|
|
7474
7475
|
}
|
|
7475
7476
|
|
|
7476
7477
|
}
|