@btc-vision/btc-runtime 1.10.1 → 1.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@btc-vision/btc-runtime",
3
- "version": "1.10.1",
3
+ "version": "1.10.3",
4
4
  "description": "Bitcoin Smart Contract Runtime",
5
5
  "main": "btc/index.ts",
6
6
  "scripts": {
@@ -15,7 +15,7 @@ export class StoredAddress {
15
15
  this.addressPointer = encodePointer(pointer, EMPTY_POINTER, true, 'StoredAddress');
16
16
  }
17
17
 
18
- private _value: Address = Address.dead();
18
+ private _value: Address = Address.zero();
19
19
 
20
20
  public get value(): Address {
21
21
  this.ensureValue();
@@ -34,7 +34,7 @@ export class StoredAddress {
34
34
  }
35
35
 
36
36
  public isDead(): bool {
37
- return eqUint(Address.dead(), this.value);
37
+ return eqUint(Address.zero(), this.value);
38
38
  }
39
39
 
40
40
  private ensureValue(): void {
@@ -44,7 +44,7 @@ export class ExtendedAddress extends Address {
44
44
  * The 32-byte tweaked Schnorr public key for taproot compatibility.
45
45
  * This key is used for P2TR address generation and Schnorr signature verification.
46
46
  */
47
- private readonly tweakedPublicKey: Uint8Array;
47
+ public readonly tweakedPublicKey: Uint8Array;
48
48
 
49
49
  /**
50
50
  * Creates a new ExtendedAddress instance.