@btc-vision/transaction 1.7.10 → 1.7.11

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.
@@ -1 +1 @@
1
- export declare const version = "1.7.10";
1
+ export declare const version = "1.7.11";
package/build/_version.js CHANGED
@@ -1 +1 @@
1
- export const version = '1.7.10';
1
+ export const version = '1.7.11';
@@ -16,7 +16,6 @@ export var CSVModes;
16
16
  CSVModes[CSVModes["BLOCKS"] = 0] = "BLOCKS";
17
17
  CSVModes[CSVModes["TIMESTAMPS"] = 1] = "TIMESTAMPS";
18
18
  })(CSVModes || (CSVModes = {}));
19
- const CSV_ENABLED_BLOCKS_MASK = 0x3fffffff;
20
19
  export class TweakedTransaction extends Logger {
21
20
  constructor(data) {
22
21
  super();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@btc-vision/transaction",
3
3
  "type": "module",
4
- "version": "1.7.10",
4
+ "version": "1.7.11",
5
5
  "author": "BlobMaster41",
6
6
  "description": "OPNet transaction library allows you to create and sign transactions for the OPNet network.",
7
7
  "engines": {
@@ -95,6 +95,7 @@
95
95
  "dependencies": {
96
96
  "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
97
97
  "@bitcoinerlab/secp256k1": "^1.2.0",
98
+ "@noble/curves": "^1.9.7",
98
99
  "@btc-vision/bip32": "^6.0.3",
99
100
  "@btc-vision/bitcoin": "^6.4.11",
100
101
  "@btc-vision/bitcoin-rpc": "^1.0.5",
package/src/_version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '1.7.10';
1
+ export const version = '1.7.11';
@@ -59,7 +59,8 @@ export class DeterministicSet<T> {
59
59
  }
60
60
 
61
61
  private binarySearch(value: T): { found: boolean; index: number } {
62
- let left = 0, right = this.elements.length;
62
+ let left = 0,
63
+ right = this.elements.length;
63
64
 
64
65
  while (left < right) {
65
66
  const mid = Math.floor((left + right) / 2);
@@ -70,8 +70,6 @@ export enum CSVModes {
70
70
  TIMESTAMPS = 1,
71
71
  }
72
72
 
73
- const CSV_ENABLED_BLOCKS_MASK = 0x3fffffff;
74
-
75
73
  /**
76
74
  * @description PSBT Transaction processor.
77
75
  * */