sbtc-bridge-lib
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -5,2 +5,3 @@ export declare const MAGIC_BYTES_TESTNET = "5432"; | ||
export declare const PEGOUT_OPCODE = "3E"; | ||
export declare const privKey: Uint8Array; | ||
/** | ||
@@ -7,0 +8,0 @@ * @deprecated - maybe not needed with op_drop as the users wallet calculates |
@@ -11,3 +11,3 @@ import * as secp from '@noble/secp256k1'; | ||
export const PEGOUT_OPCODE = '3E'; | ||
const privKey = hex.decode('0101010101010101010101010101010101010101010101010101010101010101'); | ||
export const privKey = hex.decode('0101010101010101010101010101010101010101010101010101010101010101'); | ||
const priv = secp.utils.randomPrivateKey(); | ||
@@ -14,0 +14,0 @@ const keySetForFeeCalculation = []; |
{ | ||
"name": "sbtc-bridge-lib", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Library for sBTC Bridge web client and API apps ", | ||
@@ -10,2 +10,3 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"test": "vitest", | ||
@@ -12,0 +13,0 @@ "watch": "vitest watch" |
@@ -14,3 +14,3 @@ import * as secp from '@noble/secp256k1'; | ||
const privKey = hex.decode('0101010101010101010101010101010101010101010101010101010101010101'); | ||
export const privKey = hex.decode('0101010101010101010101010101010101010101010101010101010101010101'); | ||
@@ -17,0 +17,0 @@ const priv = secp.utils.randomPrivateKey() |
@@ -7,2 +7,3 @@ { | ||
"declaration": true, | ||
"esModuleInterop": true, | ||
"outDir": "./dist" | ||
@@ -9,0 +10,0 @@ }, |
1477
60287
24