@btc-vision/transaction 1.1.9 → 1.1.10

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.1.9";
1
+ export declare const version = "1.1.10";
package/build/_version.js CHANGED
@@ -1 +1 @@
1
- export const version = '1.1.9';
1
+ export const version = '1.1.10';
@@ -131,9 +131,6 @@ export class Address extends Uint8Array {
131
131
  return EcKeyPair.getLegacySegwitAddress(this.keyPair, network);
132
132
  }
133
133
  toString() {
134
- if (__classPrivateFieldGet(this, _Address_p2tr, "f")) {
135
- return __classPrivateFieldGet(this, _Address_p2tr, "f");
136
- }
137
134
  return this.toHex();
138
135
  }
139
136
  p2tr(network) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@btc-vision/transaction",
3
3
  "type": "module",
4
- "version": "1.1.9",
4
+ "version": "1.1.10",
5
5
  "author": "BlobMaster41",
6
6
  "description": "OPNet transaction library allows you to create and sign transactions for the OPNet network.",
7
7
  "engines": {
package/src/_version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '1.1.9';
1
+ export const version = '1.1.10';
@@ -184,7 +184,7 @@ export class Address extends Uint8Array {
184
184
  const tweakedBytes = toXOnly(
185
185
  EcKeyPair.tweakPublicKey(Buffer.from(this.#originalPublicKey)),
186
186
  );
187
-
187
+
188
188
  super.set(tweakedBytes);
189
189
  }
190
190
  }
@@ -226,10 +226,6 @@ export class Address extends Uint8Array {
226
226
  * Convert the address to a string
227
227
  */
228
228
  public toString(): string {
229
- if (this.#p2tr) {
230
- return this.#p2tr;
231
- }
232
-
233
229
  return this.toHex();
234
230
  }
235
231