@solana/web3.js 1.70.3 → 1.71.0

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.
@@ -1866,12 +1866,14 @@ class Transaction {
1866
1866
  this.signatures[index].signature = buffer.Buffer.from(signature);
1867
1867
  }
1868
1868
  /**
1869
- * Verify signatures of a complete, signed Transaction
1869
+ * Verify signatures of a Transaction
1870
+ * Optional parameter specifies if we're expecting a fully signed Transaction or a partially signed one.
1871
+ * If no boolean is provided, we expect a fully signed Transaction by default.
1870
1872
  */
1871
1873
 
1872
1874
 
1873
- verifySignatures() {
1874
- return this._verifySignatures(this.serializeMessage(), true);
1875
+ verifySignatures(requireAllSignatures) {
1876
+ return this._verifySignatures(this.serializeMessage(), requireAllSignatures === undefined ? true : requireAllSignatures);
1875
1877
  }
1876
1878
  /**
1877
1879
  * @internal