@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.d.ts
CHANGED
|
@@ -1872,9 +1872,11 @@ declare module '@solana/web3.js' {
|
|
|
1872
1872
|
*/
|
|
1873
1873
|
addSignature(pubkey: PublicKey, signature: Buffer): void;
|
|
1874
1874
|
/**
|
|
1875
|
-
* Verify signatures of a
|
|
1875
|
+
* Verify signatures of a Transaction
|
|
1876
|
+
* Optional parameter specifies if we're expecting a fully signed Transaction or a partially signed one.
|
|
1877
|
+
* If no boolean is provided, we expect a fully signed Transaction by default.
|
|
1876
1878
|
*/
|
|
1877
|
-
verifySignatures(): boolean;
|
|
1879
|
+
verifySignatures(requireAllSignatures?: boolean): boolean;
|
|
1878
1880
|
/**
|
|
1879
1881
|
* Serialize the Transaction in the wire format.
|
|
1880
1882
|
*/
|
package/lib/index.esm.js
CHANGED
|
@@ -1870,12 +1870,14 @@ class Transaction {
|
|
|
1870
1870
|
this.signatures[index].signature = Buffer.from(signature);
|
|
1871
1871
|
}
|
|
1872
1872
|
/**
|
|
1873
|
-
* Verify signatures of a
|
|
1873
|
+
* Verify signatures of a Transaction
|
|
1874
|
+
* Optional parameter specifies if we're expecting a fully signed Transaction or a partially signed one.
|
|
1875
|
+
* If no boolean is provided, we expect a fully signed Transaction by default.
|
|
1874
1876
|
*/
|
|
1875
1877
|
|
|
1876
1878
|
|
|
1877
|
-
verifySignatures() {
|
|
1878
|
-
return this._verifySignatures(this.serializeMessage(), true);
|
|
1879
|
+
verifySignatures(requireAllSignatures) {
|
|
1880
|
+
return this._verifySignatures(this.serializeMessage(), requireAllSignatures === undefined ? true : requireAllSignatures);
|
|
1879
1881
|
}
|
|
1880
1882
|
/**
|
|
1881
1883
|
* @internal
|
|
@@ -7324,7 +7326,7 @@ const LogsNotificationResult = type({
|
|
|
7324
7326
|
|
|
7325
7327
|
/** @internal */
|
|
7326
7328
|
const COMMON_HTTP_HEADERS = {
|
|
7327
|
-
'solana-client': `js/${(_process$env$npm_pack = "1.
|
|
7329
|
+
'solana-client': `js/${(_process$env$npm_pack = "1.71.1") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
|
|
7328
7330
|
};
|
|
7329
7331
|
/**
|
|
7330
7332
|
* A connection to a fullnode JSON RPC endpoint
|