@buildonspark/spark-sdk 0.1.45 → 0.1.46
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 +8 -0
- package/dist/{RequestLightningSendInput-Du0z7Om7.d.cts → RequestLightningSendInput-2cSh_In4.d.cts} +1 -1
- package/dist/{RequestLightningSendInput-DEPd_fPO.d.ts → RequestLightningSendInput-CN6BNg_g.d.ts} +1 -1
- package/dist/address/index.d.cts +2 -2
- package/dist/address/index.d.ts +2 -2
- package/dist/{chunk-R5PXJZQS.js → chunk-4EMV7HHW.js} +1 -1
- package/dist/{chunk-PQN3C2MF.js → chunk-DXR2PXJU.js} +1 -1
- package/dist/{chunk-GZ5IPPJ2.js → chunk-HHNQ3ZHC.js} +1 -1
- package/dist/{chunk-6264CGDM.js → chunk-HSCLBJEL.js} +4 -4
- package/dist/{chunk-J2IE4Z7Y.js → chunk-JB64OQES.js} +47 -47
- package/dist/{chunk-YUPMXTCJ.js → chunk-N5VZVCGJ.js} +3 -3
- package/dist/{chunk-7V6N75CC.js → chunk-OFCJFZ4I.js} +1 -1
- package/dist/{chunk-5FUB65LX.js → chunk-UXDODSDT.js} +6 -6
- package/dist/graphql/objects/index.d.cts +4 -4
- package/dist/graphql/objects/index.d.ts +4 -4
- package/dist/{index-B2AwKW5J.d.cts → index-CKL5DodV.d.cts} +3 -3
- package/dist/{index-CJDi1HWc.d.ts → index-COm59SPw.d.ts} +3 -3
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +22 -22
- package/dist/index.node.cjs +2 -2
- package/dist/index.node.d.cts +7 -7
- package/dist/index.node.d.ts +7 -7
- package/dist/index.node.js +22 -22
- package/dist/native/index.cjs +2 -2
- package/dist/native/index.js +2 -2
- package/dist/{network-CqgsdUF2.d.cts → network-Css46DAz.d.cts} +1 -1
- package/dist/{network-BTJl-Sul.d.ts → network-hynb7iTZ.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-Cc4l4kb1.d.ts → sdk-types-CKBsylfW.d.ts} +1 -1
- package/dist/{sdk-types-B0SwjolI.d.cts → sdk-types-Ct8xmN7l.d.cts} +1 -1
- package/dist/services/config.cjs +2 -2
- package/dist/services/config.d.cts +4 -4
- package/dist/services/config.d.ts +4 -4
- package/dist/services/config.js +5 -5
- package/dist/services/connection.cjs +1 -1
- package/dist/services/connection.d.cts +4 -4
- package/dist/services/connection.d.ts +4 -4
- package/dist/services/connection.js +2 -2
- package/dist/services/index.cjs +2 -2
- package/dist/services/index.d.cts +4 -4
- package/dist/services/index.d.ts +4 -4
- package/dist/services/index.js +14 -14
- package/dist/services/lrc-connection.cjs +1 -1
- package/dist/services/lrc-connection.d.cts +4 -4
- package/dist/services/lrc-connection.d.ts +4 -4
- package/dist/services/lrc-connection.js +2 -2
- package/dist/services/token-transactions.d.cts +4 -4
- package/dist/services/token-transactions.d.ts +4 -4
- package/dist/services/token-transactions.js +1 -1
- package/dist/services/wallet-config.cjs +1 -1
- package/dist/services/wallet-config.d.cts +4 -4
- package/dist/services/wallet-config.d.ts +4 -4
- package/dist/services/wallet-config.js +1 -1
- package/dist/signer/signer.cjs +1 -1
- package/dist/signer/signer.d.cts +2 -2
- package/dist/signer/signer.d.ts +2 -2
- package/dist/signer/signer.js +2 -2
- package/dist/{signer-DKS0AJkw.d.cts → signer-BP6F__oR.d.cts} +1 -1
- package/dist/{signer-BocS_J6B.d.ts → signer-BVZJXcq7.d.ts} +1 -1
- package/dist/{spark-dM7EYXYQ.d.cts → spark-DbzGfse6.d.cts} +1 -1
- package/dist/{spark-dM7EYXYQ.d.ts → spark-DbzGfse6.d.ts} +1 -1
- package/dist/types/index.d.cts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.cts +5 -5
- package/dist/utils/index.d.ts +5 -5
- package/dist/utils/index.js +12 -12
- package/package.json +2 -2
- package/src/services/wallet-config.ts +1 -1
package/dist/index.node.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SparkWallet
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-GZ5IPPJ2.js";
|
|
5
|
-
import "./chunk-C2S227QR.js";
|
|
3
|
+
} from "./chunk-JB64OQES.js";
|
|
6
4
|
import {
|
|
7
5
|
DEFAULT_FEE_SATS,
|
|
8
6
|
checkIfValidSequence,
|
|
@@ -31,20 +29,8 @@ import {
|
|
|
31
29
|
isTxBroadcast,
|
|
32
30
|
maybeApplyFee,
|
|
33
31
|
proofOfPossessionMessageHashForDepositAddress
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import
|
|
36
|
-
calculateAvailableTokenAmount,
|
|
37
|
-
checkIfSelectedOutputsAreAvailable,
|
|
38
|
-
collectResponses,
|
|
39
|
-
filterTokenBalanceForTokenPublicKey
|
|
40
|
-
} from "./chunk-HWJWKEIU.js";
|
|
41
|
-
import "./chunk-OBFKIEMP.js";
|
|
42
|
-
import "./chunk-I54FARY2.js";
|
|
43
|
-
import "./chunk-L3EHBOUX.js";
|
|
44
|
-
import "./chunk-KMUMFYFX.js";
|
|
45
|
-
import "./chunk-NTFKFRQ2.js";
|
|
46
|
-
import "./chunk-6264CGDM.js";
|
|
47
|
-
import "./chunk-YUPMXTCJ.js";
|
|
32
|
+
} from "./chunk-UXDODSDT.js";
|
|
33
|
+
import "./chunk-HSCLBJEL.js";
|
|
48
34
|
import {
|
|
49
35
|
LRC_WALLET_NETWORK,
|
|
50
36
|
LRC_WALLET_NETWORK_TYPE,
|
|
@@ -54,7 +40,21 @@ import {
|
|
|
54
40
|
getNetworkFromAddress,
|
|
55
41
|
getNetworkFromString
|
|
56
42
|
} from "./chunk-Z5HIAYFT.js";
|
|
57
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-DXR2PXJU.js";
|
|
44
|
+
import "./chunk-HHNQ3ZHC.js";
|
|
45
|
+
import "./chunk-C2S227QR.js";
|
|
46
|
+
import {
|
|
47
|
+
calculateAvailableTokenAmount,
|
|
48
|
+
checkIfSelectedOutputsAreAvailable,
|
|
49
|
+
collectResponses,
|
|
50
|
+
filterTokenBalanceForTokenPublicKey
|
|
51
|
+
} from "./chunk-HWJWKEIU.js";
|
|
52
|
+
import "./chunk-4EMV7HHW.js";
|
|
53
|
+
import "./chunk-L3EHBOUX.js";
|
|
54
|
+
import "./chunk-KMUMFYFX.js";
|
|
55
|
+
import "./chunk-NTFKFRQ2.js";
|
|
56
|
+
import "./chunk-LHRD2WT6.js";
|
|
57
|
+
import "./chunk-N5VZVCGJ.js";
|
|
58
58
|
import {
|
|
59
59
|
addPrivateKeys,
|
|
60
60
|
addPublicKeys,
|
|
@@ -76,6 +76,7 @@ import {
|
|
|
76
76
|
sumOfPrivateKeys,
|
|
77
77
|
validateOutboundAdaptorSignature
|
|
78
78
|
} from "./chunk-NSJF5F5O.js";
|
|
79
|
+
import "./chunk-OFCJFZ4I.js";
|
|
79
80
|
import {
|
|
80
81
|
bigIntToPrivateKey,
|
|
81
82
|
computerLagrangeCoefficients,
|
|
@@ -89,11 +90,7 @@ import {
|
|
|
89
90
|
splitSecretWithProofs,
|
|
90
91
|
validateShare
|
|
91
92
|
} from "./chunk-QNNSEJ4P.js";
|
|
92
|
-
import "./chunk-HMLOC6TE.js";
|
|
93
93
|
import "./chunk-VTUGIIWI.js";
|
|
94
|
-
import "./chunk-PQN3C2MF.js";
|
|
95
|
-
import "./chunk-LHRD2WT6.js";
|
|
96
|
-
import "./chunk-7V6N75CC.js";
|
|
97
94
|
import {
|
|
98
95
|
AuthenticationError,
|
|
99
96
|
ConfigurationError,
|
|
@@ -104,6 +101,9 @@ import {
|
|
|
104
101
|
SparkSDKError,
|
|
105
102
|
ValidationError
|
|
106
103
|
} from "./chunk-GSI4OLXZ.js";
|
|
104
|
+
import "./chunk-OBFKIEMP.js";
|
|
105
|
+
import "./chunk-I54FARY2.js";
|
|
106
|
+
import "./chunk-HMLOC6TE.js";
|
|
107
107
|
import "./chunk-BGGEVUJK.js";
|
|
108
108
|
import "./chunk-MVRQ5US7.js";
|
|
109
109
|
|
package/dist/native/index.cjs
CHANGED
|
@@ -1627,7 +1627,7 @@ init_buffer();
|
|
|
1627
1627
|
var import_core = require("@lightsparkdev/core");
|
|
1628
1628
|
var isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
|
|
1629
1629
|
var isBun = globalThis.Bun !== void 0;
|
|
1630
|
-
var packageVersion = true ? "0.1.
|
|
1630
|
+
var packageVersion = true ? "0.1.46" : "unknown";
|
|
1631
1631
|
var baseEnvStr = "unknown";
|
|
1632
1632
|
if (isBun) {
|
|
1633
1633
|
const bunVersion = "version" in globalThis.Bun ? globalThis.Bun.version : "unknown-version";
|
|
@@ -19140,7 +19140,7 @@ var BASE_CONFIG = {
|
|
|
19140
19140
|
threshold: 2,
|
|
19141
19141
|
signingOperators: getLocalSigningOperators(),
|
|
19142
19142
|
tokenSignatures: "SCHNORR",
|
|
19143
|
-
tokenTransactionVersion: "
|
|
19143
|
+
tokenTransactionVersion: "V1",
|
|
19144
19144
|
tokenValidityDurationSeconds: 180,
|
|
19145
19145
|
electrsUrl: getElectrsUrl("LOCAL"),
|
|
19146
19146
|
expectedWithdrawBondSats: 1e4,
|
package/dist/native/index.js
CHANGED
|
@@ -255,7 +255,7 @@ import * as ecies from "eciesjs";
|
|
|
255
255
|
import { isNode } from "@lightsparkdev/core";
|
|
256
256
|
var isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
|
|
257
257
|
var isBun = globalThis.Bun !== void 0;
|
|
258
|
-
var packageVersion = true ? "0.1.
|
|
258
|
+
var packageVersion = true ? "0.1.46" : "unknown";
|
|
259
259
|
var baseEnvStr = "unknown";
|
|
260
260
|
if (isBun) {
|
|
261
261
|
const bunVersion = "version" in globalThis.Bun ? globalThis.Bun.version : "unknown-version";
|
|
@@ -17675,7 +17675,7 @@ var BASE_CONFIG = {
|
|
|
17675
17675
|
threshold: 2,
|
|
17676
17676
|
signingOperators: getLocalSigningOperators(),
|
|
17677
17677
|
tokenSignatures: "SCHNORR",
|
|
17678
|
-
tokenTransactionVersion: "
|
|
17678
|
+
tokenTransactionVersion: "V1",
|
|
17679
17679
|
tokenValidityDurationSeconds: 180,
|
|
17680
17680
|
electrsUrl: getElectrsUrl("LOCAL"),
|
|
17681
17681
|
expectedWithdrawBondSats: 1e4,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NetworkType as NetworkType$1 } from '@buildonspark/lrc20-sdk';
|
|
2
2
|
import * as btc from '@scure/btc-signer';
|
|
3
3
|
import * as bitcoin from 'bitcoinjs-lib';
|
|
4
|
-
import { N as Network$1 } from './spark-
|
|
4
|
+
import { N as Network$1 } from './spark-DbzGfse6.cjs';
|
|
5
5
|
import { B as BitcoinNetwork } from './BitcoinNetwork-TnABML0T.cjs';
|
|
6
6
|
|
|
7
7
|
declare enum Network {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NetworkType as NetworkType$1 } from '@buildonspark/lrc20-sdk';
|
|
2
2
|
import * as btc from '@scure/btc-signer';
|
|
3
3
|
import * as bitcoin from 'bitcoinjs-lib';
|
|
4
|
-
import { N as Network$1 } from './spark-
|
|
4
|
+
import { N as Network$1 } from './spark-DbzGfse6.js';
|
|
5
5
|
import { B as BitcoinNetwork } from './BitcoinNetwork-TnABML0T.js';
|
|
6
6
|
|
|
7
7
|
declare enum Network {
|
package/dist/proto/lrc20.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as TokenTransaction, O as OperatorSpecificOwnerSignature, R as RevocationSecretWithIndex, E as Empty, M as MessageFns$1 } from '../spark-DbzGfse6.cjs';
|
|
2
2
|
import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
|
|
3
3
|
import { CallOptions, CallContext } from 'nice-grpc-common';
|
|
4
4
|
|
package/dist/proto/lrc20.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as TokenTransaction, O as OperatorSpecificOwnerSignature, R as RevocationSecretWithIndex, E as Empty, M as MessageFns$1 } from '../spark-DbzGfse6.js';
|
|
2
2
|
import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
|
|
3
3
|
import { CallOptions, CallContext } from 'nice-grpc-common';
|
|
4
4
|
|
package/dist/proto/spark.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { K as Address, bd as AddressNode, bb as AddressRequestNode, bK as BitcoinTransactionOutput, bv as CancelTransferRequest, bw as CancelTransferResponse, aJ as ClaimLeafKeyTweak, aK as ClaimLeafKeyTweak_PubkeySharesTweakEntry, aM as ClaimTransferSignRefundsRequest, aN as ClaimTransferSignRefundsResponse, aL as ClaimTransferTweakKeysRequest, C as ConnectedEvent, b1 as CooperativeExitRequest, b2 as CooperativeExitResponse, b3 as CounterLeafSwapRequest, b4 as CounterLeafSwapResponse, bg as CreateTreeRequest, bi as CreateTreeResponse, bf as CreationNode, bh as CreationResponseNode, bW as DeepPartial, H as DepositAddressProof, I as DepositAddressProof_AddressSignaturesEntry, bz as DepositAddressQueryResult, G as DepositEvent, bJ as ExitSingleNodeTreeSigningResult, bL as ExitSingleNodeTreesRequest, bM as ExitSingleNodeTreesResponse, bI as ExitingTree, b8 as ExtendLeafRequest, ba as ExtendLeafResponse, b9 as ExtendLeafSigningResult, au as FinalizeNodeSignaturesRequest, F as FinalizeNodeSignaturesResponse, am as FinalizeTokenTransactionRequest, aF as FinalizeTransferRequest, aH as FinalizeTransferResponse, aG as FinalizeTransferWithTransferPackageRequest, an as FreezeTokensPayload, ao as FreezeTokensRequest, ap as FreezeTokensResponse, J as GenerateDepositAddressRequest, V as GenerateDepositAddressResponse, aQ as GetSigningCommitmentsRequest, aR as GetSigningCommitmentsResponse, bk as GetSigningOperatorListResponse, bl as GetSigningOperatorListResponse_SigningOperatorsEntry, aX as InitiatePreimageSwapRequest, aY as InitiatePreimageSwapRequest_Reason, a$ as InitiatePreimageSwapResponse, bG as InitiateUtxoSwapRequest, bH as InitiateUtxoSwapResponse, bN as InvestigateLeavesRequest, aW as InvoiceAmount, aV as InvoiceAmountProof, ak as KeyshareWithIndex, ax as LeafRefundTxSigningJob, L as LeafRefundTxSigningResult, bY as MessageFns, N as Network, X as NodeOutput, a2 as NodeSignatureShares, i as NodeSignatures, O as OperatorSpecificOwnerSignature, ai as OperatorSpecificTokenTransactionSignablePayload, b0 as OutPoint, j as OutputWithPreviousTransactionData, P as PaymentIntentFields, bc as PrepareTreeAddressRequest, be as PrepareTreeAddressResponse, bo as ProvidePreimageRequest, bp as ProvidePreimageResponse, bC as QueryBalanceRequest, bD as QueryBalanceResponse, bE as QueryBalanceResponse_NodeBalancesEntry, bR as QueryNodesByValueRequest, bS as QueryNodesByValueResponse, bT as QueryNodesByValueResponse_NodesEntry, bO as QueryNodesDistributionRequest, bP as QueryNodesDistributionResponse, bQ as QueryNodesDistributionResponse_NodeDistributionEntry, bs as QueryNodesRequest, bt as QueryNodesResponse, bu as QueryNodesResponse_NodesEntry, by as QueryStaticDepositAddressesRequest, bB as QueryStaticDepositAddressesResponse, aq as QueryTokenOutputsRequest, at as QueryTokenOutputsResponse, ar as QueryTokenTransactionsRequest, as as QueryTokenTransactionsResponse, Q as QueryTransfersResponse, bx as QueryUnusedDepositAddressesRequest, bA as QueryUnusedDepositAddressesResponse, bm as QueryUserSignedRefundsRequest, bn as QueryUserSignedRefundsResponse, b5 as RefreshTimelockRequest, b7 as RefreshTimelockResponse, b6 as RefreshTimelockSigningResult, h as RequestedSigningCommitments, aP as RequestedSigningCommitments_SigningNonceCommitmentsEntry, bq as ReturnLightningPaymentRequest, R as RevocationSecretWithIndex, aw as SecretProof, av as SecretShare, aD as SendLeafKeyTweak, aE as SendLeafKeyTweak_PubkeySharesTweakEntry, aC as SendLeafKeyTweaks, bX as ServerStreamingMethodResult, aj as SignTokenTransactionRequest, al as SignTokenTransactionResponse, ae as SignatureWithIndex, aS as SigningCommitments, aT as SigningCommitments_SigningCommitmentsEntry, Y as SigningJob, S as SigningKeyshare, Z as SigningKeyshare_PublicSharesEntry, bj as SigningOperatorInfo, _ as SigningResult, $ as SigningResult_PublicKeysEntry, a1 as SigningResult_SignatureSharesEntry, a0 as SigningResult_SigningNonceCommitmentsEntry, bF as SparkAddress, g as SparkServiceClient, bU as SparkServiceDefinition, bV as SparkServiceImplementation, ac as SpentTokenOutputMetadata, a5 as StartDepositTreeCreationRequest, a6 as StartDepositTreeCreationResponse, ag as StartTokenTransactionRequest, ah as StartTokenTransactionResponse, az as StartTransferRequest, aA as StartTransferResponse, a3 as StartTreeCreationRequest, a4 as StartTreeCreationResponse, ay as StartUserSignedTransferRequest, aO as StorePreimageShareRequest, A as SubscribeToEventsRequest, B as SubscribeToEventsResponse, aa as TokenCreateInput, a9 as TokenMintInput, ab as TokenOutput, a7 as TokenOutputToSpend,
|
|
1
|
+
export { K as Address, bd as AddressNode, bb as AddressRequestNode, bK as BitcoinTransactionOutput, bv as CancelTransferRequest, bw as CancelTransferResponse, aJ as ClaimLeafKeyTweak, aK as ClaimLeafKeyTweak_PubkeySharesTweakEntry, aM as ClaimTransferSignRefundsRequest, aN as ClaimTransferSignRefundsResponse, aL as ClaimTransferTweakKeysRequest, C as ConnectedEvent, b1 as CooperativeExitRequest, b2 as CooperativeExitResponse, b3 as CounterLeafSwapRequest, b4 as CounterLeafSwapResponse, bg as CreateTreeRequest, bi as CreateTreeResponse, bf as CreationNode, bh as CreationResponseNode, bW as DeepPartial, H as DepositAddressProof, I as DepositAddressProof_AddressSignaturesEntry, bz as DepositAddressQueryResult, G as DepositEvent, bJ as ExitSingleNodeTreeSigningResult, bL as ExitSingleNodeTreesRequest, bM as ExitSingleNodeTreesResponse, bI as ExitingTree, b8 as ExtendLeafRequest, ba as ExtendLeafResponse, b9 as ExtendLeafSigningResult, au as FinalizeNodeSignaturesRequest, F as FinalizeNodeSignaturesResponse, am as FinalizeTokenTransactionRequest, aF as FinalizeTransferRequest, aH as FinalizeTransferResponse, aG as FinalizeTransferWithTransferPackageRequest, an as FreezeTokensPayload, ao as FreezeTokensRequest, ap as FreezeTokensResponse, J as GenerateDepositAddressRequest, V as GenerateDepositAddressResponse, aQ as GetSigningCommitmentsRequest, aR as GetSigningCommitmentsResponse, bk as GetSigningOperatorListResponse, bl as GetSigningOperatorListResponse_SigningOperatorsEntry, aX as InitiatePreimageSwapRequest, aY as InitiatePreimageSwapRequest_Reason, a$ as InitiatePreimageSwapResponse, bG as InitiateUtxoSwapRequest, bH as InitiateUtxoSwapResponse, bN as InvestigateLeavesRequest, aW as InvoiceAmount, aV as InvoiceAmountProof, ak as KeyshareWithIndex, ax as LeafRefundTxSigningJob, L as LeafRefundTxSigningResult, bY as MessageFns, N as Network, X as NodeOutput, a2 as NodeSignatureShares, i as NodeSignatures, O as OperatorSpecificOwnerSignature, ai as OperatorSpecificTokenTransactionSignablePayload, b0 as OutPoint, j as OutputWithPreviousTransactionData, P as PaymentIntentFields, bc as PrepareTreeAddressRequest, be as PrepareTreeAddressResponse, bo as ProvidePreimageRequest, bp as ProvidePreimageResponse, bC as QueryBalanceRequest, bD as QueryBalanceResponse, bE as QueryBalanceResponse_NodeBalancesEntry, bR as QueryNodesByValueRequest, bS as QueryNodesByValueResponse, bT as QueryNodesByValueResponse_NodesEntry, bO as QueryNodesDistributionRequest, bP as QueryNodesDistributionResponse, bQ as QueryNodesDistributionResponse_NodeDistributionEntry, bs as QueryNodesRequest, bt as QueryNodesResponse, bu as QueryNodesResponse_NodesEntry, by as QueryStaticDepositAddressesRequest, bB as QueryStaticDepositAddressesResponse, aq as QueryTokenOutputsRequest, at as QueryTokenOutputsResponse, ar as QueryTokenTransactionsRequest, as as QueryTokenTransactionsResponse, Q as QueryTransfersResponse, bx as QueryUnusedDepositAddressesRequest, bA as QueryUnusedDepositAddressesResponse, bm as QueryUserSignedRefundsRequest, bn as QueryUserSignedRefundsResponse, b5 as RefreshTimelockRequest, b7 as RefreshTimelockResponse, b6 as RefreshTimelockSigningResult, h as RequestedSigningCommitments, aP as RequestedSigningCommitments_SigningNonceCommitmentsEntry, bq as ReturnLightningPaymentRequest, R as RevocationSecretWithIndex, aw as SecretProof, av as SecretShare, aD as SendLeafKeyTweak, aE as SendLeafKeyTweak_PubkeySharesTweakEntry, aC as SendLeafKeyTweaks, bX as ServerStreamingMethodResult, aj as SignTokenTransactionRequest, al as SignTokenTransactionResponse, ae as SignatureWithIndex, aS as SigningCommitments, aT as SigningCommitments_SigningCommitmentsEntry, Y as SigningJob, S as SigningKeyshare, Z as SigningKeyshare_PublicSharesEntry, bj as SigningOperatorInfo, _ as SigningResult, $ as SigningResult_PublicKeysEntry, a1 as SigningResult_SignatureSharesEntry, a0 as SigningResult_SigningNonceCommitmentsEntry, bF as SparkAddress, g as SparkServiceClient, bU as SparkServiceDefinition, bV as SparkServiceImplementation, ac as SpentTokenOutputMetadata, a5 as StartDepositTreeCreationRequest, a6 as StartDepositTreeCreationResponse, ag as StartTokenTransactionRequest, ah as StartTokenTransactionResponse, az as StartTransferRequest, aA as StartTransferResponse, a3 as StartTreeCreationRequest, a4 as StartTreeCreationResponse, ay as StartUserSignedTransferRequest, aO as StorePreimageShareRequest, A as SubscribeToEventsRequest, B as SubscribeToEventsResponse, aa as TokenCreateInput, a9 as TokenMintInput, ab as TokenOutput, a7 as TokenOutputToSpend, f as TokenTransaction, ad as TokenTransactionConfirmationMetadata, af as TokenTransactionSignatures, o as TokenTransactionStatus, l as TokenTransactionWithStatus, a8 as TokenTransferInput, e as Transfer, D as TransferEvent, aI as TransferFilter, d as TransferLeaf, k as TransferPackage, aB as TransferPackage_KeyTweakPackageEntry, T as TransferStatus, a as TransferType, b as TreeNode, br as TreeNodeIds, W as UTXO, aU as UserSignedRefund, U as UserSignedTxSigningJob, x as UtxoSwapRequestType, aZ as initiatePreimageSwapRequest_ReasonFromJSON, a_ as initiatePreimageSwapRequest_ReasonToJSON, n as networkFromJSON, m as networkToJSON, p as protobufPackage, t as tokenTransactionStatusFromJSON, q as tokenTransactionStatusToJSON, r as transferStatusFromJSON, u as transferStatusToJSON, v as transferTypeFromJSON, w as transferTypeToJSON, y as utxoSwapRequestTypeFromJSON, z as utxoSwapRequestTypeToJSON } from '../spark-DbzGfse6.cjs';
|
|
2
2
|
import '@bufbuild/protobuf/wire';
|
|
3
3
|
import 'nice-grpc-common';
|
package/dist/proto/spark.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { K as Address, bd as AddressNode, bb as AddressRequestNode, bK as BitcoinTransactionOutput, bv as CancelTransferRequest, bw as CancelTransferResponse, aJ as ClaimLeafKeyTweak, aK as ClaimLeafKeyTweak_PubkeySharesTweakEntry, aM as ClaimTransferSignRefundsRequest, aN as ClaimTransferSignRefundsResponse, aL as ClaimTransferTweakKeysRequest, C as ConnectedEvent, b1 as CooperativeExitRequest, b2 as CooperativeExitResponse, b3 as CounterLeafSwapRequest, b4 as CounterLeafSwapResponse, bg as CreateTreeRequest, bi as CreateTreeResponse, bf as CreationNode, bh as CreationResponseNode, bW as DeepPartial, H as DepositAddressProof, I as DepositAddressProof_AddressSignaturesEntry, bz as DepositAddressQueryResult, G as DepositEvent, bJ as ExitSingleNodeTreeSigningResult, bL as ExitSingleNodeTreesRequest, bM as ExitSingleNodeTreesResponse, bI as ExitingTree, b8 as ExtendLeafRequest, ba as ExtendLeafResponse, b9 as ExtendLeafSigningResult, au as FinalizeNodeSignaturesRequest, F as FinalizeNodeSignaturesResponse, am as FinalizeTokenTransactionRequest, aF as FinalizeTransferRequest, aH as FinalizeTransferResponse, aG as FinalizeTransferWithTransferPackageRequest, an as FreezeTokensPayload, ao as FreezeTokensRequest, ap as FreezeTokensResponse, J as GenerateDepositAddressRequest, V as GenerateDepositAddressResponse, aQ as GetSigningCommitmentsRequest, aR as GetSigningCommitmentsResponse, bk as GetSigningOperatorListResponse, bl as GetSigningOperatorListResponse_SigningOperatorsEntry, aX as InitiatePreimageSwapRequest, aY as InitiatePreimageSwapRequest_Reason, a$ as InitiatePreimageSwapResponse, bG as InitiateUtxoSwapRequest, bH as InitiateUtxoSwapResponse, bN as InvestigateLeavesRequest, aW as InvoiceAmount, aV as InvoiceAmountProof, ak as KeyshareWithIndex, ax as LeafRefundTxSigningJob, L as LeafRefundTxSigningResult, bY as MessageFns, N as Network, X as NodeOutput, a2 as NodeSignatureShares, i as NodeSignatures, O as OperatorSpecificOwnerSignature, ai as OperatorSpecificTokenTransactionSignablePayload, b0 as OutPoint, j as OutputWithPreviousTransactionData, P as PaymentIntentFields, bc as PrepareTreeAddressRequest, be as PrepareTreeAddressResponse, bo as ProvidePreimageRequest, bp as ProvidePreimageResponse, bC as QueryBalanceRequest, bD as QueryBalanceResponse, bE as QueryBalanceResponse_NodeBalancesEntry, bR as QueryNodesByValueRequest, bS as QueryNodesByValueResponse, bT as QueryNodesByValueResponse_NodesEntry, bO as QueryNodesDistributionRequest, bP as QueryNodesDistributionResponse, bQ as QueryNodesDistributionResponse_NodeDistributionEntry, bs as QueryNodesRequest, bt as QueryNodesResponse, bu as QueryNodesResponse_NodesEntry, by as QueryStaticDepositAddressesRequest, bB as QueryStaticDepositAddressesResponse, aq as QueryTokenOutputsRequest, at as QueryTokenOutputsResponse, ar as QueryTokenTransactionsRequest, as as QueryTokenTransactionsResponse, Q as QueryTransfersResponse, bx as QueryUnusedDepositAddressesRequest, bA as QueryUnusedDepositAddressesResponse, bm as QueryUserSignedRefundsRequest, bn as QueryUserSignedRefundsResponse, b5 as RefreshTimelockRequest, b7 as RefreshTimelockResponse, b6 as RefreshTimelockSigningResult, h as RequestedSigningCommitments, aP as RequestedSigningCommitments_SigningNonceCommitmentsEntry, bq as ReturnLightningPaymentRequest, R as RevocationSecretWithIndex, aw as SecretProof, av as SecretShare, aD as SendLeafKeyTweak, aE as SendLeafKeyTweak_PubkeySharesTweakEntry, aC as SendLeafKeyTweaks, bX as ServerStreamingMethodResult, aj as SignTokenTransactionRequest, al as SignTokenTransactionResponse, ae as SignatureWithIndex, aS as SigningCommitments, aT as SigningCommitments_SigningCommitmentsEntry, Y as SigningJob, S as SigningKeyshare, Z as SigningKeyshare_PublicSharesEntry, bj as SigningOperatorInfo, _ as SigningResult, $ as SigningResult_PublicKeysEntry, a1 as SigningResult_SignatureSharesEntry, a0 as SigningResult_SigningNonceCommitmentsEntry, bF as SparkAddress, g as SparkServiceClient, bU as SparkServiceDefinition, bV as SparkServiceImplementation, ac as SpentTokenOutputMetadata, a5 as StartDepositTreeCreationRequest, a6 as StartDepositTreeCreationResponse, ag as StartTokenTransactionRequest, ah as StartTokenTransactionResponse, az as StartTransferRequest, aA as StartTransferResponse, a3 as StartTreeCreationRequest, a4 as StartTreeCreationResponse, ay as StartUserSignedTransferRequest, aO as StorePreimageShareRequest, A as SubscribeToEventsRequest, B as SubscribeToEventsResponse, aa as TokenCreateInput, a9 as TokenMintInput, ab as TokenOutput, a7 as TokenOutputToSpend,
|
|
1
|
+
export { K as Address, bd as AddressNode, bb as AddressRequestNode, bK as BitcoinTransactionOutput, bv as CancelTransferRequest, bw as CancelTransferResponse, aJ as ClaimLeafKeyTweak, aK as ClaimLeafKeyTweak_PubkeySharesTweakEntry, aM as ClaimTransferSignRefundsRequest, aN as ClaimTransferSignRefundsResponse, aL as ClaimTransferTweakKeysRequest, C as ConnectedEvent, b1 as CooperativeExitRequest, b2 as CooperativeExitResponse, b3 as CounterLeafSwapRequest, b4 as CounterLeafSwapResponse, bg as CreateTreeRequest, bi as CreateTreeResponse, bf as CreationNode, bh as CreationResponseNode, bW as DeepPartial, H as DepositAddressProof, I as DepositAddressProof_AddressSignaturesEntry, bz as DepositAddressQueryResult, G as DepositEvent, bJ as ExitSingleNodeTreeSigningResult, bL as ExitSingleNodeTreesRequest, bM as ExitSingleNodeTreesResponse, bI as ExitingTree, b8 as ExtendLeafRequest, ba as ExtendLeafResponse, b9 as ExtendLeafSigningResult, au as FinalizeNodeSignaturesRequest, F as FinalizeNodeSignaturesResponse, am as FinalizeTokenTransactionRequest, aF as FinalizeTransferRequest, aH as FinalizeTransferResponse, aG as FinalizeTransferWithTransferPackageRequest, an as FreezeTokensPayload, ao as FreezeTokensRequest, ap as FreezeTokensResponse, J as GenerateDepositAddressRequest, V as GenerateDepositAddressResponse, aQ as GetSigningCommitmentsRequest, aR as GetSigningCommitmentsResponse, bk as GetSigningOperatorListResponse, bl as GetSigningOperatorListResponse_SigningOperatorsEntry, aX as InitiatePreimageSwapRequest, aY as InitiatePreimageSwapRequest_Reason, a$ as InitiatePreimageSwapResponse, bG as InitiateUtxoSwapRequest, bH as InitiateUtxoSwapResponse, bN as InvestigateLeavesRequest, aW as InvoiceAmount, aV as InvoiceAmountProof, ak as KeyshareWithIndex, ax as LeafRefundTxSigningJob, L as LeafRefundTxSigningResult, bY as MessageFns, N as Network, X as NodeOutput, a2 as NodeSignatureShares, i as NodeSignatures, O as OperatorSpecificOwnerSignature, ai as OperatorSpecificTokenTransactionSignablePayload, b0 as OutPoint, j as OutputWithPreviousTransactionData, P as PaymentIntentFields, bc as PrepareTreeAddressRequest, be as PrepareTreeAddressResponse, bo as ProvidePreimageRequest, bp as ProvidePreimageResponse, bC as QueryBalanceRequest, bD as QueryBalanceResponse, bE as QueryBalanceResponse_NodeBalancesEntry, bR as QueryNodesByValueRequest, bS as QueryNodesByValueResponse, bT as QueryNodesByValueResponse_NodesEntry, bO as QueryNodesDistributionRequest, bP as QueryNodesDistributionResponse, bQ as QueryNodesDistributionResponse_NodeDistributionEntry, bs as QueryNodesRequest, bt as QueryNodesResponse, bu as QueryNodesResponse_NodesEntry, by as QueryStaticDepositAddressesRequest, bB as QueryStaticDepositAddressesResponse, aq as QueryTokenOutputsRequest, at as QueryTokenOutputsResponse, ar as QueryTokenTransactionsRequest, as as QueryTokenTransactionsResponse, Q as QueryTransfersResponse, bx as QueryUnusedDepositAddressesRequest, bA as QueryUnusedDepositAddressesResponse, bm as QueryUserSignedRefundsRequest, bn as QueryUserSignedRefundsResponse, b5 as RefreshTimelockRequest, b7 as RefreshTimelockResponse, b6 as RefreshTimelockSigningResult, h as RequestedSigningCommitments, aP as RequestedSigningCommitments_SigningNonceCommitmentsEntry, bq as ReturnLightningPaymentRequest, R as RevocationSecretWithIndex, aw as SecretProof, av as SecretShare, aD as SendLeafKeyTweak, aE as SendLeafKeyTweak_PubkeySharesTweakEntry, aC as SendLeafKeyTweaks, bX as ServerStreamingMethodResult, aj as SignTokenTransactionRequest, al as SignTokenTransactionResponse, ae as SignatureWithIndex, aS as SigningCommitments, aT as SigningCommitments_SigningCommitmentsEntry, Y as SigningJob, S as SigningKeyshare, Z as SigningKeyshare_PublicSharesEntry, bj as SigningOperatorInfo, _ as SigningResult, $ as SigningResult_PublicKeysEntry, a1 as SigningResult_SignatureSharesEntry, a0 as SigningResult_SigningNonceCommitmentsEntry, bF as SparkAddress, g as SparkServiceClient, bU as SparkServiceDefinition, bV as SparkServiceImplementation, ac as SpentTokenOutputMetadata, a5 as StartDepositTreeCreationRequest, a6 as StartDepositTreeCreationResponse, ag as StartTokenTransactionRequest, ah as StartTokenTransactionResponse, az as StartTransferRequest, aA as StartTransferResponse, a3 as StartTreeCreationRequest, a4 as StartTreeCreationResponse, ay as StartUserSignedTransferRequest, aO as StorePreimageShareRequest, A as SubscribeToEventsRequest, B as SubscribeToEventsResponse, aa as TokenCreateInput, a9 as TokenMintInput, ab as TokenOutput, a7 as TokenOutputToSpend, f as TokenTransaction, ad as TokenTransactionConfirmationMetadata, af as TokenTransactionSignatures, o as TokenTransactionStatus, l as TokenTransactionWithStatus, a8 as TokenTransferInput, e as Transfer, D as TransferEvent, aI as TransferFilter, d as TransferLeaf, k as TransferPackage, aB as TransferPackage_KeyTweakPackageEntry, T as TransferStatus, a as TransferType, b as TreeNode, br as TreeNodeIds, W as UTXO, aU as UserSignedRefund, U as UserSignedTxSigningJob, x as UtxoSwapRequestType, aZ as initiatePreimageSwapRequest_ReasonFromJSON, a_ as initiatePreimageSwapRequest_ReasonToJSON, n as networkFromJSON, m as networkToJSON, p as protobufPackage, t as tokenTransactionStatusFromJSON, q as tokenTransactionStatusToJSON, r as transferStatusFromJSON, u as transferStatusToJSON, v as transferTypeFromJSON, w as transferTypeToJSON, y as utxoSwapRequestTypeFromJSON, z as utxoSwapRequestTypeToJSON } from '../spark-DbzGfse6.js';
|
|
2
2
|
import '@bufbuild/protobuf/wire';
|
|
3
3
|
import 'nice-grpc-common';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
|
|
2
2
|
import { CallOptions, CallContext } from 'nice-grpc-common';
|
|
3
|
-
import { N as Network, S as SigningKeyshare } from '../spark-
|
|
3
|
+
import { N as Network, S as SigningKeyshare } from '../spark-DbzGfse6.cjs';
|
|
4
4
|
|
|
5
5
|
declare const protobufPackage = "spark_token";
|
|
6
6
|
declare enum TokenTransactionType {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
|
|
2
2
|
import { CallOptions, CallContext } from 'nice-grpc-common';
|
|
3
|
-
import { N as Network, S as SigningKeyshare } from '../spark-
|
|
3
|
+
import { N as Network, S as SigningKeyshare } from '../spark-DbzGfse6.js';
|
|
4
4
|
|
|
5
5
|
declare const protobufPackage = "spark_token";
|
|
6
6
|
declare enum TokenTransactionType {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as TransferStatus, S as SigningKeyshare, N as Network, a as TransferType, b as TreeNode, d as TransferLeaf, e as Transfer } from './spark-DbzGfse6.js';
|
|
2
2
|
|
|
3
3
|
interface WalletLeaf {
|
|
4
4
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as TransferStatus, S as SigningKeyshare, N as Network, a as TransferType, b as TreeNode, d as TransferLeaf, e as Transfer } from './spark-DbzGfse6.cjs';
|
|
2
2
|
|
|
3
3
|
interface WalletLeaf {
|
|
4
4
|
id: string;
|
package/dist/services/config.cjs
CHANGED
|
@@ -1135,7 +1135,7 @@ init_buffer();
|
|
|
1135
1135
|
var import_core = require("@lightsparkdev/core");
|
|
1136
1136
|
var isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
|
|
1137
1137
|
var isBun = globalThis.Bun !== void 0;
|
|
1138
|
-
var packageVersion = true ? "0.1.
|
|
1138
|
+
var packageVersion = true ? "0.1.46" : "unknown";
|
|
1139
1139
|
var baseEnvStr = "unknown";
|
|
1140
1140
|
if (isBun) {
|
|
1141
1141
|
const bunVersion = "version" in globalThis.Bun ? globalThis.Bun.version : "unknown-version";
|
|
@@ -2125,7 +2125,7 @@ var BASE_CONFIG = {
|
|
|
2125
2125
|
threshold: 2,
|
|
2126
2126
|
signingOperators: getLocalSigningOperators(),
|
|
2127
2127
|
tokenSignatures: "SCHNORR",
|
|
2128
|
-
tokenTransactionVersion: "
|
|
2128
|
+
tokenTransactionVersion: "V1",
|
|
2129
2129
|
tokenValidityDurationSeconds: 180,
|
|
2130
2130
|
electrsUrl: getElectrsUrl("LOCAL"),
|
|
2131
2131
|
expectedWithdrawBondSats: 1e4,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HasLrc20WalletApiConfig, LRC20WalletApiConfig } from '@buildonspark/lrc20-sdk';
|
|
2
|
-
import { H as HasSspClientOptions, J as SspClientOptions } from '../RequestLightningSendInput-
|
|
2
|
+
import { H as HasSspClientOptions, J as SspClientOptions } from '../RequestLightningSendInput-2cSh_In4.cjs';
|
|
3
3
|
import { B as BitcoinNetwork } from '../BitcoinNetwork-TnABML0T.cjs';
|
|
4
|
-
import { S as SparkSigner } from '../signer-
|
|
5
|
-
import { N as Network, a as NetworkType } from '../network-
|
|
4
|
+
import { S as SparkSigner } from '../signer-BP6F__oR.cjs';
|
|
5
|
+
import { N as Network, a as NetworkType } from '../network-Css46DAz.cjs';
|
|
6
6
|
import { ConfigOptions, SigningOperator } from './wallet-config.cjs';
|
|
7
7
|
import '@lightsparkdev/core';
|
|
8
8
|
import '@scure/bip32';
|
|
9
|
-
import '../spark-
|
|
9
|
+
import '../spark-DbzGfse6.cjs';
|
|
10
10
|
import '@bufbuild/protobuf/wire';
|
|
11
11
|
import 'nice-grpc-common';
|
|
12
12
|
import '../types-C-Rp0Oo7.cjs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HasLrc20WalletApiConfig, LRC20WalletApiConfig } from '@buildonspark/lrc20-sdk';
|
|
2
|
-
import { H as HasSspClientOptions, J as SspClientOptions } from '../RequestLightningSendInput-
|
|
2
|
+
import { H as HasSspClientOptions, J as SspClientOptions } from '../RequestLightningSendInput-CN6BNg_g.js';
|
|
3
3
|
import { B as BitcoinNetwork } from '../BitcoinNetwork-TnABML0T.js';
|
|
4
|
-
import { S as SparkSigner } from '../signer-
|
|
5
|
-
import { N as Network, a as NetworkType } from '../network-
|
|
4
|
+
import { S as SparkSigner } from '../signer-BVZJXcq7.js';
|
|
5
|
+
import { N as Network, a as NetworkType } from '../network-hynb7iTZ.js';
|
|
6
6
|
import { ConfigOptions, SigningOperator } from './wallet-config.js';
|
|
7
7
|
import '@lightsparkdev/core';
|
|
8
8
|
import '@scure/bip32';
|
|
9
|
-
import '../spark-
|
|
9
|
+
import '../spark-DbzGfse6.js';
|
|
10
10
|
import '@bufbuild/protobuf/wire';
|
|
11
11
|
import 'nice-grpc-common';
|
|
12
12
|
import '../types-C-Rp0Oo7.js';
|
package/dist/services/config.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WalletConfigService
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-YUPMXTCJ.js";
|
|
3
|
+
} from "../chunk-HSCLBJEL.js";
|
|
5
4
|
import "../chunk-Z5HIAYFT.js";
|
|
6
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-4EMV7HHW.js";
|
|
6
|
+
import "../chunk-N5VZVCGJ.js";
|
|
7
7
|
import "../chunk-NSJF5F5O.js";
|
|
8
|
+
import "../chunk-OFCJFZ4I.js";
|
|
8
9
|
import "../chunk-QNNSEJ4P.js";
|
|
9
|
-
import "../chunk-HMLOC6TE.js";
|
|
10
10
|
import "../chunk-VTUGIIWI.js";
|
|
11
|
-
import "../chunk-7V6N75CC.js";
|
|
12
11
|
import "../chunk-GSI4OLXZ.js";
|
|
12
|
+
import "../chunk-HMLOC6TE.js";
|
|
13
13
|
import "../chunk-BGGEVUJK.js";
|
|
14
14
|
import "../chunk-MVRQ5US7.js";
|
|
15
15
|
export {
|
|
@@ -241,7 +241,7 @@ init_buffer();
|
|
|
241
241
|
var import_core = require("@lightsparkdev/core");
|
|
242
242
|
var isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
|
|
243
243
|
var isBun = globalThis.Bun !== void 0;
|
|
244
|
-
var packageVersion = true ? "0.1.
|
|
244
|
+
var packageVersion = true ? "0.1.46" : "unknown";
|
|
245
245
|
var baseEnvStr = "unknown";
|
|
246
246
|
if (isBun) {
|
|
247
247
|
const bunVersion = "version" in globalThis.Bun ? globalThis.Bun.version : "unknown-version";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Channel } from 'nice-grpc';
|
|
2
2
|
import { Channel as Channel$1 } from 'nice-grpc-web';
|
|
3
|
-
import { E as Empty, g as SparkServiceClient } from '../spark-
|
|
3
|
+
import { E as Empty, g as SparkServiceClient } from '../spark-DbzGfse6.cjs';
|
|
4
4
|
import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
|
|
5
5
|
import { CallOptions } from 'nice-grpc-common';
|
|
6
6
|
import { WalletConfigService } from './config.cjs';
|
|
7
7
|
import { SparkTokenServiceClient } from '../proto/spark_token.cjs';
|
|
8
8
|
import '@buildonspark/lrc20-sdk';
|
|
9
|
-
import '../RequestLightningSendInput-
|
|
9
|
+
import '../RequestLightningSendInput-2cSh_In4.cjs';
|
|
10
10
|
import '@lightsparkdev/core';
|
|
11
11
|
import '../BitcoinNetwork-TnABML0T.cjs';
|
|
12
|
-
import '../signer-
|
|
12
|
+
import '../signer-BP6F__oR.cjs';
|
|
13
13
|
import '@scure/bip32';
|
|
14
14
|
import '../types-C-Rp0Oo7.cjs';
|
|
15
15
|
import '@scure/btc-signer';
|
|
16
16
|
import 'bitcoinjs-lib';
|
|
17
17
|
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
18
|
-
import '../network-
|
|
18
|
+
import '../network-Css46DAz.cjs';
|
|
19
19
|
import './wallet-config.cjs';
|
|
20
20
|
|
|
21
21
|
declare enum InterruptTransferRequest_InterruptTransferAction {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Channel } from 'nice-grpc';
|
|
2
2
|
import { Channel as Channel$1 } from 'nice-grpc-web';
|
|
3
|
-
import { E as Empty, g as SparkServiceClient } from '../spark-
|
|
3
|
+
import { E as Empty, g as SparkServiceClient } from '../spark-DbzGfse6.js';
|
|
4
4
|
import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
|
|
5
5
|
import { CallOptions } from 'nice-grpc-common';
|
|
6
6
|
import { WalletConfigService } from './config.js';
|
|
7
7
|
import { SparkTokenServiceClient } from '../proto/spark_token.js';
|
|
8
8
|
import '@buildonspark/lrc20-sdk';
|
|
9
|
-
import '../RequestLightningSendInput-
|
|
9
|
+
import '../RequestLightningSendInput-CN6BNg_g.js';
|
|
10
10
|
import '@lightsparkdev/core';
|
|
11
11
|
import '../BitcoinNetwork-TnABML0T.js';
|
|
12
|
-
import '../signer-
|
|
12
|
+
import '../signer-BVZJXcq7.js';
|
|
13
13
|
import '@scure/bip32';
|
|
14
14
|
import '../types-C-Rp0Oo7.js';
|
|
15
15
|
import '@scure/btc-signer';
|
|
16
16
|
import 'bitcoinjs-lib';
|
|
17
17
|
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
18
|
-
import '../network-
|
|
18
|
+
import '../network-hynb7iTZ.js';
|
|
19
19
|
import './wallet-config.js';
|
|
20
20
|
|
|
21
21
|
declare enum InterruptTransferRequest_InterruptTransferAction {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConnectionManager
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-DXR2PXJU.js";
|
|
4
4
|
import "../chunk-LHRD2WT6.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-OFCJFZ4I.js";
|
|
6
6
|
import "../chunk-GSI4OLXZ.js";
|
|
7
7
|
import "../chunk-BGGEVUJK.js";
|
|
8
8
|
import "../chunk-MVRQ5US7.js";
|
package/dist/services/index.cjs
CHANGED
|
@@ -1328,7 +1328,7 @@ init_buffer();
|
|
|
1328
1328
|
var import_core = require("@lightsparkdev/core");
|
|
1329
1329
|
var isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
|
|
1330
1330
|
var isBun = globalThis.Bun !== void 0;
|
|
1331
|
-
var packageVersion = true ? "0.1.
|
|
1331
|
+
var packageVersion = true ? "0.1.46" : "unknown";
|
|
1332
1332
|
var baseEnvStr = "unknown";
|
|
1333
1333
|
if (isBun) {
|
|
1334
1334
|
const bunVersion = "version" in globalThis.Bun ? globalThis.Bun.version : "unknown-version";
|
|
@@ -16533,7 +16533,7 @@ var BASE_CONFIG = {
|
|
|
16533
16533
|
threshold: 2,
|
|
16534
16534
|
signingOperators: getLocalSigningOperators(),
|
|
16535
16535
|
tokenSignatures: "SCHNORR",
|
|
16536
|
-
tokenTransactionVersion: "
|
|
16536
|
+
tokenTransactionVersion: "V1",
|
|
16537
16537
|
tokenValidityDurationSeconds: 180,
|
|
16538
16538
|
electrsUrl: getElectrsUrl("LOCAL"),
|
|
16539
16539
|
expectedWithdrawBondSats: 1e4,
|
|
@@ -3,19 +3,19 @@ export { FetchOwnedTokenOutputsParams, QueryTokenTransactionsParams, TokenTransa
|
|
|
3
3
|
export { ConnectionManager } from './connection.cjs';
|
|
4
4
|
export { BASE_CONFIG, ConfigOptions, ELECTRS_CREDENTIALS, LOCAL_WALLET_CONFIG, LOCAL_WALLET_CONFIG_ECDSA, LOCAL_WALLET_CONFIG_SCHNORR, MAINNET_WALLET_CONFIG, REGTEST_WALLET_CONFIG, SigningOperator, getElectrsUrl, getLocalSigningOperators, getLrc20NodeUrl, getLrc20Url, getSspIdentityPublicKey, getSspSchemaEndpoint, getSspUrl } from './wallet-config.cjs';
|
|
5
5
|
import '@buildonspark/lrc20-sdk';
|
|
6
|
-
import '../RequestLightningSendInput-
|
|
6
|
+
import '../RequestLightningSendInput-2cSh_In4.cjs';
|
|
7
7
|
import '@lightsparkdev/core';
|
|
8
8
|
import '../BitcoinNetwork-TnABML0T.cjs';
|
|
9
|
-
import '../signer-
|
|
9
|
+
import '../signer-BP6F__oR.cjs';
|
|
10
10
|
import '@scure/bip32';
|
|
11
|
-
import '../spark-
|
|
11
|
+
import '../spark-DbzGfse6.cjs';
|
|
12
12
|
import '@bufbuild/protobuf/wire';
|
|
13
13
|
import 'nice-grpc-common';
|
|
14
14
|
import '../types-C-Rp0Oo7.cjs';
|
|
15
15
|
import '@scure/btc-signer';
|
|
16
16
|
import 'bitcoinjs-lib';
|
|
17
17
|
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
18
|
-
import '../network-
|
|
18
|
+
import '../network-Css46DAz.cjs';
|
|
19
19
|
import '../proto/spark_token.cjs';
|
|
20
20
|
import 'nice-grpc';
|
|
21
21
|
import 'nice-grpc-web';
|
package/dist/services/index.d.ts
CHANGED
|
@@ -3,19 +3,19 @@ export { FetchOwnedTokenOutputsParams, QueryTokenTransactionsParams, TokenTransa
|
|
|
3
3
|
export { ConnectionManager } from './connection.js';
|
|
4
4
|
export { BASE_CONFIG, ConfigOptions, ELECTRS_CREDENTIALS, LOCAL_WALLET_CONFIG, LOCAL_WALLET_CONFIG_ECDSA, LOCAL_WALLET_CONFIG_SCHNORR, MAINNET_WALLET_CONFIG, REGTEST_WALLET_CONFIG, SigningOperator, getElectrsUrl, getLocalSigningOperators, getLrc20NodeUrl, getLrc20Url, getSspIdentityPublicKey, getSspSchemaEndpoint, getSspUrl } from './wallet-config.js';
|
|
5
5
|
import '@buildonspark/lrc20-sdk';
|
|
6
|
-
import '../RequestLightningSendInput-
|
|
6
|
+
import '../RequestLightningSendInput-CN6BNg_g.js';
|
|
7
7
|
import '@lightsparkdev/core';
|
|
8
8
|
import '../BitcoinNetwork-TnABML0T.js';
|
|
9
|
-
import '../signer-
|
|
9
|
+
import '../signer-BVZJXcq7.js';
|
|
10
10
|
import '@scure/bip32';
|
|
11
|
-
import '../spark-
|
|
11
|
+
import '../spark-DbzGfse6.js';
|
|
12
12
|
import '@bufbuild/protobuf/wire';
|
|
13
13
|
import 'nice-grpc-common';
|
|
14
14
|
import '../types-C-Rp0Oo7.js';
|
|
15
15
|
import '@scure/btc-signer';
|
|
16
16
|
import 'bitcoinjs-lib';
|
|
17
17
|
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
18
|
-
import '../network-
|
|
18
|
+
import '../network-hynb7iTZ.js';
|
|
19
19
|
import '../proto/spark_token.js';
|
|
20
20
|
import 'nice-grpc';
|
|
21
21
|
import 'nice-grpc-web';
|
package/dist/services/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
WalletConfigService
|
|
3
|
+
} from "../chunk-HSCLBJEL.js";
|
|
4
|
+
import "../chunk-Z5HIAYFT.js";
|
|
5
|
+
import {
|
|
6
|
+
ConnectionManager
|
|
7
|
+
} from "../chunk-DXR2PXJU.js";
|
|
1
8
|
import {
|
|
2
9
|
TokenTransactionService
|
|
3
10
|
} from "../chunk-C2S227QR.js";
|
|
4
11
|
import "../chunk-HWJWKEIU.js";
|
|
5
|
-
import "../chunk-L3EHBOUX.js";
|
|
6
|
-
import "../chunk-KMUMFYFX.js";
|
|
7
|
-
import {
|
|
8
|
-
WalletConfigService
|
|
9
|
-
} from "../chunk-6264CGDM.js";
|
|
10
|
-
import "../chunk-YUPMXTCJ.js";
|
|
11
|
-
import "../chunk-Z5HIAYFT.js";
|
|
12
12
|
import {
|
|
13
13
|
BASE_CONFIG,
|
|
14
14
|
ELECTRS_CREDENTIALS,
|
|
@@ -24,17 +24,17 @@ import {
|
|
|
24
24
|
getSspIdentityPublicKey,
|
|
25
25
|
getSspSchemaEndpoint,
|
|
26
26
|
getSspUrl
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-4EMV7HHW.js";
|
|
28
|
+
import "../chunk-L3EHBOUX.js";
|
|
29
|
+
import "../chunk-KMUMFYFX.js";
|
|
30
|
+
import "../chunk-LHRD2WT6.js";
|
|
31
|
+
import "../chunk-N5VZVCGJ.js";
|
|
28
32
|
import "../chunk-NSJF5F5O.js";
|
|
33
|
+
import "../chunk-OFCJFZ4I.js";
|
|
29
34
|
import "../chunk-QNNSEJ4P.js";
|
|
30
|
-
import "../chunk-HMLOC6TE.js";
|
|
31
35
|
import "../chunk-VTUGIIWI.js";
|
|
32
|
-
import {
|
|
33
|
-
ConnectionManager
|
|
34
|
-
} from "../chunk-PQN3C2MF.js";
|
|
35
|
-
import "../chunk-LHRD2WT6.js";
|
|
36
|
-
import "../chunk-7V6N75CC.js";
|
|
37
36
|
import "../chunk-GSI4OLXZ.js";
|
|
37
|
+
import "../chunk-HMLOC6TE.js";
|
|
38
38
|
import "../chunk-BGGEVUJK.js";
|
|
39
39
|
import "../chunk-MVRQ5US7.js";
|
|
40
40
|
export {
|
|
@@ -240,7 +240,7 @@ init_buffer();
|
|
|
240
240
|
var import_core = require("@lightsparkdev/core");
|
|
241
241
|
var isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
|
|
242
242
|
var isBun = globalThis.Bun !== void 0;
|
|
243
|
-
var packageVersion = true ? "0.1.
|
|
243
|
+
var packageVersion = true ? "0.1.46" : "unknown";
|
|
244
244
|
var baseEnvStr = "unknown";
|
|
245
245
|
if (isBun) {
|
|
246
246
|
const bunVersion = "version" in globalThis.Bun ? globalThis.Bun.version : "unknown-version";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { SparkServiceClient } from '../proto/lrc20.cjs';
|
|
2
2
|
import { WalletConfigService } from './config.cjs';
|
|
3
|
-
import '../spark-
|
|
3
|
+
import '../spark-DbzGfse6.cjs';
|
|
4
4
|
import '@bufbuild/protobuf/wire';
|
|
5
5
|
import 'nice-grpc-common';
|
|
6
6
|
import '@buildonspark/lrc20-sdk';
|
|
7
|
-
import '../RequestLightningSendInput-
|
|
7
|
+
import '../RequestLightningSendInput-2cSh_In4.cjs';
|
|
8
8
|
import '@lightsparkdev/core';
|
|
9
9
|
import '../BitcoinNetwork-TnABML0T.cjs';
|
|
10
|
-
import '../signer-
|
|
10
|
+
import '../signer-BP6F__oR.cjs';
|
|
11
11
|
import '@scure/bip32';
|
|
12
12
|
import '../types-C-Rp0Oo7.cjs';
|
|
13
13
|
import '@scure/btc-signer';
|
|
14
14
|
import 'bitcoinjs-lib';
|
|
15
15
|
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
16
|
-
import '../network-
|
|
16
|
+
import '../network-Css46DAz.cjs';
|
|
17
17
|
import './wallet-config.cjs';
|
|
18
18
|
|
|
19
19
|
declare class Lrc20ConnectionManager {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { SparkServiceClient } from '../proto/lrc20.js';
|
|
2
2
|
import { WalletConfigService } from './config.js';
|
|
3
|
-
import '../spark-
|
|
3
|
+
import '../spark-DbzGfse6.js';
|
|
4
4
|
import '@bufbuild/protobuf/wire';
|
|
5
5
|
import 'nice-grpc-common';
|
|
6
6
|
import '@buildonspark/lrc20-sdk';
|
|
7
|
-
import '../RequestLightningSendInput-
|
|
7
|
+
import '../RequestLightningSendInput-CN6BNg_g.js';
|
|
8
8
|
import '@lightsparkdev/core';
|
|
9
9
|
import '../BitcoinNetwork-TnABML0T.js';
|
|
10
|
-
import '../signer-
|
|
10
|
+
import '../signer-BVZJXcq7.js';
|
|
11
11
|
import '@scure/bip32';
|
|
12
12
|
import '../types-C-Rp0Oo7.js';
|
|
13
13
|
import '@scure/btc-signer';
|
|
14
14
|
import 'bitcoinjs-lib';
|
|
15
15
|
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
16
|
-
import '../network-
|
|
16
|
+
import '../network-hynb7iTZ.js';
|
|
17
17
|
import './wallet-config.js';
|
|
18
18
|
|
|
19
19
|
declare class Lrc20ConnectionManager {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Lrc20ConnectionManager
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-HHNQ3ZHC.js";
|
|
4
4
|
import "../chunk-NTFKFRQ2.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-OFCJFZ4I.js";
|
|
6
6
|
import "../chunk-GSI4OLXZ.js";
|
|
7
7
|
import "../chunk-BGGEVUJK.js";
|
|
8
8
|
import "../chunk-MVRQ5US7.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { WalletConfigService } from './config.cjs';
|
|
2
|
-
import { j as OutputWithPreviousTransactionData,
|
|
2
|
+
import { j as OutputWithPreviousTransactionData, f as TokenTransaction, l as TokenTransactionWithStatus } from '../spark-DbzGfse6.cjs';
|
|
3
3
|
import { ConnectionManager } from './connection.cjs';
|
|
4
4
|
import { TokenTransaction as TokenTransaction$1, TokenTransactionWithStatus as TokenTransactionWithStatus$1 } from '../proto/spark_token.cjs';
|
|
5
5
|
import './wallet-config.cjs';
|
|
6
6
|
import '@buildonspark/lrc20-sdk';
|
|
7
|
-
import '../RequestLightningSendInput-
|
|
7
|
+
import '../RequestLightningSendInput-2cSh_In4.cjs';
|
|
8
8
|
import '@lightsparkdev/core';
|
|
9
9
|
import '../BitcoinNetwork-TnABML0T.cjs';
|
|
10
|
-
import '../signer-
|
|
10
|
+
import '../signer-BP6F__oR.cjs';
|
|
11
11
|
import '@scure/bip32';
|
|
12
12
|
import '../types-C-Rp0Oo7.cjs';
|
|
13
13
|
import '@scure/btc-signer';
|
|
14
14
|
import 'bitcoinjs-lib';
|
|
15
15
|
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
16
|
-
import '../network-
|
|
16
|
+
import '../network-Css46DAz.cjs';
|
|
17
17
|
import '@bufbuild/protobuf/wire';
|
|
18
18
|
import 'nice-grpc-common';
|
|
19
19
|
import 'nice-grpc';
|