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