sbtc-bridge-lib
Advanced tools
Comparing version 1.0.19 to 1.0.20
@@ -7,5 +7,5 @@ import { MAGIC_BYTES_TESTNET, MAGIC_BYTES_MAINNET, PEGIN_OPCODE, PEGOUT_OPCODE, parseDepositPayload, buildDepositPayload, buildWithdrawalPayload, parseWithdrawalPayload, amountToUint8, uint8ToAmount, getDataToSign, getStacksSimpleHashOfDataToSign, getStacksAddressFromSignature, parseSbtcWalletAddress, parseOutputs, readDepositValue, fromStorable, toStorable } from './payload_utils.js'; | ||
export { sbtcWallets, getTestAddresses, addressFromPubkey, }; | ||
import type { PeginRequestI, PeginScriptI, VoutI, PegInData, CommitKeysI, Message, SigData, SbtcContractDataI, AddressValidationI, SbtcBalance, UTXO, payloadType, withdrawalPayloadType, depositPayloadType, KeySet, WrappedPSBT, AddressObject, AddressMempoolObject, AddressHiroObject } from './types/sbtc_types.js'; | ||
export type { PeginRequestI, PeginScriptI, VoutI, PegInData, CommitKeysI, Message, SigData, SbtcContractDataI, AddressValidationI, SbtcBalance, UTXO, payloadType, withdrawalPayloadType, depositPayloadType, KeySet, WrappedPSBT, AddressObject, AddressMempoolObject, AddressHiroObject }; | ||
import type { PeginRequestI, PeginScriptI, VoutI, PegInData, CommitKeysI, Message, SigData, SbtcContractDataI, AddressValidationI, SbtcBalance, UTXO, payloadType, withdrawalPayloadType, depositPayloadType, KeySet, WrappedPSBT, StxSignature, AddressObject, AddressMempoolObject, AddressHiroObject } from './types/sbtc_types.js'; | ||
export type { PeginRequestI, PeginScriptI, VoutI, PegInData, CommitKeysI, Message, SigData, SbtcContractDataI, AddressValidationI, SbtcBalance, UTXO, payloadType, withdrawalPayloadType, depositPayloadType, KeySet, WrappedPSBT, StxSignature, AddressObject, AddressMempoolObject, AddressHiroObject }; | ||
import type { PoxInfo, StacksInfo, BlockchainInfo } from './types/pox_types.js'; | ||
export type { PoxInfo, StacksInfo, BlockchainInfo }; |
@@ -203,2 +203,7 @@ export type SigData = { | ||
}; | ||
export type StxSignature = { | ||
signature: string; | ||
publicKey: string; | ||
message: string; | ||
}; | ||
export type WrappedPSBT = { | ||
@@ -205,0 +210,0 @@ depositId: string; |
{ | ||
"name": "sbtc-bridge-lib", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "Library for sBTC Bridge web client and API apps ", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -77,2 +77,3 @@ import { | ||
WrappedPSBT, | ||
StxSignature, | ||
AddressObject, | ||
@@ -100,2 +101,3 @@ AddressMempoolObject, | ||
WrappedPSBT, | ||
StxSignature, | ||
AddressObject, | ||
@@ -102,0 +104,0 @@ AddressMempoolObject, |
@@ -204,2 +204,7 @@ export type SigData = { | ||
} | ||
export type StxSignature = { | ||
signature: string; | ||
publicKey: string; | ||
message: string; | ||
}; | ||
export type WrappedPSBT = { | ||
@@ -206,0 +211,0 @@ depositId: string; |
74666
1903