@buildonspark/spark-sdk 0.1.41 → 0.1.43
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 +15 -0
- package/android/src/main/jniLibs/arm64-v8a/libuniffi_spark_frost.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libuniffi_spark_frost.so +0 -0
- package/android/src/main/jniLibs/x86/libuniffi_spark_frost.so +0 -0
- package/android/src/main/jniLibs/x86_64/libuniffi_spark_frost.so +0 -0
- package/dist/LightningSendFeeEstimateInput-BgOhEAI-.d.cts +10 -0
- package/dist/LightningSendFeeEstimateInput-BgOhEAI-.d.ts +10 -0
- package/dist/{RequestLightningSendInput-mXUWn_cp.d.ts → RequestLightningSendInput-D7fZdT4A.d.ts} +35 -16
- package/dist/{RequestLightningSendInput-DXcLoiCe.d.cts → RequestLightningSendInput-Na1mHdWg.d.cts} +35 -16
- package/dist/address/index.cjs +38 -7
- package/dist/address/index.d.cts +2 -2
- package/dist/address/index.d.ts +2 -2
- package/dist/address/index.js +3 -3
- package/dist/{chunk-ATEHMLKP.js → chunk-6AFUC5M2.js} +1 -1
- package/dist/{chunk-ZXDE2XMU.js → chunk-BUTZWYBW.js} +9 -6
- package/dist/{chunk-7EFSUADA.js → chunk-DOA6QXYQ.js} +1 -0
- package/dist/{chunk-J5W5Q2ZP.js → chunk-DQYKQJRZ.js} +291 -7
- package/dist/{chunk-TWF35O6M.js → chunk-GSI4OLXZ.js} +32 -1
- package/dist/{chunk-2ZXXLPG2.js → chunk-GYQR4B4P.js} +5 -4
- package/dist/{chunk-ROKY5KS4.js → chunk-HRQRRDSS.js} +53 -15
- package/dist/{chunk-YEZDPUFY.js → chunk-IRW5TWMH.js} +8 -8
- package/dist/{chunk-7VMYMQLF.js → chunk-NSJF5F5O.js} +1 -1
- package/dist/{chunk-TM4TOEOX.js → chunk-O4RYNJNB.js} +3 -3
- package/dist/{chunk-MGPRLH6Q.js → chunk-QNNSEJ4P.js} +1 -1
- package/dist/{chunk-UKT6OFLO.js → chunk-TIUBYNN5.js} +13 -7
- package/dist/{chunk-6YVPOQ2A.js → chunk-TOSP3INR.js} +235 -143
- package/dist/chunk-VFJQNBFX.js +21 -0
- package/dist/{chunk-KKSU7OZO.js → chunk-WWOTVNPP.js} +195 -67
- package/dist/{chunk-HK6LPV6Z.js → chunk-Z5HIAYFT.js} +1 -1
- package/dist/graphql/objects/index.cjs +229 -135
- package/dist/graphql/objects/index.d.cts +54 -9
- package/dist/graphql/objects/index.d.ts +54 -9
- package/dist/graphql/objects/index.js +3 -3
- package/dist/{index-OSDtPMmC.d.ts → index-7RYRH5wc.d.ts} +10 -8
- package/dist/{index-CFh4uWzi.d.cts → index-BJOc8Ur-.d.cts} +10 -8
- package/dist/index.cjs +790 -315
- package/dist/index.d.cts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.js +26 -26
- package/dist/index.node.cjs +790 -315
- package/dist/index.node.d.cts +9 -8
- package/dist/index.node.d.ts +9 -8
- package/dist/index.node.js +26 -26
- package/dist/native/index.cjs +812 -332
- package/dist/native/index.d.cts +53 -18
- package/dist/native/index.d.ts +53 -18
- package/dist/native/index.js +659 -181
- package/dist/{network-BiwBmoOg.d.cts → network-D5lKssVl.d.cts} +1 -1
- package/dist/{network-BF2GYPye.d.ts → network-xkBSpaTn.d.ts} +1 -1
- package/dist/proto/lrc20.d.cts +1 -1
- package/dist/proto/lrc20.d.ts +1 -1
- package/dist/proto/spark.d.cts +1 -1
- package/dist/proto/spark.d.ts +1 -1
- package/dist/proto/spark_token.d.cts +1 -1
- package/dist/proto/spark_token.d.ts +1 -1
- package/dist/{sdk-types-CfhdFnsA.d.cts → sdk-types-B-q9py_P.d.cts} +1 -1
- package/dist/{sdk-types-MnQrHolg.d.ts → sdk-types-BPoPgzda.d.ts} +1 -1
- package/dist/services/config.cjs +118 -69
- package/dist/services/config.d.cts +6 -4
- package/dist/services/config.d.ts +6 -4
- package/dist/services/config.js +9 -9
- package/dist/services/connection.cjs +95 -15
- package/dist/services/connection.d.cts +6 -4
- package/dist/services/connection.d.ts +6 -4
- package/dist/services/connection.js +3 -3
- package/dist/services/index.cjs +487 -117
- package/dist/services/index.d.cts +5 -4
- package/dist/services/index.d.ts +5 -4
- package/dist/services/index.js +19 -19
- package/dist/services/lrc-connection.cjs +50 -7
- package/dist/services/lrc-connection.d.cts +5 -4
- package/dist/services/lrc-connection.d.ts +5 -4
- package/dist/services/lrc-connection.js +3 -3
- package/dist/services/token-transactions.cjs +351 -36
- package/dist/services/token-transactions.d.cts +5 -4
- package/dist/services/token-transactions.d.ts +5 -4
- package/dist/services/token-transactions.js +6 -6
- package/dist/services/wallet-config.cjs +1 -0
- package/dist/services/wallet-config.d.cts +6 -4
- package/dist/services/wallet-config.d.ts +6 -4
- package/dist/services/wallet-config.js +1 -1
- package/dist/signer/signer.cjs +117 -64
- package/dist/signer/signer.d.cts +4 -3
- package/dist/signer/signer.d.ts +4 -3
- package/dist/signer/signer.js +15 -7
- package/dist/{signer-CylxIujU.d.ts → signer-IO3oMRNj.d.cts} +2 -1
- package/dist/{signer-BhLS7SYR.d.cts → signer-wqesWifN.d.ts} +2 -1
- package/dist/{spark-DjR1b3TC.d.cts → spark-CDm4gqS6.d.cts} +1 -1
- package/dist/{spark-DjR1b3TC.d.ts → spark-CDm4gqS6.d.ts} +1 -1
- package/dist/types/index.cjs +282 -188
- package/dist/types/index.d.cts +7 -6
- package/dist/types/index.d.ts +7 -6
- package/dist/types/index.js +3 -3
- package/dist/utils/index.cjs +90 -58
- package/dist/utils/index.d.cts +6 -5
- package/dist/utils/index.d.ts +6 -5
- package/dist/utils/index.js +16 -16
- package/ios/spark_frostFFI.xcframework/ios-arm64/SparkFrost +0 -0
- package/ios/spark_frostFFI.xcframework/ios-arm64/spark_frostFFI.framework/spark_frostFFI +0 -0
- package/ios/spark_frostFFI.xcframework/ios-arm64_x86_64-simulator/SparkFrost +0 -0
- package/ios/spark_frostFFI.xcframework/ios-arm64_x86_64-simulator/spark_frostFFI.framework/spark_frostFFI +0 -0
- package/ios/spark_frostFFI.xcframework/macos-arm64_x86_64/spark_frostFFI.framework/spark_frostFFI +0 -0
- package/package.json +4 -4
- package/src/constants.ts +21 -0
- package/src/errors/base.ts +43 -1
- package/src/graphql/client.ts +4 -0
- package/src/graphql/mutations/RequestLightningSend.ts +2 -0
- package/src/graphql/objects/ClaimStaticDepositInput.ts +1 -1
- package/src/graphql/objects/ClaimStaticDepositStatus.ts +4 -2
- package/src/graphql/objects/Connection.ts +7 -7
- package/src/graphql/objects/CoopExitFeeEstimate.ts +1 -1
- package/src/graphql/objects/CoopExitFeeQuote.ts +202 -0
- package/src/graphql/objects/CoopExitFeeQuoteInput.ts +41 -0
- package/src/graphql/objects/CoopExitFeeQuoteOutput.ts +45 -0
- package/src/graphql/objects/CoopExitRequest.ts +21 -0
- package/src/graphql/objects/CurrencyUnit.ts +26 -28
- package/src/graphql/objects/Entity.ts +84 -0
- package/src/graphql/objects/Invoice.ts +2 -2
- package/src/graphql/objects/Leaf.ts +1 -1
- package/src/graphql/objects/LeavesSwapFeeEstimateOutput.ts +1 -1
- package/src/graphql/objects/LeavesSwapRequest.ts +6 -0
- package/src/graphql/objects/LightningReceiveRequest.ts +11 -0
- package/src/graphql/objects/LightningSendFeeEstimateInput.ts +8 -0
- package/src/graphql/objects/LightningSendFeeEstimateOutput.ts +1 -1
- package/src/graphql/objects/LightningSendRequest.ts +3 -0
- package/src/graphql/objects/RequestCoopExitInput.ts +8 -0
- package/src/graphql/objects/RequestLeavesSwapInput.ts +5 -1
- package/src/graphql/objects/RequestLightningReceiveInput.ts +9 -2
- package/src/graphql/objects/RequestLightningSendInput.ts +8 -0
- package/src/graphql/objects/SparkCoopExitRequestStatus.ts +2 -0
- package/src/graphql/objects/SparkUserRequestType.ts +2 -0
- package/src/graphql/objects/SparkWalletUser.ts +20 -0
- package/src/graphql/objects/UserRequest.ts +32 -0
- package/src/graphql/objects/VerifyChallengeInput.ts +1 -1
- package/src/graphql/objects/index.ts +12 -3
- package/src/graphql/queries/LightningSendFeeEstimate.ts +2 -0
- package/src/logger.ts +3 -0
- package/src/native/index.ts +1 -0
- package/src/services/config.ts +4 -0
- package/src/services/connection.ts +68 -29
- package/src/services/coop-exit.ts +1 -1
- package/src/services/lightning.ts +25 -1
- package/src/services/lrc-connection.ts +3 -3
- package/src/services/token-transactions.ts +6 -2
- package/src/services/wallet-config.ts +2 -0
- package/src/signer/signer.ts +4 -1
- package/src/spark-wallet/spark-wallet.ts +51 -15
- package/src/spark-wallet/types.ts +1 -0
- package/src/tests/errors.test.ts +58 -0
- package/src/tests/integration/lightning.test.ts +184 -0
- package/src/tests/integration/ssp/static_deposit.test.ts +1 -2
- package/src/tests/tokens.test.ts +52 -3
- package/src/utils/token-hashing.ts +335 -1
- package/dist/LightningSendFeeEstimateInput-CJvPnCSB.d.cts +0 -5
- package/dist/LightningSendFeeEstimateInput-CJvPnCSB.d.ts +0 -5
- package/dist/chunk-HKAKEKCE.js +0 -8
package/dist/index.node.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { S as SparkWallet$1, I as InitWalletResponse } from './index-
|
|
2
|
-
export { A as AuthenticationError, C as ConfigurationError, e as CreateLightningInvoiceParams, D as DepositParams, b as InternalValidationError, N as NetworkError, d as NotImplementedError, P as PayLightningInvoiceParams, R as RPCError, a as SparkSDKError, h as SparkWalletEvents, g as SparkWalletProps, f as TokenInfo, T as TransferParams, V as ValidationError, c as createDummyTx } from './index-
|
|
1
|
+
import { S as SparkWallet$1, I as InitWalletResponse } from './index-BJOc8Ur-.cjs';
|
|
2
|
+
export { A as AuthenticationError, C as ConfigurationError, e as CreateLightningInvoiceParams, D as DepositParams, b as InternalValidationError, N as NetworkError, d as NotImplementedError, P as PayLightningInvoiceParams, R as RPCError, a as SparkSDKError, h as SparkWalletEvents, g as SparkWalletProps, f as TokenInfo, T as TransferParams, V as ValidationError, c as createDummyTx } from './index-BJOc8Ur-.cjs';
|
|
3
3
|
export { BroadcastConfig, BroadcastResult, DEFAULT_FEE_SATS, FeeBumpTxChain, FeeBumpTxPackage, FeeRate, LeafInfo, TxChain, Utxo, addPrivateKeys, addPublicKeys, applyAdaptorToSignature, applyAdditiveTweakToPublicKey, calculateAvailableTokenAmount, checkIfSelectedOutputsAreAvailable, checkIfValidSequence, collectResponses, computeTaprootKeyNoScript, constructFeeBumpTx, constructUnilateralExitFeeBumpPackages, constructUnilateralExitTxs, createRefundTx, createSigningCommitment, createSigningNonce, decodeBytesToSigningCommitment, decodeBytesToSigningNonce, encodeSigningCommitmentToBytes, encodeSigningNonceToBytes, filterTokenBalanceForTokenPublicKey, generateAdaptorFromSignature, generateSignatureFromExistingAdaptor, getCurrentTimelock, getEphemeralAnchorOutput, getLatestDepositTxId, getNextTransactionSequence, getP2TRAddressFromPkScript, getP2TRAddressFromPublicKey, getP2TRScriptFromPublicKey, getP2WPKHAddressFromPublicKey, getRandomSigningNonce, getSigHashFromTx, getSigningCommitmentFromNonce, getSparkAddressFromTaproot, getTransactionSequence, getTransferPackageSigningPayload, getTxFromRawTxBytes, getTxFromRawTxHex, getTxId, getTxIdNoReverse, isEphemeralAnchorOutput, isTxBroadcast, lastKeyWithTarget, maybeApplyFee, proofOfPossessionMessageHashForDepositAddress, subtractPrivateKeys, subtractPublicKeys, sumOfPrivateKeys, validateOutboundAdaptorSignature } from './utils/index.cjs';
|
|
4
|
-
export { L as LRC_WALLET_NETWORK, c as LRC_WALLET_NETWORK_TYPE, N as Network, b as NetworkToProto, a as NetworkType, g as getNetwork, d as getNetworkFromAddress, e as getNetworkFromString } from './network-
|
|
5
|
-
export { V as VerifiableSecretShare, d as bigIntToPrivateKey, c as computerLagrangeCoefficients, e as evaluatePolynomial, f as fieldDiv, a as generatePolynomialForSecretSharing, g as getRandomBigInt, m as modInverse, r as recoverSecret, s as splitSecret, b as splitSecretWithProofs, v as validateShare } from './signer-
|
|
6
|
-
import './RequestLightningSendInput-
|
|
4
|
+
export { L as LRC_WALLET_NETWORK, c as LRC_WALLET_NETWORK_TYPE, N as Network, b as NetworkToProto, a as NetworkType, g as getNetwork, d as getNetworkFromAddress, e as getNetworkFromString } from './network-D5lKssVl.cjs';
|
|
5
|
+
export { V as VerifiableSecretShare, d as bigIntToPrivateKey, c as computerLagrangeCoefficients, e as evaluatePolynomial, f as fieldDiv, a as generatePolynomialForSecretSharing, g as getRandomBigInt, m as modInverse, r as recoverSecret, s as splitSecret, b as splitSecretWithProofs, v as validateShare } from './signer-IO3oMRNj.cjs';
|
|
6
|
+
import './RequestLightningSendInput-Na1mHdWg.cjs';
|
|
7
7
|
import '@lightsparkdev/core';
|
|
8
8
|
import './BitcoinNetwork-TnABML0T.cjs';
|
|
9
|
-
import './LightningSendFeeEstimateInput-
|
|
10
|
-
import './spark-
|
|
9
|
+
import './LightningSendFeeEstimateInput-BgOhEAI-.cjs';
|
|
10
|
+
import './spark-CDm4gqS6.cjs';
|
|
11
11
|
import '@bufbuild/protobuf/wire';
|
|
12
12
|
import 'nice-grpc-common';
|
|
13
13
|
import './services/config.cjs';
|
|
@@ -22,10 +22,11 @@ import './proto/lrc20.cjs';
|
|
|
22
22
|
import '@scure/btc-signer';
|
|
23
23
|
import 'eventemitter3';
|
|
24
24
|
import './address/index.cjs';
|
|
25
|
-
import './sdk-types-
|
|
25
|
+
import './sdk-types-B-q9py_P.cjs';
|
|
26
26
|
import '@scure/btc-signer/psbt';
|
|
27
27
|
import 'bitcoinjs-lib';
|
|
28
28
|
import '@scure/bip32';
|
|
29
|
+
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
29
30
|
|
|
30
31
|
declare class SparkWallet extends SparkWallet$1 {
|
|
31
32
|
private tracer;
|
package/dist/index.node.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { S as SparkWallet$1, I as InitWalletResponse } from './index-
|
|
2
|
-
export { A as AuthenticationError, C as ConfigurationError, e as CreateLightningInvoiceParams, D as DepositParams, b as InternalValidationError, N as NetworkError, d as NotImplementedError, P as PayLightningInvoiceParams, R as RPCError, a as SparkSDKError, h as SparkWalletEvents, g as SparkWalletProps, f as TokenInfo, T as TransferParams, V as ValidationError, c as createDummyTx } from './index-
|
|
1
|
+
import { S as SparkWallet$1, I as InitWalletResponse } from './index-7RYRH5wc.js';
|
|
2
|
+
export { A as AuthenticationError, C as ConfigurationError, e as CreateLightningInvoiceParams, D as DepositParams, b as InternalValidationError, N as NetworkError, d as NotImplementedError, P as PayLightningInvoiceParams, R as RPCError, a as SparkSDKError, h as SparkWalletEvents, g as SparkWalletProps, f as TokenInfo, T as TransferParams, V as ValidationError, c as createDummyTx } from './index-7RYRH5wc.js';
|
|
3
3
|
export { BroadcastConfig, BroadcastResult, DEFAULT_FEE_SATS, FeeBumpTxChain, FeeBumpTxPackage, FeeRate, LeafInfo, TxChain, Utxo, addPrivateKeys, addPublicKeys, applyAdaptorToSignature, applyAdditiveTweakToPublicKey, calculateAvailableTokenAmount, checkIfSelectedOutputsAreAvailable, checkIfValidSequence, collectResponses, computeTaprootKeyNoScript, constructFeeBumpTx, constructUnilateralExitFeeBumpPackages, constructUnilateralExitTxs, createRefundTx, createSigningCommitment, createSigningNonce, decodeBytesToSigningCommitment, decodeBytesToSigningNonce, encodeSigningCommitmentToBytes, encodeSigningNonceToBytes, filterTokenBalanceForTokenPublicKey, generateAdaptorFromSignature, generateSignatureFromExistingAdaptor, getCurrentTimelock, getEphemeralAnchorOutput, getLatestDepositTxId, getNextTransactionSequence, getP2TRAddressFromPkScript, getP2TRAddressFromPublicKey, getP2TRScriptFromPublicKey, getP2WPKHAddressFromPublicKey, getRandomSigningNonce, getSigHashFromTx, getSigningCommitmentFromNonce, getSparkAddressFromTaproot, getTransactionSequence, getTransferPackageSigningPayload, getTxFromRawTxBytes, getTxFromRawTxHex, getTxId, getTxIdNoReverse, isEphemeralAnchorOutput, isTxBroadcast, lastKeyWithTarget, maybeApplyFee, proofOfPossessionMessageHashForDepositAddress, subtractPrivateKeys, subtractPublicKeys, sumOfPrivateKeys, validateOutboundAdaptorSignature } from './utils/index.js';
|
|
4
|
-
export { L as LRC_WALLET_NETWORK, c as LRC_WALLET_NETWORK_TYPE, N as Network, b as NetworkToProto, a as NetworkType, g as getNetwork, d as getNetworkFromAddress, e as getNetworkFromString } from './network-
|
|
5
|
-
export { V as VerifiableSecretShare, d as bigIntToPrivateKey, c as computerLagrangeCoefficients, e as evaluatePolynomial, f as fieldDiv, a as generatePolynomialForSecretSharing, g as getRandomBigInt, m as modInverse, r as recoverSecret, s as splitSecret, b as splitSecretWithProofs, v as validateShare } from './signer-
|
|
6
|
-
import './RequestLightningSendInput-
|
|
4
|
+
export { L as LRC_WALLET_NETWORK, c as LRC_WALLET_NETWORK_TYPE, N as Network, b as NetworkToProto, a as NetworkType, g as getNetwork, d as getNetworkFromAddress, e as getNetworkFromString } from './network-xkBSpaTn.js';
|
|
5
|
+
export { V as VerifiableSecretShare, d as bigIntToPrivateKey, c as computerLagrangeCoefficients, e as evaluatePolynomial, f as fieldDiv, a as generatePolynomialForSecretSharing, g as getRandomBigInt, m as modInverse, r as recoverSecret, s as splitSecret, b as splitSecretWithProofs, v as validateShare } from './signer-wqesWifN.js';
|
|
6
|
+
import './RequestLightningSendInput-D7fZdT4A.js';
|
|
7
7
|
import '@lightsparkdev/core';
|
|
8
8
|
import './BitcoinNetwork-TnABML0T.js';
|
|
9
|
-
import './LightningSendFeeEstimateInput-
|
|
10
|
-
import './spark-
|
|
9
|
+
import './LightningSendFeeEstimateInput-BgOhEAI-.js';
|
|
10
|
+
import './spark-CDm4gqS6.js';
|
|
11
11
|
import '@bufbuild/protobuf/wire';
|
|
12
12
|
import 'nice-grpc-common';
|
|
13
13
|
import './services/config.js';
|
|
@@ -22,10 +22,11 @@ import './proto/lrc20.js';
|
|
|
22
22
|
import '@scure/btc-signer';
|
|
23
23
|
import 'eventemitter3';
|
|
24
24
|
import './address/index.js';
|
|
25
|
-
import './sdk-types-
|
|
25
|
+
import './sdk-types-BPoPgzda.js';
|
|
26
26
|
import '@scure/btc-signer/psbt';
|
|
27
27
|
import 'bitcoinjs-lib';
|
|
28
28
|
import '@scure/bip32';
|
|
29
|
+
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
29
30
|
|
|
30
31
|
declare class SparkWallet extends SparkWallet$1 {
|
|
31
32
|
private tracer;
|
package/dist/index.node.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SparkWallet
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WWOTVNPP.js";
|
|
4
4
|
import {
|
|
5
5
|
createDummyTx
|
|
6
6
|
} from "./chunk-K4C4W5FC.js";
|
|
7
|
+
import "./chunk-HRQRRDSS.js";
|
|
8
|
+
import "./chunk-GYQR4B4P.js";
|
|
9
|
+
import "./chunk-DQYKQJRZ.js";
|
|
7
10
|
import {
|
|
8
11
|
DEFAULT_FEE_SATS,
|
|
9
12
|
checkIfValidSequence,
|
|
@@ -32,11 +35,20 @@ import {
|
|
|
32
35
|
isTxBroadcast,
|
|
33
36
|
maybeApplyFee,
|
|
34
37
|
proofOfPossessionMessageHashForDepositAddress
|
|
35
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-IRW5TWMH.js";
|
|
39
|
+
import {
|
|
40
|
+
calculateAvailableTokenAmount,
|
|
41
|
+
checkIfSelectedOutputsAreAvailable,
|
|
42
|
+
collectResponses,
|
|
43
|
+
filterTokenBalanceForTokenPublicKey
|
|
44
|
+
} from "./chunk-6AFUC5M2.js";
|
|
36
45
|
import "./chunk-MIVX3GHD.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-TOSP3INR.js";
|
|
47
|
+
import "./chunk-L3EHBOUX.js";
|
|
48
|
+
import "./chunk-O4RYNJNB.js";
|
|
49
|
+
import "./chunk-ABZA6R5S.js";
|
|
50
|
+
import "./chunk-VA7MV4MZ.js";
|
|
51
|
+
import "./chunk-BUTZWYBW.js";
|
|
40
52
|
import {
|
|
41
53
|
LRC_WALLET_NETWORK,
|
|
42
54
|
LRC_WALLET_NETWORK_TYPE,
|
|
@@ -45,8 +57,12 @@ import {
|
|
|
45
57
|
getNetwork,
|
|
46
58
|
getNetworkFromAddress,
|
|
47
59
|
getNetworkFromString
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-Z5HIAYFT.js";
|
|
61
|
+
import "./chunk-DOA6QXYQ.js";
|
|
62
|
+
import "./chunk-HMLOC6TE.js";
|
|
63
|
+
import "./chunk-M6A4KFIG.js";
|
|
64
|
+
import "./chunk-TIUBYNN5.js";
|
|
65
|
+
import "./chunk-VFJQNBFX.js";
|
|
50
66
|
import {
|
|
51
67
|
addPrivateKeys,
|
|
52
68
|
addPublicKeys,
|
|
@@ -67,22 +83,7 @@ import {
|
|
|
67
83
|
subtractPublicKeys,
|
|
68
84
|
sumOfPrivateKeys,
|
|
69
85
|
validateOutboundAdaptorSignature
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import "./chunk-HMLOC6TE.js";
|
|
72
|
-
import "./chunk-ROKY5KS4.js";
|
|
73
|
-
import "./chunk-VA7MV4MZ.js";
|
|
74
|
-
import "./chunk-2ZXXLPG2.js";
|
|
75
|
-
import "./chunk-ABZA6R5S.js";
|
|
76
|
-
import "./chunk-HKAKEKCE.js";
|
|
77
|
-
import "./chunk-J5W5Q2ZP.js";
|
|
78
|
-
import {
|
|
79
|
-
calculateAvailableTokenAmount,
|
|
80
|
-
checkIfSelectedOutputsAreAvailable,
|
|
81
|
-
collectResponses,
|
|
82
|
-
filterTokenBalanceForTokenPublicKey
|
|
83
|
-
} from "./chunk-ATEHMLKP.js";
|
|
84
|
-
import "./chunk-L3EHBOUX.js";
|
|
85
|
-
import "./chunk-TM4TOEOX.js";
|
|
86
|
+
} from "./chunk-NSJF5F5O.js";
|
|
86
87
|
import {
|
|
87
88
|
bigIntToPrivateKey,
|
|
88
89
|
computerLagrangeCoefficients,
|
|
@@ -95,7 +96,7 @@ import {
|
|
|
95
96
|
splitSecret,
|
|
96
97
|
splitSecretWithProofs,
|
|
97
98
|
validateShare
|
|
98
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-QNNSEJ4P.js";
|
|
99
100
|
import "./chunk-VTUGIIWI.js";
|
|
100
101
|
import {
|
|
101
102
|
AuthenticationError,
|
|
@@ -106,8 +107,7 @@ import {
|
|
|
106
107
|
RPCError,
|
|
107
108
|
SparkSDKError,
|
|
108
109
|
ValidationError
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import "./chunk-M6A4KFIG.js";
|
|
110
|
+
} from "./chunk-GSI4OLXZ.js";
|
|
111
111
|
import "./chunk-MVRQ5US7.js";
|
|
112
112
|
|
|
113
113
|
// src/spark-wallet/spark-wallet.node.ts
|