@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.
@@ -1836,12 +1836,14 @@ class Transaction {
1836
1836
  this.signatures[index].signature = Buffer.from(signature);
1837
1837
  }
1838
1838
  /**
1839
- * Verify signatures of a complete, signed Transaction
1839
+ * Verify signatures of a Transaction
1840
+ * Optional parameter specifies if we're expecting a fully signed Transaction or a partially signed one.
1841
+ * If no boolean is provided, we expect a fully signed Transaction by default.
1840
1842
  */
1841
1843
 
1842
1844
 
1843
- verifySignatures() {
1844
- return this._verifySignatures(this.serializeMessage(), true);
1845
+ verifySignatures(requireAllSignatures) {
1846
+ return this._verifySignatures(this.serializeMessage(), requireAllSignatures === undefined ? true : requireAllSignatures);
1845
1847
  }
1846
1848
  /**
1847
1849
  * @internal