@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.cjs.js
CHANGED
|
@@ -1892,12 +1892,14 @@ class Transaction {
|
|
|
1892
1892
|
this.signatures[index].signature = buffer.Buffer.from(signature);
|
|
1893
1893
|
}
|
|
1894
1894
|
/**
|
|
1895
|
-
* Verify signatures of a
|
|
1895
|
+
* Verify signatures of a Transaction
|
|
1896
|
+
* Optional parameter specifies if we're expecting a fully signed Transaction or a partially signed one.
|
|
1897
|
+
* If no boolean is provided, we expect a fully signed Transaction by default.
|
|
1896
1898
|
*/
|
|
1897
1899
|
|
|
1898
1900
|
|
|
1899
|
-
verifySignatures() {
|
|
1900
|
-
return this._verifySignatures(this.serializeMessage(), true);
|
|
1901
|
+
verifySignatures(requireAllSignatures) {
|
|
1902
|
+
return this._verifySignatures(this.serializeMessage(), requireAllSignatures === undefined ? true : requireAllSignatures);
|
|
1901
1903
|
}
|
|
1902
1904
|
/**
|
|
1903
1905
|
* @internal
|
|
@@ -4727,7 +4729,7 @@ const LogsNotificationResult = superstruct.type({
|
|
|
4727
4729
|
|
|
4728
4730
|
/** @internal */
|
|
4729
4731
|
const COMMON_HTTP_HEADERS = {
|
|
4730
|
-
'solana-client': `js/${(_process$env$npm_pack = "1.
|
|
4732
|
+
'solana-client': `js/${(_process$env$npm_pack = "1.71.1") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
|
|
4731
4733
|
};
|
|
4732
4734
|
/**
|
|
4733
4735
|
* A connection to a fullnode JSON RPC endpoint
|