@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.cjs.js
CHANGED
|
@@ -4390,7 +4390,8 @@ const ParsedConfirmedTransactionResult = superstruct.type({
|
|
|
4390
4390
|
accountKeys: superstruct.array(superstruct.type({
|
|
4391
4391
|
pubkey: PublicKeyFromString,
|
|
4392
4392
|
signer: superstruct.boolean(),
|
|
4393
|
-
writable: superstruct.boolean()
|
|
4393
|
+
writable: superstruct.boolean(),
|
|
4394
|
+
source: superstruct.optional(superstruct.union([superstruct.literal('transaction'), superstruct.literal('lookupTable')]))
|
|
4394
4395
|
})),
|
|
4395
4396
|
instructions: superstruct.array(ParsedOrRawInstruction),
|
|
4396
4397
|
recentBlockhash: superstruct.string(),
|
|
@@ -4606,7 +4607,7 @@ const LogsNotificationResult = superstruct.type({
|
|
|
4606
4607
|
|
|
4607
4608
|
/** @internal */
|
|
4608
4609
|
const COMMON_HTTP_HEADERS = {
|
|
4609
|
-
'solana-client': `js/${(_process$env$npm_pack = "1.
|
|
4610
|
+
'solana-client': `js/${(_process$env$npm_pack = "1.60.1") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
|
|
4610
4611
|
};
|
|
4611
4612
|
/**
|
|
4612
4613
|
* A connection to a fullnode JSON RPC endpoint
|
|
@@ -7566,7 +7567,7 @@ class Keypair {
|
|
|
7566
7567
|
|
|
7567
7568
|
|
|
7568
7569
|
get secretKey() {
|
|
7569
|
-
return this._keypair.secretKey;
|
|
7570
|
+
return new Uint8Array(this._keypair.secretKey);
|
|
7570
7571
|
}
|
|
7571
7572
|
|
|
7572
7573
|
}
|