@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/web3.js",
3
- "version": "1.70.4",
3
+ "version": "1.71.1",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
@@ -727,10 +727,15 @@ export class Transaction {
727
727
  }
728
728
 
729
729
  /**
730
- * Verify signatures of a complete, signed Transaction
731
- */
732
- verifySignatures(): boolean {
733
- return this._verifySignatures(this.serializeMessage(), true);
730
+ * Verify signatures of a Transaction
731
+ * Optional parameter specifies if we're expecting a fully signed Transaction or a partially signed one.
732
+ * If no boolean is provided, we expect a fully signed Transaction by default.
733
+ */
734
+ verifySignatures(requireAllSignatures?: boolean): boolean {
735
+ return this._verifySignatures(
736
+ this.serializeMessage(),
737
+ requireAllSignatures === undefined ? true : requireAllSignatures,
738
+ );
734
739
  }
735
740
 
736
741
  /**