@buildonspark/spark-sdk 0.2.10 → 0.2.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.
- package/CHANGELOG.md +9 -1
- package/dist/bare/chunk-P6AVV7VD.js +34 -0
- package/dist/bare/index.cjs +337 -271
- package/dist/bare/index.d.cts +15 -2
- package/dist/bare/index.d.ts +15 -2
- package/dist/bare/index.js +51 -42
- package/dist/bare/{wasm-OPXXYRN5.js → wasm-F5QFVBNZ.js} +26 -0
- package/dist/bare/{xhr-transport-6GYJAFWU.js → xhr-transport-EEEC7FYA.js} +2 -2
- package/dist/{chunk-MWBK6QBF.js → chunk-3WBPICWC.js} +1 -1
- package/dist/chunk-NX5KPN5F.js +34 -0
- package/dist/{chunk-JXLWOQK5.js → chunk-QNYJGFPD.js} +49 -41
- package/dist/debug.cjs +333 -268
- package/dist/debug.d.cts +5 -2
- package/dist/debug.d.ts +5 -2
- package/dist/debug.js +2 -1
- package/dist/index.cjs +386 -319
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -2
- package/dist/index.node.cjs +386 -319
- package/dist/index.node.d.cts +1 -1
- package/dist/index.node.d.ts +1 -1
- package/dist/index.node.js +7 -1
- package/dist/{xchain-address-CNQEwLjR.d.cts → logging-BOAzMqpM.d.cts} +15 -1
- package/dist/{xchain-address-BPwpnmuY.d.ts → logging-Bt_WdZbu.d.ts} +15 -1
- package/dist/native/chunk-D3SZRO65.js +36 -0
- package/dist/native/index.cjs +383 -316
- package/dist/native/index.d.cts +15 -2
- package/dist/native/index.d.ts +15 -2
- package/dist/native/index.js +143 -135
- package/dist/native/{wasm-2KV6XFEP.js → wasm-3YAXKQ7F.js} +25 -0
- package/dist/native/{xhr-transport-WHMS3FGG.js → xhr-transport-TNCG4HTW.js} +2 -2
- package/dist/spark_bindings/wasm/index.cjs +51 -0
- package/dist/spark_bindings/wasm/index.js +25 -0
- package/dist/tests/test-utils.cjs +229 -166
- package/dist/tests/test-utils.js +3 -2
- package/dist/{xhr-transport-RH6LDRXS.js → xhr-transport-IWJPYF7F.js} +2 -2
- package/package.json +1 -1
- package/src/services/deposit.ts +5 -1
- package/src/services/xhr-transport.ts +2 -2
- package/src/spark_bindings/wasm/index.ts +21 -0
- package/src/tests/integration/ssp/coop-exit-validation.test.ts +2 -2
- package/src/tests/integration/ssp/static_deposit.test.ts +0 -32
- package/src/tests/integration/watchtower.test.ts +2 -2
- package/src/utils/adaptor-signature.ts +11 -12
- package/src/utils/address.ts +10 -10
- package/src/utils/bitcoin.ts +6 -6
- package/src/utils/index.ts +1 -0
- package/src/utils/keys.ts +9 -9
- package/src/utils/logging.ts +40 -0
- package/src/utils/secret-sharing.ts +9 -11
package/dist/debug.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as Bech32mTokenIdentifier, r as Bech32mTokenIdentifierData, D as DecodedSparkAddressData, L as LRC_WALLET_NETWORK, N as Network, m as NetworkToProto, l as NetworkType, c as SparkAddressData, S as SparkAddressFormat, k as bech32mDecode, u as decodeBech32mTokenIdentifier, f as decodeSparkAddress, s as encodeBech32mTokenIdentifier, e as encodeSparkAddress, d as encodeSparkAddressWithSignature, n as getNetwork, o as getNetworkFromAddress, w as getNetworkFromBech32mTokenIdentifier, j as getNetworkFromSparkAddress, q as getNetworkFromString, g as isValidPublicKey, i as isValidSparkAddress, p as protoToNetwork, t as toProtoTimestamp, v as validateSparkInvoiceFields, h as validateSparkInvoiceSignature, H as SparkWallet, b as ConfigOptions } from './spark-wallet-yc2KhsVY.cjs';
|
|
2
|
-
import { ab as BroadcastConfig, ac as BroadcastResult, Q as DEFAULT_FEE_SATS, M as DIRECT_TIMELOCK_OFFSET, a9 as FeeBumpTxChain, a8 as FeeBumpTxPackage, a7 as FeeRate, O as INITIAL_DIRECT_SEQUENCE, N as INITIAL_SEQUENCE, a5 as LeafInfo, P as TEST_UNILATERAL_DIRECT_SEQUENCE, T as TEST_UNILATERAL_SEQUENCE, aa as TxChain, a6 as Utxo, q as addPrivateKeys, o as addPublicKeys, b as applyAdaptorToSignature, p as applyAdditiveTweakToPublicKey, J as checkIfSelectedOutputsAreAvailable, a1 as checkIfValidSequence, z as collectResponses, c as computeTaprootKeyNoScript, ag as constructFeeBumpTx, af as constructUnilateralExitFeeBumpPackages, ae as constructUnilateralExitTxs, _ as createConnectorRefundTransactions, X as createLeafNodeTx, V as createNodeTx, W as createNodeTxs, Y as createRefundTx, Z as createRefundTxs, S as createRootTx, F as createSigningCommitment, B as createSigningNonce, U as createSplitTx, H as decodeBytesToSigningCommitment, E as decodeBytesToSigningNonce, a2 as doesLeafNeedRefresh, G as encodeSigningCommitmentToBytes, D as encodeSigningNonceToBytes, K as filterTokenBalanceForTokenIdentifier, a as generateAdaptorFromSignature, g as generateSignatureFromExistingAdaptor, $ as getCurrentTimelock, a4 as getEphemeralAnchorOutput, w as getLatestDepositTxId, a3 as getNextTransactionSequence, f as getP2TRAddressFromPkScript, e as getP2TRAddressFromPublicKey, d as getP2TRScriptFromPublicKey, h as getP2WPKHAddressFromPublicKey, A as getRandomSigningNonce, k as getSigHashFromTx, C as getSigningCommitmentFromNonce, ah as getSparkAddressFromTaproot, a0 as getTransactionSequence, L as getTransferPackageSigningPayload, n as getTxEstimatedVbytesSizeByNumberOfInputsOutputs, j as getTxFromRawTxBytes, i as getTxFromRawTxHex, l as getTxId, m as getTxIdNoReverse, ad as isEphemeralAnchorOutput, x as isTxBroadcast, u as lastKeyWithTarget, R as maybeApplyFee, y as proofOfPossessionMessageHashForDepositAddress, r as subtractPrivateKeys, s as subtractPublicKeys, I as sumAvailableTokens, t as sumOfPrivateKeys, v as validateOutboundAdaptorSignature } from './
|
|
2
|
+
import { ab as BroadcastConfig, ac as BroadcastResult, Q as DEFAULT_FEE_SATS, M as DIRECT_TIMELOCK_OFFSET, a9 as FeeBumpTxChain, a8 as FeeBumpTxPackage, a7 as FeeRate, O as INITIAL_DIRECT_SEQUENCE, N as INITIAL_SEQUENCE, ai as LOGGER_NAMES, a5 as LeafInfo, aj as LoggerName, ak as SparkSdkLogger, P as TEST_UNILATERAL_DIRECT_SEQUENCE, T as TEST_UNILATERAL_SEQUENCE, aa as TxChain, a6 as Utxo, q as addPrivateKeys, o as addPublicKeys, b as applyAdaptorToSignature, p as applyAdditiveTweakToPublicKey, J as checkIfSelectedOutputsAreAvailable, a1 as checkIfValidSequence, z as collectResponses, c as computeTaprootKeyNoScript, ag as constructFeeBumpTx, af as constructUnilateralExitFeeBumpPackages, ae as constructUnilateralExitTxs, _ as createConnectorRefundTransactions, X as createLeafNodeTx, V as createNodeTx, W as createNodeTxs, Y as createRefundTx, Z as createRefundTxs, S as createRootTx, F as createSigningCommitment, B as createSigningNonce, U as createSplitTx, H as decodeBytesToSigningCommitment, E as decodeBytesToSigningNonce, a2 as doesLeafNeedRefresh, G as encodeSigningCommitmentToBytes, D as encodeSigningNonceToBytes, K as filterTokenBalanceForTokenIdentifier, a as generateAdaptorFromSignature, g as generateSignatureFromExistingAdaptor, $ as getCurrentTimelock, a4 as getEphemeralAnchorOutput, w as getLatestDepositTxId, a3 as getNextTransactionSequence, f as getP2TRAddressFromPkScript, e as getP2TRAddressFromPublicKey, d as getP2TRScriptFromPublicKey, h as getP2WPKHAddressFromPublicKey, A as getRandomSigningNonce, k as getSigHashFromTx, C as getSigningCommitmentFromNonce, ah as getSparkAddressFromTaproot, a0 as getTransactionSequence, L as getTransferPackageSigningPayload, n as getTxEstimatedVbytesSizeByNumberOfInputsOutputs, j as getTxFromRawTxBytes, i as getTxFromRawTxHex, l as getTxId, m as getTxIdNoReverse, ad as isEphemeralAnchorOutput, x as isTxBroadcast, u as lastKeyWithTarget, R as maybeApplyFee, y as proofOfPossessionMessageHashForDepositAddress, r as subtractPrivateKeys, s as subtractPublicKeys, I as sumAvailableTokens, t as sumOfPrivateKeys, v as validateOutboundAdaptorSignature } from './logging-BOAzMqpM.cjs';
|
|
3
3
|
import { V as VerifiableSecretShare, h as bigIntToPrivateKey, c as computerLagrangeCoefficients, e as evaluatePolynomial, f as fieldDiv, b as generatePolynomialForSecretSharing, g as getRandomBigInt, m as modInverse, r as recoverSecret, s as splitSecret, d as splitSecretWithProofs, v as validateShare } from './client-B9CAWKWz.cjs';
|
|
4
4
|
import './spark-CtGJPkx4.cjs';
|
|
5
5
|
import '@bufbuild/protobuf/wire';
|
|
@@ -29,13 +29,16 @@ declare const utils_FeeBumpTxPackage: typeof FeeBumpTxPackage;
|
|
|
29
29
|
declare const utils_FeeRate: typeof FeeRate;
|
|
30
30
|
declare const utils_INITIAL_DIRECT_SEQUENCE: typeof INITIAL_DIRECT_SEQUENCE;
|
|
31
31
|
declare const utils_INITIAL_SEQUENCE: typeof INITIAL_SEQUENCE;
|
|
32
|
+
declare const utils_LOGGER_NAMES: typeof LOGGER_NAMES;
|
|
32
33
|
declare const utils_LRC_WALLET_NETWORK: typeof LRC_WALLET_NETWORK;
|
|
33
34
|
declare const utils_LeafInfo: typeof LeafInfo;
|
|
35
|
+
declare const utils_LoggerName: typeof LoggerName;
|
|
34
36
|
declare const utils_Network: typeof Network;
|
|
35
37
|
declare const utils_NetworkToProto: typeof NetworkToProto;
|
|
36
38
|
declare const utils_NetworkType: typeof NetworkType;
|
|
37
39
|
declare const utils_SparkAddressData: typeof SparkAddressData;
|
|
38
40
|
declare const utils_SparkAddressFormat: typeof SparkAddressFormat;
|
|
41
|
+
declare const utils_SparkSdkLogger: typeof SparkSdkLogger;
|
|
39
42
|
declare const utils_TEST_UNILATERAL_DIRECT_SEQUENCE: typeof TEST_UNILATERAL_DIRECT_SEQUENCE;
|
|
40
43
|
declare const utils_TEST_UNILATERAL_SEQUENCE: typeof TEST_UNILATERAL_SEQUENCE;
|
|
41
44
|
declare const utils_TxChain: typeof TxChain;
|
|
@@ -128,7 +131,7 @@ declare const utils_validateShare: typeof validateShare;
|
|
|
128
131
|
declare const utils_validateSparkInvoiceFields: typeof validateSparkInvoiceFields;
|
|
129
132
|
declare const utils_validateSparkInvoiceSignature: typeof validateSparkInvoiceSignature;
|
|
130
133
|
declare namespace utils {
|
|
131
|
-
export { utils_Bech32mTokenIdentifier as Bech32mTokenIdentifier, utils_Bech32mTokenIdentifierData as Bech32mTokenIdentifierData, utils_BroadcastConfig as BroadcastConfig, utils_BroadcastResult as BroadcastResult, utils_DEFAULT_FEE_SATS as DEFAULT_FEE_SATS, utils_DIRECT_TIMELOCK_OFFSET as DIRECT_TIMELOCK_OFFSET, utils_DecodedSparkAddressData as DecodedSparkAddressData, utils_FeeBumpTxChain as FeeBumpTxChain, utils_FeeBumpTxPackage as FeeBumpTxPackage, utils_FeeRate as FeeRate, utils_INITIAL_DIRECT_SEQUENCE as INITIAL_DIRECT_SEQUENCE, utils_INITIAL_SEQUENCE as INITIAL_SEQUENCE, utils_LRC_WALLET_NETWORK as LRC_WALLET_NETWORK, utils_LeafInfo as LeafInfo, utils_Network as Network, utils_NetworkToProto as NetworkToProto, utils_NetworkType as NetworkType, utils_SparkAddressData as SparkAddressData, utils_SparkAddressFormat as SparkAddressFormat, utils_TEST_UNILATERAL_DIRECT_SEQUENCE as TEST_UNILATERAL_DIRECT_SEQUENCE, utils_TEST_UNILATERAL_SEQUENCE as TEST_UNILATERAL_SEQUENCE, utils_TxChain as TxChain, utils_Utxo as Utxo, utils_VerifiableSecretShare as VerifiableSecretShare, utils_addPrivateKeys as addPrivateKeys, utils_addPublicKeys as addPublicKeys, utils_applyAdaptorToSignature as applyAdaptorToSignature, utils_applyAdditiveTweakToPublicKey as applyAdditiveTweakToPublicKey, utils_bech32mDecode as bech32mDecode, utils_bigIntToPrivateKey as bigIntToPrivateKey, utils_checkIfSelectedOutputsAreAvailable as checkIfSelectedOutputsAreAvailable, utils_checkIfValidSequence as checkIfValidSequence, utils_collectResponses as collectResponses, utils_computeTaprootKeyNoScript as computeTaprootKeyNoScript, utils_computerLagrangeCoefficients as computerLagrangeCoefficients, utils_constructFeeBumpTx as constructFeeBumpTx, utils_constructUnilateralExitFeeBumpPackages as constructUnilateralExitFeeBumpPackages, utils_constructUnilateralExitTxs as constructUnilateralExitTxs, utils_createConnectorRefundTransactions as createConnectorRefundTransactions, utils_createLeafNodeTx as createLeafNodeTx, utils_createNodeTx as createNodeTx, utils_createNodeTxs as createNodeTxs, utils_createRefundTx as createRefundTx, utils_createRefundTxs as createRefundTxs, utils_createRootTx as createRootTx, utils_createSigningCommitment as createSigningCommitment, utils_createSigningNonce as createSigningNonce, utils_createSplitTx as createSplitTx, utils_decodeBech32mTokenIdentifier as decodeBech32mTokenIdentifier, utils_decodeBytesToSigningCommitment as decodeBytesToSigningCommitment, utils_decodeBytesToSigningNonce as decodeBytesToSigningNonce, utils_decodeSparkAddress as decodeSparkAddress, utils_doesLeafNeedRefresh as doesLeafNeedRefresh, utils_encodeBech32mTokenIdentifier as encodeBech32mTokenIdentifier, utils_encodeSigningCommitmentToBytes as encodeSigningCommitmentToBytes, utils_encodeSigningNonceToBytes as encodeSigningNonceToBytes, utils_encodeSparkAddress as encodeSparkAddress, utils_encodeSparkAddressWithSignature as encodeSparkAddressWithSignature, utils_evaluatePolynomial as evaluatePolynomial, utils_fieldDiv as fieldDiv, utils_filterTokenBalanceForTokenIdentifier as filterTokenBalanceForTokenIdentifier, utils_generateAdaptorFromSignature as generateAdaptorFromSignature, utils_generatePolynomialForSecretSharing as generatePolynomialForSecretSharing, utils_generateSignatureFromExistingAdaptor as generateSignatureFromExistingAdaptor, utils_getCurrentTimelock as getCurrentTimelock, utils_getEphemeralAnchorOutput as getEphemeralAnchorOutput, utils_getLatestDepositTxId as getLatestDepositTxId, utils_getNetwork as getNetwork, utils_getNetworkFromAddress as getNetworkFromAddress, utils_getNetworkFromBech32mTokenIdentifier as getNetworkFromBech32mTokenIdentifier, utils_getNetworkFromSparkAddress as getNetworkFromSparkAddress, utils_getNetworkFromString as getNetworkFromString, utils_getNextTransactionSequence as getNextTransactionSequence, utils_getP2TRAddressFromPkScript as getP2TRAddressFromPkScript, utils_getP2TRAddressFromPublicKey as getP2TRAddressFromPublicKey, utils_getP2TRScriptFromPublicKey as getP2TRScriptFromPublicKey, utils_getP2WPKHAddressFromPublicKey as getP2WPKHAddressFromPublicKey, utils_getRandomBigInt as getRandomBigInt, utils_getRandomSigningNonce as getRandomSigningNonce, utils_getSigHashFromTx as getSigHashFromTx, utils_getSigningCommitmentFromNonce as getSigningCommitmentFromNonce, utils_getSparkAddressFromTaproot as getSparkAddressFromTaproot, utils_getTransactionSequence as getTransactionSequence, utils_getTransferPackageSigningPayload as getTransferPackageSigningPayload, utils_getTxEstimatedVbytesSizeByNumberOfInputsOutputs as getTxEstimatedVbytesSizeByNumberOfInputsOutputs, utils_getTxFromRawTxBytes as getTxFromRawTxBytes, utils_getTxFromRawTxHex as getTxFromRawTxHex, utils_getTxId as getTxId, utils_getTxIdNoReverse as getTxIdNoReverse, utils_isEphemeralAnchorOutput as isEphemeralAnchorOutput, utils_isTxBroadcast as isTxBroadcast, utils_isValidPublicKey as isValidPublicKey, utils_isValidSparkAddress as isValidSparkAddress, utils_lastKeyWithTarget as lastKeyWithTarget, utils_maybeApplyFee as maybeApplyFee, utils_modInverse as modInverse, utils_proofOfPossessionMessageHashForDepositAddress as proofOfPossessionMessageHashForDepositAddress, utils_protoToNetwork as protoToNetwork, utils_recoverSecret as recoverSecret, utils_splitSecret as splitSecret, utils_splitSecretWithProofs as splitSecretWithProofs, utils_subtractPrivateKeys as subtractPrivateKeys, utils_subtractPublicKeys as subtractPublicKeys, utils_sumAvailableTokens as sumAvailableTokens, utils_sumOfPrivateKeys as sumOfPrivateKeys, utils_toProtoTimestamp as toProtoTimestamp, utils_validateOutboundAdaptorSignature as validateOutboundAdaptorSignature, utils_validateShare as validateShare, utils_validateSparkInvoiceFields as validateSparkInvoiceFields, utils_validateSparkInvoiceSignature as validateSparkInvoiceSignature };
|
|
134
|
+
export { utils_Bech32mTokenIdentifier as Bech32mTokenIdentifier, utils_Bech32mTokenIdentifierData as Bech32mTokenIdentifierData, utils_BroadcastConfig as BroadcastConfig, utils_BroadcastResult as BroadcastResult, utils_DEFAULT_FEE_SATS as DEFAULT_FEE_SATS, utils_DIRECT_TIMELOCK_OFFSET as DIRECT_TIMELOCK_OFFSET, utils_DecodedSparkAddressData as DecodedSparkAddressData, utils_FeeBumpTxChain as FeeBumpTxChain, utils_FeeBumpTxPackage as FeeBumpTxPackage, utils_FeeRate as FeeRate, utils_INITIAL_DIRECT_SEQUENCE as INITIAL_DIRECT_SEQUENCE, utils_INITIAL_SEQUENCE as INITIAL_SEQUENCE, utils_LOGGER_NAMES as LOGGER_NAMES, utils_LRC_WALLET_NETWORK as LRC_WALLET_NETWORK, utils_LeafInfo as LeafInfo, utils_LoggerName as LoggerName, utils_Network as Network, utils_NetworkToProto as NetworkToProto, utils_NetworkType as NetworkType, utils_SparkAddressData as SparkAddressData, utils_SparkAddressFormat as SparkAddressFormat, utils_SparkSdkLogger as SparkSdkLogger, utils_TEST_UNILATERAL_DIRECT_SEQUENCE as TEST_UNILATERAL_DIRECT_SEQUENCE, utils_TEST_UNILATERAL_SEQUENCE as TEST_UNILATERAL_SEQUENCE, utils_TxChain as TxChain, utils_Utxo as Utxo, utils_VerifiableSecretShare as VerifiableSecretShare, utils_addPrivateKeys as addPrivateKeys, utils_addPublicKeys as addPublicKeys, utils_applyAdaptorToSignature as applyAdaptorToSignature, utils_applyAdditiveTweakToPublicKey as applyAdditiveTweakToPublicKey, utils_bech32mDecode as bech32mDecode, utils_bigIntToPrivateKey as bigIntToPrivateKey, utils_checkIfSelectedOutputsAreAvailable as checkIfSelectedOutputsAreAvailable, utils_checkIfValidSequence as checkIfValidSequence, utils_collectResponses as collectResponses, utils_computeTaprootKeyNoScript as computeTaprootKeyNoScript, utils_computerLagrangeCoefficients as computerLagrangeCoefficients, utils_constructFeeBumpTx as constructFeeBumpTx, utils_constructUnilateralExitFeeBumpPackages as constructUnilateralExitFeeBumpPackages, utils_constructUnilateralExitTxs as constructUnilateralExitTxs, utils_createConnectorRefundTransactions as createConnectorRefundTransactions, utils_createLeafNodeTx as createLeafNodeTx, utils_createNodeTx as createNodeTx, utils_createNodeTxs as createNodeTxs, utils_createRefundTx as createRefundTx, utils_createRefundTxs as createRefundTxs, utils_createRootTx as createRootTx, utils_createSigningCommitment as createSigningCommitment, utils_createSigningNonce as createSigningNonce, utils_createSplitTx as createSplitTx, utils_decodeBech32mTokenIdentifier as decodeBech32mTokenIdentifier, utils_decodeBytesToSigningCommitment as decodeBytesToSigningCommitment, utils_decodeBytesToSigningNonce as decodeBytesToSigningNonce, utils_decodeSparkAddress as decodeSparkAddress, utils_doesLeafNeedRefresh as doesLeafNeedRefresh, utils_encodeBech32mTokenIdentifier as encodeBech32mTokenIdentifier, utils_encodeSigningCommitmentToBytes as encodeSigningCommitmentToBytes, utils_encodeSigningNonceToBytes as encodeSigningNonceToBytes, utils_encodeSparkAddress as encodeSparkAddress, utils_encodeSparkAddressWithSignature as encodeSparkAddressWithSignature, utils_evaluatePolynomial as evaluatePolynomial, utils_fieldDiv as fieldDiv, utils_filterTokenBalanceForTokenIdentifier as filterTokenBalanceForTokenIdentifier, utils_generateAdaptorFromSignature as generateAdaptorFromSignature, utils_generatePolynomialForSecretSharing as generatePolynomialForSecretSharing, utils_generateSignatureFromExistingAdaptor as generateSignatureFromExistingAdaptor, utils_getCurrentTimelock as getCurrentTimelock, utils_getEphemeralAnchorOutput as getEphemeralAnchorOutput, utils_getLatestDepositTxId as getLatestDepositTxId, utils_getNetwork as getNetwork, utils_getNetworkFromAddress as getNetworkFromAddress, utils_getNetworkFromBech32mTokenIdentifier as getNetworkFromBech32mTokenIdentifier, utils_getNetworkFromSparkAddress as getNetworkFromSparkAddress, utils_getNetworkFromString as getNetworkFromString, utils_getNextTransactionSequence as getNextTransactionSequence, utils_getP2TRAddressFromPkScript as getP2TRAddressFromPkScript, utils_getP2TRAddressFromPublicKey as getP2TRAddressFromPublicKey, utils_getP2TRScriptFromPublicKey as getP2TRScriptFromPublicKey, utils_getP2WPKHAddressFromPublicKey as getP2WPKHAddressFromPublicKey, utils_getRandomBigInt as getRandomBigInt, utils_getRandomSigningNonce as getRandomSigningNonce, utils_getSigHashFromTx as getSigHashFromTx, utils_getSigningCommitmentFromNonce as getSigningCommitmentFromNonce, utils_getSparkAddressFromTaproot as getSparkAddressFromTaproot, utils_getTransactionSequence as getTransactionSequence, utils_getTransferPackageSigningPayload as getTransferPackageSigningPayload, utils_getTxEstimatedVbytesSizeByNumberOfInputsOutputs as getTxEstimatedVbytesSizeByNumberOfInputsOutputs, utils_getTxFromRawTxBytes as getTxFromRawTxBytes, utils_getTxFromRawTxHex as getTxFromRawTxHex, utils_getTxId as getTxId, utils_getTxIdNoReverse as getTxIdNoReverse, utils_isEphemeralAnchorOutput as isEphemeralAnchorOutput, utils_isTxBroadcast as isTxBroadcast, utils_isValidPublicKey as isValidPublicKey, utils_isValidSparkAddress as isValidSparkAddress, utils_lastKeyWithTarget as lastKeyWithTarget, utils_maybeApplyFee as maybeApplyFee, utils_modInverse as modInverse, utils_proofOfPossessionMessageHashForDepositAddress as proofOfPossessionMessageHashForDepositAddress, utils_protoToNetwork as protoToNetwork, utils_recoverSecret as recoverSecret, utils_splitSecret as splitSecret, utils_splitSecretWithProofs as splitSecretWithProofs, utils_subtractPrivateKeys as subtractPrivateKeys, utils_subtractPublicKeys as subtractPublicKeys, utils_sumAvailableTokens as sumAvailableTokens, utils_sumOfPrivateKeys as sumOfPrivateKeys, utils_toProtoTimestamp as toProtoTimestamp, utils_validateOutboundAdaptorSignature as validateOutboundAdaptorSignature, utils_validateShare as validateShare, utils_validateSparkInvoiceFields as validateSparkInvoiceFields, utils_validateSparkInvoiceSignature as validateSparkInvoiceSignature };
|
|
132
135
|
}
|
|
133
136
|
|
|
134
137
|
declare const s: {
|
package/dist/debug.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as Bech32mTokenIdentifier, r as Bech32mTokenIdentifierData, D as DecodedSparkAddressData, L as LRC_WALLET_NETWORK, N as Network, m as NetworkToProto, l as NetworkType, c as SparkAddressData, S as SparkAddressFormat, k as bech32mDecode, u as decodeBech32mTokenIdentifier, f as decodeSparkAddress, s as encodeBech32mTokenIdentifier, e as encodeSparkAddress, d as encodeSparkAddressWithSignature, n as getNetwork, o as getNetworkFromAddress, w as getNetworkFromBech32mTokenIdentifier, j as getNetworkFromSparkAddress, q as getNetworkFromString, g as isValidPublicKey, i as isValidSparkAddress, p as protoToNetwork, t as toProtoTimestamp, v as validateSparkInvoiceFields, h as validateSparkInvoiceSignature, H as SparkWallet, b as ConfigOptions } from './spark-wallet-Cp3yv6cK.js';
|
|
2
|
-
import { ab as BroadcastConfig, ac as BroadcastResult, Q as DEFAULT_FEE_SATS, M as DIRECT_TIMELOCK_OFFSET, a9 as FeeBumpTxChain, a8 as FeeBumpTxPackage, a7 as FeeRate, O as INITIAL_DIRECT_SEQUENCE, N as INITIAL_SEQUENCE, a5 as LeafInfo, P as TEST_UNILATERAL_DIRECT_SEQUENCE, T as TEST_UNILATERAL_SEQUENCE, aa as TxChain, a6 as Utxo, q as addPrivateKeys, o as addPublicKeys, b as applyAdaptorToSignature, p as applyAdditiveTweakToPublicKey, J as checkIfSelectedOutputsAreAvailable, a1 as checkIfValidSequence, z as collectResponses, c as computeTaprootKeyNoScript, ag as constructFeeBumpTx, af as constructUnilateralExitFeeBumpPackages, ae as constructUnilateralExitTxs, _ as createConnectorRefundTransactions, X as createLeafNodeTx, V as createNodeTx, W as createNodeTxs, Y as createRefundTx, Z as createRefundTxs, S as createRootTx, F as createSigningCommitment, B as createSigningNonce, U as createSplitTx, H as decodeBytesToSigningCommitment, E as decodeBytesToSigningNonce, a2 as doesLeafNeedRefresh, G as encodeSigningCommitmentToBytes, D as encodeSigningNonceToBytes, K as filterTokenBalanceForTokenIdentifier, a as generateAdaptorFromSignature, g as generateSignatureFromExistingAdaptor, $ as getCurrentTimelock, a4 as getEphemeralAnchorOutput, w as getLatestDepositTxId, a3 as getNextTransactionSequence, f as getP2TRAddressFromPkScript, e as getP2TRAddressFromPublicKey, d as getP2TRScriptFromPublicKey, h as getP2WPKHAddressFromPublicKey, A as getRandomSigningNonce, k as getSigHashFromTx, C as getSigningCommitmentFromNonce, ah as getSparkAddressFromTaproot, a0 as getTransactionSequence, L as getTransferPackageSigningPayload, n as getTxEstimatedVbytesSizeByNumberOfInputsOutputs, j as getTxFromRawTxBytes, i as getTxFromRawTxHex, l as getTxId, m as getTxIdNoReverse, ad as isEphemeralAnchorOutput, x as isTxBroadcast, u as lastKeyWithTarget, R as maybeApplyFee, y as proofOfPossessionMessageHashForDepositAddress, r as subtractPrivateKeys, s as subtractPublicKeys, I as sumAvailableTokens, t as sumOfPrivateKeys, v as validateOutboundAdaptorSignature } from './
|
|
2
|
+
import { ab as BroadcastConfig, ac as BroadcastResult, Q as DEFAULT_FEE_SATS, M as DIRECT_TIMELOCK_OFFSET, a9 as FeeBumpTxChain, a8 as FeeBumpTxPackage, a7 as FeeRate, O as INITIAL_DIRECT_SEQUENCE, N as INITIAL_SEQUENCE, ai as LOGGER_NAMES, a5 as LeafInfo, aj as LoggerName, ak as SparkSdkLogger, P as TEST_UNILATERAL_DIRECT_SEQUENCE, T as TEST_UNILATERAL_SEQUENCE, aa as TxChain, a6 as Utxo, q as addPrivateKeys, o as addPublicKeys, b as applyAdaptorToSignature, p as applyAdditiveTweakToPublicKey, J as checkIfSelectedOutputsAreAvailable, a1 as checkIfValidSequence, z as collectResponses, c as computeTaprootKeyNoScript, ag as constructFeeBumpTx, af as constructUnilateralExitFeeBumpPackages, ae as constructUnilateralExitTxs, _ as createConnectorRefundTransactions, X as createLeafNodeTx, V as createNodeTx, W as createNodeTxs, Y as createRefundTx, Z as createRefundTxs, S as createRootTx, F as createSigningCommitment, B as createSigningNonce, U as createSplitTx, H as decodeBytesToSigningCommitment, E as decodeBytesToSigningNonce, a2 as doesLeafNeedRefresh, G as encodeSigningCommitmentToBytes, D as encodeSigningNonceToBytes, K as filterTokenBalanceForTokenIdentifier, a as generateAdaptorFromSignature, g as generateSignatureFromExistingAdaptor, $ as getCurrentTimelock, a4 as getEphemeralAnchorOutput, w as getLatestDepositTxId, a3 as getNextTransactionSequence, f as getP2TRAddressFromPkScript, e as getP2TRAddressFromPublicKey, d as getP2TRScriptFromPublicKey, h as getP2WPKHAddressFromPublicKey, A as getRandomSigningNonce, k as getSigHashFromTx, C as getSigningCommitmentFromNonce, ah as getSparkAddressFromTaproot, a0 as getTransactionSequence, L as getTransferPackageSigningPayload, n as getTxEstimatedVbytesSizeByNumberOfInputsOutputs, j as getTxFromRawTxBytes, i as getTxFromRawTxHex, l as getTxId, m as getTxIdNoReverse, ad as isEphemeralAnchorOutput, x as isTxBroadcast, u as lastKeyWithTarget, R as maybeApplyFee, y as proofOfPossessionMessageHashForDepositAddress, r as subtractPrivateKeys, s as subtractPublicKeys, I as sumAvailableTokens, t as sumOfPrivateKeys, v as validateOutboundAdaptorSignature } from './logging-Bt_WdZbu.js';
|
|
3
3
|
import { V as VerifiableSecretShare, h as bigIntToPrivateKey, c as computerLagrangeCoefficients, e as evaluatePolynomial, f as fieldDiv, b as generatePolynomialForSecretSharing, g as getRandomBigInt, m as modInverse, r as recoverSecret, s as splitSecret, d as splitSecretWithProofs, v as validateShare } from './client-Dd3QnxQu.js';
|
|
4
4
|
import './spark-CtGJPkx4.js';
|
|
5
5
|
import '@bufbuild/protobuf/wire';
|
|
@@ -29,13 +29,16 @@ declare const utils_FeeBumpTxPackage: typeof FeeBumpTxPackage;
|
|
|
29
29
|
declare const utils_FeeRate: typeof FeeRate;
|
|
30
30
|
declare const utils_INITIAL_DIRECT_SEQUENCE: typeof INITIAL_DIRECT_SEQUENCE;
|
|
31
31
|
declare const utils_INITIAL_SEQUENCE: typeof INITIAL_SEQUENCE;
|
|
32
|
+
declare const utils_LOGGER_NAMES: typeof LOGGER_NAMES;
|
|
32
33
|
declare const utils_LRC_WALLET_NETWORK: typeof LRC_WALLET_NETWORK;
|
|
33
34
|
declare const utils_LeafInfo: typeof LeafInfo;
|
|
35
|
+
declare const utils_LoggerName: typeof LoggerName;
|
|
34
36
|
declare const utils_Network: typeof Network;
|
|
35
37
|
declare const utils_NetworkToProto: typeof NetworkToProto;
|
|
36
38
|
declare const utils_NetworkType: typeof NetworkType;
|
|
37
39
|
declare const utils_SparkAddressData: typeof SparkAddressData;
|
|
38
40
|
declare const utils_SparkAddressFormat: typeof SparkAddressFormat;
|
|
41
|
+
declare const utils_SparkSdkLogger: typeof SparkSdkLogger;
|
|
39
42
|
declare const utils_TEST_UNILATERAL_DIRECT_SEQUENCE: typeof TEST_UNILATERAL_DIRECT_SEQUENCE;
|
|
40
43
|
declare const utils_TEST_UNILATERAL_SEQUENCE: typeof TEST_UNILATERAL_SEQUENCE;
|
|
41
44
|
declare const utils_TxChain: typeof TxChain;
|
|
@@ -128,7 +131,7 @@ declare const utils_validateShare: typeof validateShare;
|
|
|
128
131
|
declare const utils_validateSparkInvoiceFields: typeof validateSparkInvoiceFields;
|
|
129
132
|
declare const utils_validateSparkInvoiceSignature: typeof validateSparkInvoiceSignature;
|
|
130
133
|
declare namespace utils {
|
|
131
|
-
export { utils_Bech32mTokenIdentifier as Bech32mTokenIdentifier, utils_Bech32mTokenIdentifierData as Bech32mTokenIdentifierData, utils_BroadcastConfig as BroadcastConfig, utils_BroadcastResult as BroadcastResult, utils_DEFAULT_FEE_SATS as DEFAULT_FEE_SATS, utils_DIRECT_TIMELOCK_OFFSET as DIRECT_TIMELOCK_OFFSET, utils_DecodedSparkAddressData as DecodedSparkAddressData, utils_FeeBumpTxChain as FeeBumpTxChain, utils_FeeBumpTxPackage as FeeBumpTxPackage, utils_FeeRate as FeeRate, utils_INITIAL_DIRECT_SEQUENCE as INITIAL_DIRECT_SEQUENCE, utils_INITIAL_SEQUENCE as INITIAL_SEQUENCE, utils_LRC_WALLET_NETWORK as LRC_WALLET_NETWORK, utils_LeafInfo as LeafInfo, utils_Network as Network, utils_NetworkToProto as NetworkToProto, utils_NetworkType as NetworkType, utils_SparkAddressData as SparkAddressData, utils_SparkAddressFormat as SparkAddressFormat, utils_TEST_UNILATERAL_DIRECT_SEQUENCE as TEST_UNILATERAL_DIRECT_SEQUENCE, utils_TEST_UNILATERAL_SEQUENCE as TEST_UNILATERAL_SEQUENCE, utils_TxChain as TxChain, utils_Utxo as Utxo, utils_VerifiableSecretShare as VerifiableSecretShare, utils_addPrivateKeys as addPrivateKeys, utils_addPublicKeys as addPublicKeys, utils_applyAdaptorToSignature as applyAdaptorToSignature, utils_applyAdditiveTweakToPublicKey as applyAdditiveTweakToPublicKey, utils_bech32mDecode as bech32mDecode, utils_bigIntToPrivateKey as bigIntToPrivateKey, utils_checkIfSelectedOutputsAreAvailable as checkIfSelectedOutputsAreAvailable, utils_checkIfValidSequence as checkIfValidSequence, utils_collectResponses as collectResponses, utils_computeTaprootKeyNoScript as computeTaprootKeyNoScript, utils_computerLagrangeCoefficients as computerLagrangeCoefficients, utils_constructFeeBumpTx as constructFeeBumpTx, utils_constructUnilateralExitFeeBumpPackages as constructUnilateralExitFeeBumpPackages, utils_constructUnilateralExitTxs as constructUnilateralExitTxs, utils_createConnectorRefundTransactions as createConnectorRefundTransactions, utils_createLeafNodeTx as createLeafNodeTx, utils_createNodeTx as createNodeTx, utils_createNodeTxs as createNodeTxs, utils_createRefundTx as createRefundTx, utils_createRefundTxs as createRefundTxs, utils_createRootTx as createRootTx, utils_createSigningCommitment as createSigningCommitment, utils_createSigningNonce as createSigningNonce, utils_createSplitTx as createSplitTx, utils_decodeBech32mTokenIdentifier as decodeBech32mTokenIdentifier, utils_decodeBytesToSigningCommitment as decodeBytesToSigningCommitment, utils_decodeBytesToSigningNonce as decodeBytesToSigningNonce, utils_decodeSparkAddress as decodeSparkAddress, utils_doesLeafNeedRefresh as doesLeafNeedRefresh, utils_encodeBech32mTokenIdentifier as encodeBech32mTokenIdentifier, utils_encodeSigningCommitmentToBytes as encodeSigningCommitmentToBytes, utils_encodeSigningNonceToBytes as encodeSigningNonceToBytes, utils_encodeSparkAddress as encodeSparkAddress, utils_encodeSparkAddressWithSignature as encodeSparkAddressWithSignature, utils_evaluatePolynomial as evaluatePolynomial, utils_fieldDiv as fieldDiv, utils_filterTokenBalanceForTokenIdentifier as filterTokenBalanceForTokenIdentifier, utils_generateAdaptorFromSignature as generateAdaptorFromSignature, utils_generatePolynomialForSecretSharing as generatePolynomialForSecretSharing, utils_generateSignatureFromExistingAdaptor as generateSignatureFromExistingAdaptor, utils_getCurrentTimelock as getCurrentTimelock, utils_getEphemeralAnchorOutput as getEphemeralAnchorOutput, utils_getLatestDepositTxId as getLatestDepositTxId, utils_getNetwork as getNetwork, utils_getNetworkFromAddress as getNetworkFromAddress, utils_getNetworkFromBech32mTokenIdentifier as getNetworkFromBech32mTokenIdentifier, utils_getNetworkFromSparkAddress as getNetworkFromSparkAddress, utils_getNetworkFromString as getNetworkFromString, utils_getNextTransactionSequence as getNextTransactionSequence, utils_getP2TRAddressFromPkScript as getP2TRAddressFromPkScript, utils_getP2TRAddressFromPublicKey as getP2TRAddressFromPublicKey, utils_getP2TRScriptFromPublicKey as getP2TRScriptFromPublicKey, utils_getP2WPKHAddressFromPublicKey as getP2WPKHAddressFromPublicKey, utils_getRandomBigInt as getRandomBigInt, utils_getRandomSigningNonce as getRandomSigningNonce, utils_getSigHashFromTx as getSigHashFromTx, utils_getSigningCommitmentFromNonce as getSigningCommitmentFromNonce, utils_getSparkAddressFromTaproot as getSparkAddressFromTaproot, utils_getTransactionSequence as getTransactionSequence, utils_getTransferPackageSigningPayload as getTransferPackageSigningPayload, utils_getTxEstimatedVbytesSizeByNumberOfInputsOutputs as getTxEstimatedVbytesSizeByNumberOfInputsOutputs, utils_getTxFromRawTxBytes as getTxFromRawTxBytes, utils_getTxFromRawTxHex as getTxFromRawTxHex, utils_getTxId as getTxId, utils_getTxIdNoReverse as getTxIdNoReverse, utils_isEphemeralAnchorOutput as isEphemeralAnchorOutput, utils_isTxBroadcast as isTxBroadcast, utils_isValidPublicKey as isValidPublicKey, utils_isValidSparkAddress as isValidSparkAddress, utils_lastKeyWithTarget as lastKeyWithTarget, utils_maybeApplyFee as maybeApplyFee, utils_modInverse as modInverse, utils_proofOfPossessionMessageHashForDepositAddress as proofOfPossessionMessageHashForDepositAddress, utils_protoToNetwork as protoToNetwork, utils_recoverSecret as recoverSecret, utils_splitSecret as splitSecret, utils_splitSecretWithProofs as splitSecretWithProofs, utils_subtractPrivateKeys as subtractPrivateKeys, utils_subtractPublicKeys as subtractPublicKeys, utils_sumAvailableTokens as sumAvailableTokens, utils_sumOfPrivateKeys as sumOfPrivateKeys, utils_toProtoTimestamp as toProtoTimestamp, utils_validateOutboundAdaptorSignature as validateOutboundAdaptorSignature, utils_validateShare as validateShare, utils_validateSparkInvoiceFields as validateSparkInvoiceFields, utils_validateSparkInvoiceSignature as validateSparkInvoiceSignature };
|
|
134
|
+
export { utils_Bech32mTokenIdentifier as Bech32mTokenIdentifier, utils_Bech32mTokenIdentifierData as Bech32mTokenIdentifierData, utils_BroadcastConfig as BroadcastConfig, utils_BroadcastResult as BroadcastResult, utils_DEFAULT_FEE_SATS as DEFAULT_FEE_SATS, utils_DIRECT_TIMELOCK_OFFSET as DIRECT_TIMELOCK_OFFSET, utils_DecodedSparkAddressData as DecodedSparkAddressData, utils_FeeBumpTxChain as FeeBumpTxChain, utils_FeeBumpTxPackage as FeeBumpTxPackage, utils_FeeRate as FeeRate, utils_INITIAL_DIRECT_SEQUENCE as INITIAL_DIRECT_SEQUENCE, utils_INITIAL_SEQUENCE as INITIAL_SEQUENCE, utils_LOGGER_NAMES as LOGGER_NAMES, utils_LRC_WALLET_NETWORK as LRC_WALLET_NETWORK, utils_LeafInfo as LeafInfo, utils_LoggerName as LoggerName, utils_Network as Network, utils_NetworkToProto as NetworkToProto, utils_NetworkType as NetworkType, utils_SparkAddressData as SparkAddressData, utils_SparkAddressFormat as SparkAddressFormat, utils_SparkSdkLogger as SparkSdkLogger, utils_TEST_UNILATERAL_DIRECT_SEQUENCE as TEST_UNILATERAL_DIRECT_SEQUENCE, utils_TEST_UNILATERAL_SEQUENCE as TEST_UNILATERAL_SEQUENCE, utils_TxChain as TxChain, utils_Utxo as Utxo, utils_VerifiableSecretShare as VerifiableSecretShare, utils_addPrivateKeys as addPrivateKeys, utils_addPublicKeys as addPublicKeys, utils_applyAdaptorToSignature as applyAdaptorToSignature, utils_applyAdditiveTweakToPublicKey as applyAdditiveTweakToPublicKey, utils_bech32mDecode as bech32mDecode, utils_bigIntToPrivateKey as bigIntToPrivateKey, utils_checkIfSelectedOutputsAreAvailable as checkIfSelectedOutputsAreAvailable, utils_checkIfValidSequence as checkIfValidSequence, utils_collectResponses as collectResponses, utils_computeTaprootKeyNoScript as computeTaprootKeyNoScript, utils_computerLagrangeCoefficients as computerLagrangeCoefficients, utils_constructFeeBumpTx as constructFeeBumpTx, utils_constructUnilateralExitFeeBumpPackages as constructUnilateralExitFeeBumpPackages, utils_constructUnilateralExitTxs as constructUnilateralExitTxs, utils_createConnectorRefundTransactions as createConnectorRefundTransactions, utils_createLeafNodeTx as createLeafNodeTx, utils_createNodeTx as createNodeTx, utils_createNodeTxs as createNodeTxs, utils_createRefundTx as createRefundTx, utils_createRefundTxs as createRefundTxs, utils_createRootTx as createRootTx, utils_createSigningCommitment as createSigningCommitment, utils_createSigningNonce as createSigningNonce, utils_createSplitTx as createSplitTx, utils_decodeBech32mTokenIdentifier as decodeBech32mTokenIdentifier, utils_decodeBytesToSigningCommitment as decodeBytesToSigningCommitment, utils_decodeBytesToSigningNonce as decodeBytesToSigningNonce, utils_decodeSparkAddress as decodeSparkAddress, utils_doesLeafNeedRefresh as doesLeafNeedRefresh, utils_encodeBech32mTokenIdentifier as encodeBech32mTokenIdentifier, utils_encodeSigningCommitmentToBytes as encodeSigningCommitmentToBytes, utils_encodeSigningNonceToBytes as encodeSigningNonceToBytes, utils_encodeSparkAddress as encodeSparkAddress, utils_encodeSparkAddressWithSignature as encodeSparkAddressWithSignature, utils_evaluatePolynomial as evaluatePolynomial, utils_fieldDiv as fieldDiv, utils_filterTokenBalanceForTokenIdentifier as filterTokenBalanceForTokenIdentifier, utils_generateAdaptorFromSignature as generateAdaptorFromSignature, utils_generatePolynomialForSecretSharing as generatePolynomialForSecretSharing, utils_generateSignatureFromExistingAdaptor as generateSignatureFromExistingAdaptor, utils_getCurrentTimelock as getCurrentTimelock, utils_getEphemeralAnchorOutput as getEphemeralAnchorOutput, utils_getLatestDepositTxId as getLatestDepositTxId, utils_getNetwork as getNetwork, utils_getNetworkFromAddress as getNetworkFromAddress, utils_getNetworkFromBech32mTokenIdentifier as getNetworkFromBech32mTokenIdentifier, utils_getNetworkFromSparkAddress as getNetworkFromSparkAddress, utils_getNetworkFromString as getNetworkFromString, utils_getNextTransactionSequence as getNextTransactionSequence, utils_getP2TRAddressFromPkScript as getP2TRAddressFromPkScript, utils_getP2TRAddressFromPublicKey as getP2TRAddressFromPublicKey, utils_getP2TRScriptFromPublicKey as getP2TRScriptFromPublicKey, utils_getP2WPKHAddressFromPublicKey as getP2WPKHAddressFromPublicKey, utils_getRandomBigInt as getRandomBigInt, utils_getRandomSigningNonce as getRandomSigningNonce, utils_getSigHashFromTx as getSigHashFromTx, utils_getSigningCommitmentFromNonce as getSigningCommitmentFromNonce, utils_getSparkAddressFromTaproot as getSparkAddressFromTaproot, utils_getTransactionSequence as getTransactionSequence, utils_getTransferPackageSigningPayload as getTransferPackageSigningPayload, utils_getTxEstimatedVbytesSizeByNumberOfInputsOutputs as getTxEstimatedVbytesSizeByNumberOfInputsOutputs, utils_getTxFromRawTxBytes as getTxFromRawTxBytes, utils_getTxFromRawTxHex as getTxFromRawTxHex, utils_getTxId as getTxId, utils_getTxIdNoReverse as getTxIdNoReverse, utils_isEphemeralAnchorOutput as isEphemeralAnchorOutput, utils_isTxBroadcast as isTxBroadcast, utils_isValidPublicKey as isValidPublicKey, utils_isValidSparkAddress as isValidSparkAddress, utils_lastKeyWithTarget as lastKeyWithTarget, utils_maybeApplyFee as maybeApplyFee, utils_modInverse as modInverse, utils_proofOfPossessionMessageHashForDepositAddress as proofOfPossessionMessageHashForDepositAddress, utils_protoToNetwork as protoToNetwork, utils_recoverSecret as recoverSecret, utils_splitSecret as splitSecret, utils_splitSecretWithProofs as splitSecretWithProofs, utils_subtractPrivateKeys as subtractPrivateKeys, utils_subtractPublicKeys as subtractPublicKeys, utils_sumAvailableTokens as sumAvailableTokens, utils_sumOfPrivateKeys as sumOfPrivateKeys, utils_toProtoTimestamp as toProtoTimestamp, utils_validateOutboundAdaptorSignature as validateOutboundAdaptorSignature, utils_validateShare as validateShare, utils_validateSparkInvoiceFields as validateSparkInvoiceFields, utils_validateSparkInvoiceSignature as validateSparkInvoiceSignature };
|
|
132
135
|
}
|
|
133
136
|
|
|
134
137
|
declare const s: {
|
package/dist/debug.js
CHANGED