@opcat-labs/opcat 1.0.2 → 1.0.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @opcat-labs/opcat
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - use standard psbt
8
+
3
9
  ## 1.0.2
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opcat-labs/opcat",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "opcat base SDK",
5
5
  "main": "./cjs/index.cjs",
6
6
  "module": "./esm/index.js",
@@ -596,7 +596,7 @@ declare class Transaction {
596
596
  * @param {boolean} [isLowS=false] - Whether to use low-S signatures.
597
597
  * @returns {*} The preimage for the specified input.
598
598
  */
599
- getPreimage(inputIndex: number, sigtype?: number, isLowS?: boolean): any;
599
+ getPreimage(inputIndex: number, sigtype?: number, isLowS?: boolean): Buffer;
600
600
  /**
601
601
  * Gets the signature(s) for a transaction input.
602
602
  * @param {number} inputIndex - Index of the input to sign.