@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.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 complete, signed Transaction
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.70.4") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
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