@solana/web3.js 1.70.4 → 1.71.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 +6 -4
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +6 -4
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +6 -4
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +4 -2
- package/lib/index.esm.js +6 -4
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +6 -4
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +2 -2
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +6 -4
- package/lib/index.native.js.map +1 -1
- package/package.json +1 -1
- package/src/transaction/legacy.ts +9 -4
package/lib/index.cjs.js
CHANGED
|
@@ -1908,12 +1908,14 @@ class Transaction {
|
|
|
1908
1908
|
this.signatures[index].signature = buffer.Buffer.from(signature);
|
|
1909
1909
|
}
|
|
1910
1910
|
/**
|
|
1911
|
-
* Verify signatures of a
|
|
1911
|
+
* Verify signatures of a Transaction
|
|
1912
|
+
* Optional parameter specifies if we're expecting a fully signed Transaction or a partially signed one.
|
|
1913
|
+
* If no boolean is provided, we expect a fully signed Transaction by default.
|
|
1912
1914
|
*/
|
|
1913
1915
|
|
|
1914
1916
|
|
|
1915
|
-
verifySignatures() {
|
|
1916
|
-
return this._verifySignatures(this.serializeMessage(), true);
|
|
1917
|
+
verifySignatures(requireAllSignatures) {
|
|
1918
|
+
return this._verifySignatures(this.serializeMessage(), requireAllSignatures === undefined ? true : requireAllSignatures);
|
|
1917
1919
|
}
|
|
1918
1920
|
/**
|
|
1919
1921
|
* @internal
|
|
@@ -7362,7 +7364,7 @@ const LogsNotificationResult = superstruct.type({
|
|
|
7362
7364
|
|
|
7363
7365
|
/** @internal */
|
|
7364
7366
|
const COMMON_HTTP_HEADERS = {
|
|
7365
|
-
'solana-client': `js/${(_process$env$npm_pack = "1.
|
|
7367
|
+
'solana-client': `js/${(_process$env$npm_pack = "1.71.1") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
|
|
7366
7368
|
};
|
|
7367
7369
|
/**
|
|
7368
7370
|
* A connection to a fullnode JSON RPC endpoint
|