@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.browser.esm.js
CHANGED
|
@@ -1862,12 +1862,14 @@ class Transaction {
|
|
|
1862
1862
|
this.signatures[index].signature = Buffer.from(signature);
|
|
1863
1863
|
}
|
|
1864
1864
|
/**
|
|
1865
|
-
* Verify signatures of a
|
|
1865
|
+
* Verify signatures of a Transaction
|
|
1866
|
+
* Optional parameter specifies if we're expecting a fully signed Transaction or a partially signed one.
|
|
1867
|
+
* If no boolean is provided, we expect a fully signed Transaction by default.
|
|
1866
1868
|
*/
|
|
1867
1869
|
|
|
1868
1870
|
|
|
1869
|
-
verifySignatures() {
|
|
1870
|
-
return this._verifySignatures(this.serializeMessage(), true);
|
|
1871
|
+
verifySignatures(requireAllSignatures) {
|
|
1872
|
+
return this._verifySignatures(this.serializeMessage(), requireAllSignatures === undefined ? true : requireAllSignatures);
|
|
1871
1873
|
}
|
|
1872
1874
|
/**
|
|
1873
1875
|
* @internal
|
|
@@ -4697,7 +4699,7 @@ const LogsNotificationResult = type({
|
|
|
4697
4699
|
|
|
4698
4700
|
/** @internal */
|
|
4699
4701
|
const COMMON_HTTP_HEADERS = {
|
|
4700
|
-
'solana-client': `js/${(_process$env$npm_pack = "1.
|
|
4702
|
+
'solana-client': `js/${(_process$env$npm_pack = "1.71.1") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
|
|
4701
4703
|
};
|
|
4702
4704
|
/**
|
|
4703
4705
|
* A connection to a fullnode JSON RPC endpoint
|