@buildonspark/spark-sdk 0.4.1 → 0.4.2
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 +11 -0
- package/dist/bare/index.cjs +1038 -236
- package/dist/bare/index.d.cts +143 -14
- package/dist/bare/index.d.ts +143 -14
- package/dist/bare/index.js +1043 -240
- package/dist/{chunk-4E23VB7E.js → chunk-6UVL674M.js} +2 -2
- package/dist/{chunk-YEBEN7XD.js → chunk-BHFVMNXO.js} +623 -16
- package/dist/{chunk-EV2PTGGR.js → chunk-JZODGME5.js} +1 -1
- package/dist/{chunk-JLF6WJ7K.js → chunk-LUOP2ATD.js} +1 -1
- package/dist/{chunk-4YFT7DAE.js → chunk-Q537QTDY.js} +1 -1
- package/dist/{chunk-W2S4FPZ4.js → chunk-SUGTL4PD.js} +250 -27
- package/dist/{chunk-JR7ZU6LX.js → chunk-U7EELMDO.js} +1 -1
- package/dist/{client-BaQf-5gD.d.ts → client-3MdPdtnA.d.ts} +1 -1
- package/dist/{client-BIqiUNy4.d.cts → client-BZFWaZ1l.d.cts} +1 -1
- package/dist/debug.cjs +1038 -241
- package/dist/debug.d.cts +5 -5
- package/dist/debug.d.ts +5 -5
- package/dist/debug.js +5 -5
- package/dist/graphql/objects/index.d.cts +3 -3
- package/dist/graphql/objects/index.d.ts +3 -3
- package/dist/index.cjs +923 -119
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +6 -6
- package/dist/index.node.cjs +923 -119
- package/dist/index.node.d.cts +6 -6
- package/dist/index.node.d.ts +6 -6
- package/dist/index.node.js +5 -5
- package/dist/{logging-BLzoEEoP.d.ts → logging-g6Oib3Ua.d.ts} +3 -3
- package/dist/{logging-Cl-gGtZz.d.cts → logging-miPhbIyT.d.cts} +3 -3
- package/dist/native/index.react-native.cjs +923 -119
- package/dist/native/index.react-native.d.cts +141 -16
- package/dist/native/index.react-native.d.ts +141 -16
- package/dist/native/index.react-native.js +926 -121
- package/dist/proto/spark.cjs +623 -16
- package/dist/proto/spark.d.cts +1 -1
- package/dist/proto/spark.d.ts +1 -1
- package/dist/proto/spark.js +19 -1
- package/dist/proto/spark_token.d.cts +1 -1
- package/dist/proto/spark_token.d.ts +1 -1
- package/dist/proto/spark_token.js +2 -2
- package/dist/{spark-DOpheE8_.d.cts → spark-BWkABx3N.d.cts} +124 -3
- package/dist/{spark-DOpheE8_.d.ts → spark-BWkABx3N.d.ts} +124 -3
- package/dist/{spark-wallet.browser-XT25hMYM.d.ts → spark-wallet.browser-Cm-JMRQB.d.ts} +2 -2
- package/dist/{spark-wallet.browser-BGMpYML0.d.cts → spark-wallet.browser-M7zcmZYm.d.cts} +2 -2
- package/dist/{spark-wallet.node-CAfuCfrU.d.ts → spark-wallet.node-B4y08Ri5.d.ts} +2 -2
- package/dist/{spark-wallet.node-C8dbiFsD.d.cts → spark-wallet.node-BotQbNoI.d.cts} +2 -2
- package/dist/tests/test-utils.cjs +1030 -60
- package/dist/tests/test-utils.d.cts +4 -4
- package/dist/tests/test-utils.d.ts +4 -4
- package/dist/tests/test-utils.js +7 -7
- package/dist/{token-transactions-DhVLTxEY.d.cts → token-transactions-C95IPSyM.d.cts} +2 -2
- package/dist/{token-transactions-vcOZg63D.d.ts → token-transactions-SPf4ygYc.d.ts} +2 -2
- package/dist/types/index.cjs +614 -16
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +5 -5
- package/dist/{wallet-config-w9e62Plc.d.ts → wallet-config-CQW-mDqN.d.ts} +41 -17
- package/dist/{wallet-config-DVEoQg3w.d.cts → wallet-config-JYsN3izc.d.cts} +41 -17
- package/package.json +1 -1
- package/src/proto/spark.ts +842 -80
- package/src/services/lightning.ts +1 -1
- package/src/services/transfer.ts +0 -1
- package/src/spark-wallet/proto-descriptors.ts +1 -1
- package/src/spark-wallet/spark-wallet.ts +279 -16
- package/src/spark-wallet/types.ts +6 -7
- package/src/spark_descriptors.pb +0 -0
- package/src/tests/address.test.ts +10 -103
- package/src/tests/integration/address.test.ts +7 -17
- package/src/tests/integration/ssp/coop-exit.test.ts +0 -1
- package/src/tests/integration/ssp/lightning.test.ts +67 -2
- package/src/tests/integration/ssp/swap.test.ts +0 -1
- package/src/tests/integration/static_deposit.test.ts +2 -1
- package/src/tests/integration/transfer.test.ts +8 -28
- package/src/tests/token-hashing.test.ts +4 -4
- package/src/tests/xchain-address.test.ts +3 -3
- package/src/utils/address.ts +6 -4
package/dist/proto/spark.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { cw as AdaptorPublicKeyPackage, a4 as Address, bC as AddressNode, bA as AddressRequestNode, ce as BitcoinTransactionOutput, bX as CancelTransferRequest, bY as CancelTransferResponse, b6 as ClaimLeafKeyTweak, b7 as ClaimLeafKeyTweak_PubkeySharesTweakEntry, b9 as ClaimTransferSignRefundsRequest, ba as ClaimTransferSignRefundsResponse, b8 as ClaimTransferTweakKeysRequest, _ as ConnectedEvent, bq as CooperativeExitRequest, br as CooperativeExitResponse, bs as CounterLeafSwapRequest, bt as CounterLeafSwapResponse, bF as CreateTreeRequest, bH as CreateTreeResponse, bE as CreationNode, bG as CreationResponseNode, cy as DeepPartial, a1 as DepositAddressProof, a2 as DepositAddressProof_AddressSignaturesEntry, b$ as DepositAddressQueryResult, a0 as DepositEvent, D as Direction, cd as ExitSingleNodeTreeSigningResult, cf as ExitSingleNodeTreesRequest, cg as ExitSingleNodeTreesResponse, cc as ExitingTree, bx as ExtendLeafRequest, bz as ExtendLeafResponse, by as ExtendLeafSigningResult, aU as FinalizeNodeSignaturesRequest, F as FinalizeNodeSignaturesResponse, aM as FinalizeTokenTransactionRequest, b2 as FinalizeTransferRequest, b4 as FinalizeTransferResponse, b3 as FinalizeTransferWithTransferPackageRequest, aN as FreezeTokensPayload, aO as FreezeTokensRequest, aP as FreezeTokensResponse, a3 as GenerateDepositAddressRequest, a5 as GenerateDepositAddressResponse, a6 as GenerateStaticDepositAddressRequest, a7 as GenerateStaticDepositAddressResponse, bd as GetSigningCommitmentsRequest, be as GetSigningCommitmentsResponse, bJ as GetSigningOperatorListResponse, bK as GetSigningOperatorListResponse_SigningOperatorsEntry, co as GetUtxosForAddressRequest, cp as GetUtxosForAddressResponse, bk as InitiatePreimageSwapRequest, bl as InitiatePreimageSwapRequest_Reason, bo as InitiatePreimageSwapResponse, c8 as InitiateStaticDepositUtxoRefundRequest, c9 as InitiateStaticDepositUtxoRefundResponse, cu as InitiateSwapPrimaryTransferRequest, cv as InitiateSwapPrimaryTransferResponse, ca as InitiateUtxoSwapRequest, cb as InitiateUtxoSwapResponse, ch as InvestigateLeavesRequest, bj as InvoiceAmount, bi as InvoiceAmountProof, cr as InvoiceResponse, W as InvoiceStatus, aJ as KeyshareWithIndex, aX as LeafRefundTxSigningJob, L as LeafRefundTxSigningResult, cA as MessageFns, N as Network, a9 as NodeOutput, ao as NodeSignatureShares, h as NodeSignatures, aH as OperatorSpecificOwnerSignature, aG as OperatorSpecificTokenTransactionSignablePayload, B as Order, bp as OutPoint, O as OutputWithPreviousTransactionData, P as PageRequest, a as PageResponse, H as PreimageRequestStatus, bN as PreimageRequestWithTransfer, bB as PrepareTreeAddressRequest, bD as PrepareTreeAddressResponse, bQ as ProvidePreimageRequest, bR as ProvidePreimageResponse, c2 as QueryBalanceRequest, c3 as QueryBalanceResponse, c4 as QueryBalanceResponse_NodeBalancesEntry, bO as QueryHtlcRequest, bP as QueryHtlcResponse, cl as QueryNodesByValueRequest, cm as QueryNodesByValueResponse, cn as QueryNodesByValueResponse_NodesEntry, ci as QueryNodesDistributionRequest, cj as QueryNodesDistributionResponse, ck as QueryNodesDistributionResponse_NodeDistributionEntry, bU as QueryNodesRequest, bV as QueryNodesResponse, bW as QueryNodesResponse_NodesEntry, cq as QuerySparkInvoicesRequest, i as QuerySparkInvoicesResponse, b_ as QueryStaticDepositAddressesRequest, c1 as QueryStaticDepositAddressesResponse, aQ as QueryTokenOutputsRequest, aT as QueryTokenOutputsResponse, aR as QueryTokenTransactionsRequest, aS as QueryTokenTransactionsResponse, Q as QueryTransfersResponse, bZ as QueryUnusedDepositAddressesRequest, c0 as QueryUnusedDepositAddressesResponse, bL as QueryUserSignedRefundsRequest, bM as QueryUserSignedRefundsResponse, bu as RefreshTimelockRequest, bw as RefreshTimelockResponse, bv as RefreshTimelockSigningResult, ag as RenewLeafRequest, ak as RenewLeafResponse, al as RenewNodeTimelockResult, ah as RenewNodeTimelockSigningJob, an as RenewNodeZeroTimelockResult, aj as RenewNodeZeroTimelockSigningJob, am as RenewRefundTimelockResult, ai as RenewRefundTimelockSigningJob, R as RequestedSigningCommitments, bc as RequestedSigningCommitments_SigningNonceCommitmentsEntry, bS as ReturnLightningPaymentRequest, aL as RevocationSecretWithIndex, c6 as SatsPayment, cs as SatsTransfer, aW as SecretProof, aV as SecretShare, b0 as SendLeafKeyTweak, b1 as SendLeafKeyTweak_PubkeySharesTweakEntry, a$ as SendLeafKeyTweaks, cz as ServerStreamingMethodResult, aI as SignTokenTransactionRequest, aK as SignTokenTransactionResponse, aC as SignatureWithIndex, bf as SigningCommitments, bg as SigningCommitments_SigningCommitmentsEntry, aa as SigningJob, S as SigningKeyshare, ab as SigningKeyshare_PublicSharesEntry, bI as SigningOperatorInfo, ac as SigningResult, ad as SigningResult_PublicKeysEntry, af as SigningResult_SignatureSharesEntry, ae as SigningResult_SigningNonceCommitmentsEntry, c5 as SparkAddress, e as SparkInvoiceFields, f as SparkServiceClient, b as SparkServiceDefinition, cx as SparkServiceImplementation, az as SpentTokenOutputMetadata, ar as StartDepositTreeCreationRequest, as as StartDepositTreeCreationResponse, aE as StartTokenTransactionRequest, aF as StartTokenTransactionResponse, g as StartTransferRequest, aZ as StartTransferResponse, ap as StartTreeCreationRequest, aq as StartTreeCreationResponse, aY as StartUserSignedTransferRequest, bb as StorePreimageShareRequest, Z as SubscribeToEventsRequest, d as SubscribeToEventsResponse, aw as TokenCreateInput, av as TokenMintInput, ax as TokenOutput, at as TokenOutputToSpend, ay as TokenTransaction, aA as TokenTransactionConfirmationMetadata, aD as TokenTransactionSignatures, u as TokenTransactionStatus, aB as TokenTransactionWithStatus, ct as TokenTransfer, au as TokenTransferInput, c7 as TokensPayment, T as Transfer, $ as TransferEvent, b5 as TransferFilter, m as TransferLeaf, j as TransferPackage, a_ as TransferPackage_KeyTweakPackageEntry, k as TransferStatus, l as TransferType, c as TreeNode, bT as TreeNodeIds, a8 as UTXO, bh as UserSignedRefund, U as UserSignedTxSigningJob, K as UtxoSwapRequestType, r as directionFromJSON, t as directionToJSON, bm as initiatePreimageSwapRequest_ReasonFromJSON, bn as initiatePreimageSwapRequest_ReasonToJSON, X as invoiceStatusFromJSON, Y as invoiceStatusToJSON, o as networkFromJSON, q as networkToJSON, C as orderFromJSON, G as orderToJSON, I as preimageRequestStatusFromJSON, J as preimageRequestStatusToJSON, p as protobufPackage, v as tokenTransactionStatusFromJSON, w as tokenTransactionStatusToJSON, x as transferStatusFromJSON, y as transferStatusToJSON, z as transferTypeFromJSON, A as transferTypeToJSON, M as utxoSwapRequestTypeFromJSON, V as utxoSwapRequestTypeToJSON } from '../spark-BWkABx3N.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 {
|
|
1
|
+
export { cw as AdaptorPublicKeyPackage, a4 as Address, bC as AddressNode, bA as AddressRequestNode, ce as BitcoinTransactionOutput, bX as CancelTransferRequest, bY as CancelTransferResponse, b6 as ClaimLeafKeyTweak, b7 as ClaimLeafKeyTweak_PubkeySharesTweakEntry, b9 as ClaimTransferSignRefundsRequest, ba as ClaimTransferSignRefundsResponse, b8 as ClaimTransferTweakKeysRequest, _ as ConnectedEvent, bq as CooperativeExitRequest, br as CooperativeExitResponse, bs as CounterLeafSwapRequest, bt as CounterLeafSwapResponse, bF as CreateTreeRequest, bH as CreateTreeResponse, bE as CreationNode, bG as CreationResponseNode, cy as DeepPartial, a1 as DepositAddressProof, a2 as DepositAddressProof_AddressSignaturesEntry, b$ as DepositAddressQueryResult, a0 as DepositEvent, D as Direction, cd as ExitSingleNodeTreeSigningResult, cf as ExitSingleNodeTreesRequest, cg as ExitSingleNodeTreesResponse, cc as ExitingTree, bx as ExtendLeafRequest, bz as ExtendLeafResponse, by as ExtendLeafSigningResult, aU as FinalizeNodeSignaturesRequest, F as FinalizeNodeSignaturesResponse, aM as FinalizeTokenTransactionRequest, b2 as FinalizeTransferRequest, b4 as FinalizeTransferResponse, b3 as FinalizeTransferWithTransferPackageRequest, aN as FreezeTokensPayload, aO as FreezeTokensRequest, aP as FreezeTokensResponse, a3 as GenerateDepositAddressRequest, a5 as GenerateDepositAddressResponse, a6 as GenerateStaticDepositAddressRequest, a7 as GenerateStaticDepositAddressResponse, bd as GetSigningCommitmentsRequest, be as GetSigningCommitmentsResponse, bJ as GetSigningOperatorListResponse, bK as GetSigningOperatorListResponse_SigningOperatorsEntry, co as GetUtxosForAddressRequest, cp as GetUtxosForAddressResponse, bk as InitiatePreimageSwapRequest, bl as InitiatePreimageSwapRequest_Reason, bo as InitiatePreimageSwapResponse, c8 as InitiateStaticDepositUtxoRefundRequest, c9 as InitiateStaticDepositUtxoRefundResponse, cu as InitiateSwapPrimaryTransferRequest, cv as InitiateSwapPrimaryTransferResponse, ca as InitiateUtxoSwapRequest, cb as InitiateUtxoSwapResponse, ch as InvestigateLeavesRequest, bj as InvoiceAmount, bi as InvoiceAmountProof, cr as InvoiceResponse, W as InvoiceStatus, aJ as KeyshareWithIndex, aX as LeafRefundTxSigningJob, L as LeafRefundTxSigningResult, cA as MessageFns, N as Network, a9 as NodeOutput, ao as NodeSignatureShares, h as NodeSignatures, aH as OperatorSpecificOwnerSignature, aG as OperatorSpecificTokenTransactionSignablePayload, B as Order, bp as OutPoint, O as OutputWithPreviousTransactionData, P as PageRequest, a as PageResponse, H as PreimageRequestStatus, bN as PreimageRequestWithTransfer, bB as PrepareTreeAddressRequest, bD as PrepareTreeAddressResponse, bQ as ProvidePreimageRequest, bR as ProvidePreimageResponse, c2 as QueryBalanceRequest, c3 as QueryBalanceResponse, c4 as QueryBalanceResponse_NodeBalancesEntry, bO as QueryHtlcRequest, bP as QueryHtlcResponse, cl as QueryNodesByValueRequest, cm as QueryNodesByValueResponse, cn as QueryNodesByValueResponse_NodesEntry, ci as QueryNodesDistributionRequest, cj as QueryNodesDistributionResponse, ck as QueryNodesDistributionResponse_NodeDistributionEntry, bU as QueryNodesRequest, bV as QueryNodesResponse, bW as QueryNodesResponse_NodesEntry, cq as QuerySparkInvoicesRequest, i as QuerySparkInvoicesResponse, b_ as QueryStaticDepositAddressesRequest, c1 as QueryStaticDepositAddressesResponse, aQ as QueryTokenOutputsRequest, aT as QueryTokenOutputsResponse, aR as QueryTokenTransactionsRequest, aS as QueryTokenTransactionsResponse, Q as QueryTransfersResponse, bZ as QueryUnusedDepositAddressesRequest, c0 as QueryUnusedDepositAddressesResponse, bL as QueryUserSignedRefundsRequest, bM as QueryUserSignedRefundsResponse, bu as RefreshTimelockRequest, bw as RefreshTimelockResponse, bv as RefreshTimelockSigningResult, ag as RenewLeafRequest, ak as RenewLeafResponse, al as RenewNodeTimelockResult, ah as RenewNodeTimelockSigningJob, an as RenewNodeZeroTimelockResult, aj as RenewNodeZeroTimelockSigningJob, am as RenewRefundTimelockResult, ai as RenewRefundTimelockSigningJob, R as RequestedSigningCommitments, bc as RequestedSigningCommitments_SigningNonceCommitmentsEntry, bS as ReturnLightningPaymentRequest, aL as RevocationSecretWithIndex, c6 as SatsPayment, cs as SatsTransfer, aW as SecretProof, aV as SecretShare, b0 as SendLeafKeyTweak, b1 as SendLeafKeyTweak_PubkeySharesTweakEntry, a$ as SendLeafKeyTweaks, cz as ServerStreamingMethodResult, aI as SignTokenTransactionRequest, aK as SignTokenTransactionResponse, aC as SignatureWithIndex, bf as SigningCommitments, bg as SigningCommitments_SigningCommitmentsEntry, aa as SigningJob, S as SigningKeyshare, ab as SigningKeyshare_PublicSharesEntry, bI as SigningOperatorInfo, ac as SigningResult, ad as SigningResult_PublicKeysEntry, af as SigningResult_SignatureSharesEntry, ae as SigningResult_SigningNonceCommitmentsEntry, c5 as SparkAddress, e as SparkInvoiceFields, f as SparkServiceClient, b as SparkServiceDefinition, cx as SparkServiceImplementation, az as SpentTokenOutputMetadata, ar as StartDepositTreeCreationRequest, as as StartDepositTreeCreationResponse, aE as StartTokenTransactionRequest, aF as StartTokenTransactionResponse, g as StartTransferRequest, aZ as StartTransferResponse, ap as StartTreeCreationRequest, aq as StartTreeCreationResponse, aY as StartUserSignedTransferRequest, bb as StorePreimageShareRequest, Z as SubscribeToEventsRequest, d as SubscribeToEventsResponse, aw as TokenCreateInput, av as TokenMintInput, ax as TokenOutput, at as TokenOutputToSpend, ay as TokenTransaction, aA as TokenTransactionConfirmationMetadata, aD as TokenTransactionSignatures, u as TokenTransactionStatus, aB as TokenTransactionWithStatus, ct as TokenTransfer, au as TokenTransferInput, c7 as TokensPayment, T as Transfer, $ as TransferEvent, b5 as TransferFilter, m as TransferLeaf, j as TransferPackage, a_ as TransferPackage_KeyTweakPackageEntry, k as TransferStatus, l as TransferType, c as TreeNode, bT as TreeNodeIds, a8 as UTXO, bh as UserSignedRefund, U as UserSignedTxSigningJob, K as UtxoSwapRequestType, r as directionFromJSON, t as directionToJSON, bm as initiatePreimageSwapRequest_ReasonFromJSON, bn as initiatePreimageSwapRequest_ReasonToJSON, X as invoiceStatusFromJSON, Y as invoiceStatusToJSON, o as networkFromJSON, q as networkToJSON, C as orderFromJSON, G as orderToJSON, I as preimageRequestStatusFromJSON, J as preimageRequestStatusToJSON, p as protobufPackage, v as tokenTransactionStatusFromJSON, w as tokenTransactionStatusToJSON, x as transferStatusFromJSON, y as transferStatusToJSON, z as transferTypeFromJSON, A as transferTypeToJSON, M as utxoSwapRequestTypeFromJSON, V as utxoSwapRequestTypeToJSON } from '../spark-BWkABx3N.js';
|
|
2
2
|
import '@bufbuild/protobuf/wire';
|
|
3
3
|
import 'nice-grpc-common';
|
package/dist/proto/spark.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AdaptorPublicKeyPackage,
|
|
2
3
|
Address,
|
|
3
4
|
AddressNode,
|
|
4
5
|
AddressRequestNode,
|
|
@@ -55,6 +56,8 @@ import {
|
|
|
55
56
|
InitiatePreimageSwapResponse,
|
|
56
57
|
InitiateStaticDepositUtxoRefundRequest,
|
|
57
58
|
InitiateStaticDepositUtxoRefundResponse,
|
|
59
|
+
InitiateSwapPrimaryTransferRequest,
|
|
60
|
+
InitiateSwapPrimaryTransferResponse,
|
|
58
61
|
InitiateUtxoSwapRequest,
|
|
59
62
|
InitiateUtxoSwapResponse,
|
|
60
63
|
InvestigateLeavesRequest,
|
|
@@ -76,6 +79,8 @@ import {
|
|
|
76
79
|
OutputWithPreviousTransactionData,
|
|
77
80
|
PageRequest,
|
|
78
81
|
PageResponse,
|
|
82
|
+
PreimageRequestStatus,
|
|
83
|
+
PreimageRequestWithTransfer,
|
|
79
84
|
PrepareTreeAddressRequest,
|
|
80
85
|
PrepareTreeAddressResponse,
|
|
81
86
|
ProvidePreimageRequest,
|
|
@@ -83,6 +88,8 @@ import {
|
|
|
83
88
|
QueryBalanceRequest,
|
|
84
89
|
QueryBalanceResponse,
|
|
85
90
|
QueryBalanceResponse_NodeBalancesEntry,
|
|
91
|
+
QueryHtlcRequest,
|
|
92
|
+
QueryHtlcResponse,
|
|
86
93
|
QueryNodesByValueRequest,
|
|
87
94
|
QueryNodesByValueResponse,
|
|
88
95
|
QueryNodesByValueResponse_NodesEntry,
|
|
@@ -192,6 +199,8 @@ import {
|
|
|
192
199
|
networkToJSON,
|
|
193
200
|
orderFromJSON,
|
|
194
201
|
orderToJSON,
|
|
202
|
+
preimageRequestStatusFromJSON,
|
|
203
|
+
preimageRequestStatusToJSON,
|
|
195
204
|
protobufPackage,
|
|
196
205
|
tokenTransactionStatusFromJSON,
|
|
197
206
|
tokenTransactionStatusToJSON,
|
|
@@ -201,9 +210,10 @@ import {
|
|
|
201
210
|
transferTypeToJSON,
|
|
202
211
|
utxoSwapRequestTypeFromJSON,
|
|
203
212
|
utxoSwapRequestTypeToJSON
|
|
204
|
-
} from "../chunk-
|
|
213
|
+
} from "../chunk-BHFVMNXO.js";
|
|
205
214
|
import "../chunk-MVRQ5US7.js";
|
|
206
215
|
export {
|
|
216
|
+
AdaptorPublicKeyPackage,
|
|
207
217
|
Address,
|
|
208
218
|
AddressNode,
|
|
209
219
|
AddressRequestNode,
|
|
@@ -260,6 +270,8 @@ export {
|
|
|
260
270
|
InitiatePreimageSwapResponse,
|
|
261
271
|
InitiateStaticDepositUtxoRefundRequest,
|
|
262
272
|
InitiateStaticDepositUtxoRefundResponse,
|
|
273
|
+
InitiateSwapPrimaryTransferRequest,
|
|
274
|
+
InitiateSwapPrimaryTransferResponse,
|
|
263
275
|
InitiateUtxoSwapRequest,
|
|
264
276
|
InitiateUtxoSwapResponse,
|
|
265
277
|
InvestigateLeavesRequest,
|
|
@@ -281,6 +293,8 @@ export {
|
|
|
281
293
|
OutputWithPreviousTransactionData,
|
|
282
294
|
PageRequest,
|
|
283
295
|
PageResponse,
|
|
296
|
+
PreimageRequestStatus,
|
|
297
|
+
PreimageRequestWithTransfer,
|
|
284
298
|
PrepareTreeAddressRequest,
|
|
285
299
|
PrepareTreeAddressResponse,
|
|
286
300
|
ProvidePreimageRequest,
|
|
@@ -288,6 +302,8 @@ export {
|
|
|
288
302
|
QueryBalanceRequest,
|
|
289
303
|
QueryBalanceResponse,
|
|
290
304
|
QueryBalanceResponse_NodeBalancesEntry,
|
|
305
|
+
QueryHtlcRequest,
|
|
306
|
+
QueryHtlcResponse,
|
|
291
307
|
QueryNodesByValueRequest,
|
|
292
308
|
QueryNodesByValueResponse,
|
|
293
309
|
QueryNodesByValueResponse_NodesEntry,
|
|
@@ -397,6 +413,8 @@ export {
|
|
|
397
413
|
networkToJSON,
|
|
398
414
|
orderFromJSON,
|
|
399
415
|
orderToJSON,
|
|
416
|
+
preimageRequestStatusFromJSON,
|
|
417
|
+
preimageRequestStatusToJSON,
|
|
400
418
|
protobufPackage,
|
|
401
419
|
tokenTransactionStatusFromJSON,
|
|
402
420
|
tokenTransactionStatusToJSON,
|
|
@@ -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, P as PageRequest, a as PageResponse } from '../spark-
|
|
3
|
+
import { N as Network, S as SigningKeyshare, P as PageRequest, a as PageResponse } from '../spark-BWkABx3N.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, P as PageRequest, a as PageResponse } from '../spark-
|
|
3
|
+
import { N as Network, S as SigningKeyshare, P as PageRequest, a as PageResponse } from '../spark-BWkABx3N.js';
|
|
4
4
|
|
|
5
5
|
declare const protobufPackage = "spark_token";
|
|
6
6
|
declare enum TokenTransactionType {
|
|
@@ -38,8 +38,8 @@ import {
|
|
|
38
38
|
tokenTransactionStatusToJSON,
|
|
39
39
|
tokenTransactionTypeFromJSON,
|
|
40
40
|
tokenTransactionTypeToJSON
|
|
41
|
-
} from "../chunk-
|
|
42
|
-
import "../chunk-
|
|
41
|
+
} from "../chunk-LUOP2ATD.js";
|
|
42
|
+
import "../chunk-BHFVMNXO.js";
|
|
43
43
|
import "../chunk-MVRQ5US7.js";
|
|
44
44
|
export {
|
|
45
45
|
CommitProgress,
|
|
@@ -165,6 +165,14 @@ declare enum Order {
|
|
|
165
165
|
}
|
|
166
166
|
declare function orderFromJSON(object: any): Order;
|
|
167
167
|
declare function orderToJSON(object: Order): string;
|
|
168
|
+
declare enum PreimageRequestStatus {
|
|
169
|
+
PREIMAGE_REQUEST_STATUS_WAITING_FOR_PREIMAGE = 0,
|
|
170
|
+
PREIMAGE_REQUEST_STATUS_PREIMAGE_SHARED = 1,
|
|
171
|
+
PREIMAGE_REQUEST_STATUS_RETURNED = 2,
|
|
172
|
+
UNRECOGNIZED = -1
|
|
173
|
+
}
|
|
174
|
+
declare function preimageRequestStatusFromJSON(object: any): PreimageRequestStatus;
|
|
175
|
+
declare function preimageRequestStatusToJSON(object: PreimageRequestStatus): string;
|
|
168
176
|
/** Static deposit address flow messages */
|
|
169
177
|
declare enum UtxoSwapRequestType {
|
|
170
178
|
Fixed = 0,
|
|
@@ -495,7 +503,6 @@ interface RenewNodeZeroTimelockSigningJob {
|
|
|
495
503
|
*/
|
|
496
504
|
refundTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
497
505
|
directNodeTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
498
|
-
directRefundTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
499
506
|
directFromCpfpRefundTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
500
507
|
}
|
|
501
508
|
declare const RenewNodeZeroTimelockSigningJob: MessageFns<RenewNodeZeroTimelockSigningJob>;
|
|
@@ -950,6 +957,10 @@ declare const LeafRefundTxSigningJob: MessageFns<LeafRefundTxSigningJob>;
|
|
|
950
957
|
interface UserSignedTxSigningJob {
|
|
951
958
|
leafId: string;
|
|
952
959
|
signingPublicKey: Uint8Array;
|
|
960
|
+
/**
|
|
961
|
+
* CPFP Refund Tx that is created when the User signs refunds. It spends the
|
|
962
|
+
* node transaction to the receiver.
|
|
963
|
+
*/
|
|
953
964
|
rawTx: Uint8Array;
|
|
954
965
|
signingNonceCommitment: SigningCommitment | undefined;
|
|
955
966
|
userSignature: Uint8Array;
|
|
@@ -1399,6 +1410,34 @@ interface QueryUserSignedRefundsResponse {
|
|
|
1399
1410
|
transfer: Transfer | undefined;
|
|
1400
1411
|
}
|
|
1401
1412
|
declare const QueryUserSignedRefundsResponse: MessageFns<QueryUserSignedRefundsResponse>;
|
|
1413
|
+
interface PreimageRequestWithTransfer {
|
|
1414
|
+
/** Preimage request data */
|
|
1415
|
+
paymentHash: Uint8Array;
|
|
1416
|
+
receiverIdentityPubkey: Uint8Array;
|
|
1417
|
+
status: PreimageRequestStatus;
|
|
1418
|
+
createdTime: Date | undefined;
|
|
1419
|
+
/** Associated transfer (if exists) */
|
|
1420
|
+
transfer?: Transfer | undefined;
|
|
1421
|
+
/** Preimage data (if available) */
|
|
1422
|
+
preimage?: Uint8Array | undefined;
|
|
1423
|
+
}
|
|
1424
|
+
declare const PreimageRequestWithTransfer: MessageFns<PreimageRequestWithTransfer>;
|
|
1425
|
+
interface QueryHtlcRequest {
|
|
1426
|
+
paymentHashes: Uint8Array[];
|
|
1427
|
+
identityPublicKey: Uint8Array;
|
|
1428
|
+
status?: PreimageRequestStatus | undefined;
|
|
1429
|
+
/** defaults to 100 if not set. */
|
|
1430
|
+
limit: number;
|
|
1431
|
+
/** defaults to 0 if not set. */
|
|
1432
|
+
offset: number;
|
|
1433
|
+
}
|
|
1434
|
+
declare const QueryHtlcRequest: MessageFns<QueryHtlcRequest>;
|
|
1435
|
+
interface QueryHtlcResponse {
|
|
1436
|
+
preimageRequests: PreimageRequestWithTransfer[];
|
|
1437
|
+
/** defaults to -1 if there are no more results */
|
|
1438
|
+
offset: number;
|
|
1439
|
+
}
|
|
1440
|
+
declare const QueryHtlcResponse: MessageFns<QueryHtlcResponse>;
|
|
1402
1441
|
interface ProvidePreimageRequest {
|
|
1403
1442
|
paymentHash: Uint8Array;
|
|
1404
1443
|
preimage: Uint8Array;
|
|
@@ -1713,6 +1752,33 @@ interface TokenTransfer {
|
|
|
1713
1752
|
finalTokenTransactionHash: Uint8Array;
|
|
1714
1753
|
}
|
|
1715
1754
|
declare const TokenTransfer: MessageFns<TokenTransfer>;
|
|
1755
|
+
interface InitiateSwapPrimaryTransferRequest {
|
|
1756
|
+
/** Transfer with refunds and key tweaks signed */
|
|
1757
|
+
transfer: StartTransferRequest | undefined;
|
|
1758
|
+
/**
|
|
1759
|
+
* Adaptor public keys to verify the signatures of refunds for the primary
|
|
1760
|
+
* transfer in the swap
|
|
1761
|
+
*/
|
|
1762
|
+
adaptorPublicKeys: AdaptorPublicKeyPackage | undefined;
|
|
1763
|
+
}
|
|
1764
|
+
declare const InitiateSwapPrimaryTransferRequest: MessageFns<InitiateSwapPrimaryTransferRequest>;
|
|
1765
|
+
interface InitiateSwapPrimaryTransferResponse {
|
|
1766
|
+
transfer: Transfer | undefined;
|
|
1767
|
+
signingResults: LeafRefundTxSigningResult[];
|
|
1768
|
+
}
|
|
1769
|
+
declare const InitiateSwapPrimaryTransferResponse: MessageFns<InitiateSwapPrimaryTransferResponse>;
|
|
1770
|
+
/**
|
|
1771
|
+
* Adaptor public key is derived from the secret `t` using formula:
|
|
1772
|
+
* ```
|
|
1773
|
+
* T = t * G
|
|
1774
|
+
* ```
|
|
1775
|
+
*/
|
|
1776
|
+
interface AdaptorPublicKeyPackage {
|
|
1777
|
+
adaptorPublicKey: Uint8Array;
|
|
1778
|
+
directAdaptorPublicKey: Uint8Array;
|
|
1779
|
+
directFromCpfpAdaptorPublicKey: Uint8Array;
|
|
1780
|
+
}
|
|
1781
|
+
declare const AdaptorPublicKeyPackage: MessageFns<AdaptorPublicKeyPackage>;
|
|
1716
1782
|
type SparkServiceDefinition = typeof SparkServiceDefinition;
|
|
1717
1783
|
declare const SparkServiceDefinition: {
|
|
1718
1784
|
readonly name: "SparkService";
|
|
@@ -1877,6 +1943,14 @@ declare const SparkServiceDefinition: {
|
|
|
1877
1943
|
readonly responseStream: false;
|
|
1878
1944
|
readonly options: {};
|
|
1879
1945
|
};
|
|
1946
|
+
readonly query_htlc: {
|
|
1947
|
+
readonly name: "query_htlc";
|
|
1948
|
+
readonly requestType: MessageFns<QueryHtlcRequest>;
|
|
1949
|
+
readonly requestStream: false;
|
|
1950
|
+
readonly responseType: MessageFns<QueryHtlcResponse>;
|
|
1951
|
+
readonly responseStream: false;
|
|
1952
|
+
readonly options: {};
|
|
1953
|
+
};
|
|
1880
1954
|
/**
|
|
1881
1955
|
* This is the exact same as start_transfer, but expresses to the SO
|
|
1882
1956
|
* this transfer is specifically for a leaf swap.
|
|
@@ -2156,6 +2230,14 @@ declare const SparkServiceDefinition: {
|
|
|
2156
2230
|
readonly responseStream: false;
|
|
2157
2231
|
readonly options: {};
|
|
2158
2232
|
};
|
|
2233
|
+
readonly initiate_preimage_swap_v3: {
|
|
2234
|
+
readonly name: "initiate_preimage_swap_v3";
|
|
2235
|
+
readonly requestType: MessageFns<InitiatePreimageSwapRequest>;
|
|
2236
|
+
readonly requestStream: false;
|
|
2237
|
+
readonly responseType: MessageFns<InitiatePreimageSwapResponse>;
|
|
2238
|
+
readonly responseStream: false;
|
|
2239
|
+
readonly options: {};
|
|
2240
|
+
};
|
|
2159
2241
|
readonly start_leaf_swap_v2: {
|
|
2160
2242
|
readonly name: "start_leaf_swap_v2";
|
|
2161
2243
|
readonly requestType: MessageFns<StartTransferRequest>;
|
|
@@ -2204,6 +2286,19 @@ declare const SparkServiceDefinition: {
|
|
|
2204
2286
|
readonly responseStream: false;
|
|
2205
2287
|
readonly options: {};
|
|
2206
2288
|
};
|
|
2289
|
+
/**
|
|
2290
|
+
* Inititiates a primary transfer in a Swap V3 protocol. The sender submits the
|
|
2291
|
+
* transfer package, but the SOs will not tweak the keys at this stage of the flow.
|
|
2292
|
+
* It will be done later, when the SSP initiates a counter swap.
|
|
2293
|
+
*/
|
|
2294
|
+
readonly initiate_swap_primary_transfer: {
|
|
2295
|
+
readonly name: "initiate_swap_primary_transfer";
|
|
2296
|
+
readonly requestType: MessageFns<InitiateSwapPrimaryTransferRequest>;
|
|
2297
|
+
readonly requestStream: false;
|
|
2298
|
+
readonly responseType: MessageFns<InitiateSwapPrimaryTransferResponse>;
|
|
2299
|
+
readonly responseStream: false;
|
|
2300
|
+
readonly options: {};
|
|
2301
|
+
};
|
|
2207
2302
|
};
|
|
2208
2303
|
};
|
|
2209
2304
|
interface SparkServiceImplementation<CallContextExt = {}> {
|
|
@@ -2240,6 +2335,7 @@ interface SparkServiceImplementation<CallContextExt = {}> {
|
|
|
2240
2335
|
cooperative_exit(request: CooperativeExitRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CooperativeExitResponse>>;
|
|
2241
2336
|
initiate_preimage_swap(request: InitiatePreimageSwapRequest, context: CallContext & CallContextExt): Promise<DeepPartial<InitiatePreimageSwapResponse>>;
|
|
2242
2337
|
provide_preimage(request: ProvidePreimageRequest, context: CallContext & CallContextExt): Promise<DeepPartial<ProvidePreimageResponse>>;
|
|
2338
|
+
query_htlc(request: QueryHtlcRequest, context: CallContext & CallContextExt): Promise<DeepPartial<QueryHtlcResponse>>;
|
|
2243
2339
|
/**
|
|
2244
2340
|
* This is the exact same as start_transfer, but expresses to the SO
|
|
2245
2341
|
* this transfer is specifically for a leaf swap.
|
|
@@ -2309,12 +2405,19 @@ interface SparkServiceImplementation<CallContextExt = {}> {
|
|
|
2309
2405
|
claim_transfer_sign_refunds_v2(request: ClaimTransferSignRefundsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<ClaimTransferSignRefundsResponse>>;
|
|
2310
2406
|
finalize_node_signatures_v2(request: FinalizeNodeSignaturesRequest, context: CallContext & CallContextExt): Promise<DeepPartial<FinalizeNodeSignaturesResponse>>;
|
|
2311
2407
|
initiate_preimage_swap_v2(request: InitiatePreimageSwapRequest, context: CallContext & CallContextExt): Promise<DeepPartial<InitiatePreimageSwapResponse>>;
|
|
2408
|
+
initiate_preimage_swap_v3(request: InitiatePreimageSwapRequest, context: CallContext & CallContextExt): Promise<DeepPartial<InitiatePreimageSwapResponse>>;
|
|
2312
2409
|
start_leaf_swap_v2(request: StartTransferRequest, context: CallContext & CallContextExt): Promise<DeepPartial<StartTransferResponse>>;
|
|
2313
2410
|
counter_leaf_swap_v2(request: CounterLeafSwapRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CounterLeafSwapResponse>>;
|
|
2314
2411
|
start_transfer_v2(request: StartTransferRequest, context: CallContext & CallContextExt): Promise<DeepPartial<StartTransferResponse>>;
|
|
2315
2412
|
refresh_timelock_v2(request: RefreshTimelockRequest, context: CallContext & CallContextExt): Promise<DeepPartial<RefreshTimelockResponse>>;
|
|
2316
2413
|
get_utxos_for_address(request: GetUtxosForAddressRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetUtxosForAddressResponse>>;
|
|
2317
2414
|
query_spark_invoices(request: QuerySparkInvoicesRequest, context: CallContext & CallContextExt): Promise<DeepPartial<QuerySparkInvoicesResponse>>;
|
|
2415
|
+
/**
|
|
2416
|
+
* Inititiates a primary transfer in a Swap V3 protocol. The sender submits the
|
|
2417
|
+
* transfer package, but the SOs will not tweak the keys at this stage of the flow.
|
|
2418
|
+
* It will be done later, when the SSP initiates a counter swap.
|
|
2419
|
+
*/
|
|
2420
|
+
initiate_swap_primary_transfer(request: InitiateSwapPrimaryTransferRequest, context: CallContext & CallContextExt): Promise<DeepPartial<InitiateSwapPrimaryTransferResponse>>;
|
|
2318
2421
|
}
|
|
2319
2422
|
interface SparkServiceClient<CallOptionsExt = {}> {
|
|
2320
2423
|
generate_deposit_address(request: DeepPartial<GenerateDepositAddressRequest>, options?: CallOptions & CallOptionsExt): Promise<GenerateDepositAddressResponse>;
|
|
@@ -2350,6 +2453,7 @@ interface SparkServiceClient<CallOptionsExt = {}> {
|
|
|
2350
2453
|
cooperative_exit(request: DeepPartial<CooperativeExitRequest>, options?: CallOptions & CallOptionsExt): Promise<CooperativeExitResponse>;
|
|
2351
2454
|
initiate_preimage_swap(request: DeepPartial<InitiatePreimageSwapRequest>, options?: CallOptions & CallOptionsExt): Promise<InitiatePreimageSwapResponse>;
|
|
2352
2455
|
provide_preimage(request: DeepPartial<ProvidePreimageRequest>, options?: CallOptions & CallOptionsExt): Promise<ProvidePreimageResponse>;
|
|
2456
|
+
query_htlc(request: DeepPartial<QueryHtlcRequest>, options?: CallOptions & CallOptionsExt): Promise<QueryHtlcResponse>;
|
|
2353
2457
|
/**
|
|
2354
2458
|
* This is the exact same as start_transfer, but expresses to the SO
|
|
2355
2459
|
* this transfer is specifically for a leaf swap.
|
|
@@ -2419,12 +2523,19 @@ interface SparkServiceClient<CallOptionsExt = {}> {
|
|
|
2419
2523
|
claim_transfer_sign_refunds_v2(request: DeepPartial<ClaimTransferSignRefundsRequest>, options?: CallOptions & CallOptionsExt): Promise<ClaimTransferSignRefundsResponse>;
|
|
2420
2524
|
finalize_node_signatures_v2(request: DeepPartial<FinalizeNodeSignaturesRequest>, options?: CallOptions & CallOptionsExt): Promise<FinalizeNodeSignaturesResponse>;
|
|
2421
2525
|
initiate_preimage_swap_v2(request: DeepPartial<InitiatePreimageSwapRequest>, options?: CallOptions & CallOptionsExt): Promise<InitiatePreimageSwapResponse>;
|
|
2526
|
+
initiate_preimage_swap_v3(request: DeepPartial<InitiatePreimageSwapRequest>, options?: CallOptions & CallOptionsExt): Promise<InitiatePreimageSwapResponse>;
|
|
2422
2527
|
start_leaf_swap_v2(request: DeepPartial<StartTransferRequest>, options?: CallOptions & CallOptionsExt): Promise<StartTransferResponse>;
|
|
2423
2528
|
counter_leaf_swap_v2(request: DeepPartial<CounterLeafSwapRequest>, options?: CallOptions & CallOptionsExt): Promise<CounterLeafSwapResponse>;
|
|
2424
2529
|
start_transfer_v2(request: DeepPartial<StartTransferRequest>, options?: CallOptions & CallOptionsExt): Promise<StartTransferResponse>;
|
|
2425
2530
|
refresh_timelock_v2(request: DeepPartial<RefreshTimelockRequest>, options?: CallOptions & CallOptionsExt): Promise<RefreshTimelockResponse>;
|
|
2426
2531
|
get_utxos_for_address(request: DeepPartial<GetUtxosForAddressRequest>, options?: CallOptions & CallOptionsExt): Promise<GetUtxosForAddressResponse>;
|
|
2427
2532
|
query_spark_invoices(request: DeepPartial<QuerySparkInvoicesRequest>, options?: CallOptions & CallOptionsExt): Promise<QuerySparkInvoicesResponse>;
|
|
2533
|
+
/**
|
|
2534
|
+
* Inititiates a primary transfer in a Swap V3 protocol. The sender submits the
|
|
2535
|
+
* transfer package, but the SOs will not tweak the keys at this stage of the flow.
|
|
2536
|
+
* It will be done later, when the SSP initiates a counter swap.
|
|
2537
|
+
*/
|
|
2538
|
+
initiate_swap_primary_transfer(request: DeepPartial<InitiateSwapPrimaryTransferRequest>, options?: CallOptions & CallOptionsExt): Promise<InitiateSwapPrimaryTransferResponse>;
|
|
2428
2539
|
}
|
|
2429
2540
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
2430
2541
|
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
@@ -2448,6 +2559,7 @@ interface MessageFns<T> {
|
|
|
2448
2559
|
fromPartial(object: DeepPartial<T>): T;
|
|
2449
2560
|
}
|
|
2450
2561
|
|
|
2562
|
+
declare const spark_AdaptorPublicKeyPackage: typeof AdaptorPublicKeyPackage;
|
|
2451
2563
|
declare const spark_Address: typeof Address;
|
|
2452
2564
|
declare const spark_AddressNode: typeof AddressNode;
|
|
2453
2565
|
declare const spark_AddressRequestNode: typeof AddressRequestNode;
|
|
@@ -2507,6 +2619,8 @@ declare const spark_InitiatePreimageSwapRequest_Reason: typeof InitiatePreimageS
|
|
|
2507
2619
|
declare const spark_InitiatePreimageSwapResponse: typeof InitiatePreimageSwapResponse;
|
|
2508
2620
|
declare const spark_InitiateStaticDepositUtxoRefundRequest: typeof InitiateStaticDepositUtxoRefundRequest;
|
|
2509
2621
|
declare const spark_InitiateStaticDepositUtxoRefundResponse: typeof InitiateStaticDepositUtxoRefundResponse;
|
|
2622
|
+
declare const spark_InitiateSwapPrimaryTransferRequest: typeof InitiateSwapPrimaryTransferRequest;
|
|
2623
|
+
declare const spark_InitiateSwapPrimaryTransferResponse: typeof InitiateSwapPrimaryTransferResponse;
|
|
2510
2624
|
declare const spark_InitiateUtxoSwapRequest: typeof InitiateUtxoSwapRequest;
|
|
2511
2625
|
declare const spark_InitiateUtxoSwapResponse: typeof InitiateUtxoSwapResponse;
|
|
2512
2626
|
declare const spark_InvestigateLeavesRequest: typeof InvestigateLeavesRequest;
|
|
@@ -2532,6 +2646,9 @@ declare const spark_OutPoint: typeof OutPoint;
|
|
|
2532
2646
|
declare const spark_OutputWithPreviousTransactionData: typeof OutputWithPreviousTransactionData;
|
|
2533
2647
|
declare const spark_PageRequest: typeof PageRequest;
|
|
2534
2648
|
declare const spark_PageResponse: typeof PageResponse;
|
|
2649
|
+
type spark_PreimageRequestStatus = PreimageRequestStatus;
|
|
2650
|
+
declare const spark_PreimageRequestStatus: typeof PreimageRequestStatus;
|
|
2651
|
+
declare const spark_PreimageRequestWithTransfer: typeof PreimageRequestWithTransfer;
|
|
2535
2652
|
declare const spark_PrepareTreeAddressRequest: typeof PrepareTreeAddressRequest;
|
|
2536
2653
|
declare const spark_PrepareTreeAddressResponse: typeof PrepareTreeAddressResponse;
|
|
2537
2654
|
declare const spark_ProvidePreimageRequest: typeof ProvidePreimageRequest;
|
|
@@ -2539,6 +2656,8 @@ declare const spark_ProvidePreimageResponse: typeof ProvidePreimageResponse;
|
|
|
2539
2656
|
declare const spark_QueryBalanceRequest: typeof QueryBalanceRequest;
|
|
2540
2657
|
declare const spark_QueryBalanceResponse: typeof QueryBalanceResponse;
|
|
2541
2658
|
declare const spark_QueryBalanceResponse_NodeBalancesEntry: typeof QueryBalanceResponse_NodeBalancesEntry;
|
|
2659
|
+
declare const spark_QueryHtlcRequest: typeof QueryHtlcRequest;
|
|
2660
|
+
declare const spark_QueryHtlcResponse: typeof QueryHtlcResponse;
|
|
2542
2661
|
declare const spark_QueryNodesByValueRequest: typeof QueryNodesByValueRequest;
|
|
2543
2662
|
declare const spark_QueryNodesByValueResponse: typeof QueryNodesByValueResponse;
|
|
2544
2663
|
declare const spark_QueryNodesByValueResponse_NodesEntry: typeof QueryNodesByValueResponse_NodesEntry;
|
|
@@ -2655,6 +2774,8 @@ declare const spark_networkFromJSON: typeof networkFromJSON;
|
|
|
2655
2774
|
declare const spark_networkToJSON: typeof networkToJSON;
|
|
2656
2775
|
declare const spark_orderFromJSON: typeof orderFromJSON;
|
|
2657
2776
|
declare const spark_orderToJSON: typeof orderToJSON;
|
|
2777
|
+
declare const spark_preimageRequestStatusFromJSON: typeof preimageRequestStatusFromJSON;
|
|
2778
|
+
declare const spark_preimageRequestStatusToJSON: typeof preimageRequestStatusToJSON;
|
|
2658
2779
|
declare const spark_protobufPackage: typeof protobufPackage;
|
|
2659
2780
|
declare const spark_tokenTransactionStatusFromJSON: typeof tokenTransactionStatusFromJSON;
|
|
2660
2781
|
declare const spark_tokenTransactionStatusToJSON: typeof tokenTransactionStatusToJSON;
|
|
@@ -2665,7 +2786,7 @@ declare const spark_transferTypeToJSON: typeof transferTypeToJSON;
|
|
|
2665
2786
|
declare const spark_utxoSwapRequestTypeFromJSON: typeof utxoSwapRequestTypeFromJSON;
|
|
2666
2787
|
declare const spark_utxoSwapRequestTypeToJSON: typeof utxoSwapRequestTypeToJSON;
|
|
2667
2788
|
declare namespace spark {
|
|
2668
|
-
export { spark_Address as Address, spark_AddressNode as AddressNode, spark_AddressRequestNode as AddressRequestNode, spark_BitcoinTransactionOutput as BitcoinTransactionOutput, spark_CancelTransferRequest as CancelTransferRequest, spark_CancelTransferResponse as CancelTransferResponse, spark_ClaimLeafKeyTweak as ClaimLeafKeyTweak, spark_ClaimLeafKeyTweak_PubkeySharesTweakEntry as ClaimLeafKeyTweak_PubkeySharesTweakEntry, spark_ClaimTransferSignRefundsRequest as ClaimTransferSignRefundsRequest, spark_ClaimTransferSignRefundsResponse as ClaimTransferSignRefundsResponse, spark_ClaimTransferTweakKeysRequest as ClaimTransferTweakKeysRequest, spark_ConnectedEvent as ConnectedEvent, spark_CooperativeExitRequest as CooperativeExitRequest, spark_CooperativeExitResponse as CooperativeExitResponse, spark_CounterLeafSwapRequest as CounterLeafSwapRequest, spark_CounterLeafSwapResponse as CounterLeafSwapResponse, spark_CreateTreeRequest as CreateTreeRequest, spark_CreateTreeResponse as CreateTreeResponse, spark_CreationNode as CreationNode, spark_CreationResponseNode as CreationResponseNode, type spark_DeepPartial as DeepPartial, spark_DepositAddressProof as DepositAddressProof, spark_DepositAddressProof_AddressSignaturesEntry as DepositAddressProof_AddressSignaturesEntry, spark_DepositAddressQueryResult as DepositAddressQueryResult, spark_DepositEvent as DepositEvent, spark_Direction as Direction, spark_ExitSingleNodeTreeSigningResult as ExitSingleNodeTreeSigningResult, spark_ExitSingleNodeTreesRequest as ExitSingleNodeTreesRequest, spark_ExitSingleNodeTreesResponse as ExitSingleNodeTreesResponse, spark_ExitingTree as ExitingTree, spark_ExtendLeafRequest as ExtendLeafRequest, spark_ExtendLeafResponse as ExtendLeafResponse, spark_ExtendLeafSigningResult as ExtendLeafSigningResult, spark_FinalizeNodeSignaturesRequest as FinalizeNodeSignaturesRequest, spark_FinalizeNodeSignaturesResponse as FinalizeNodeSignaturesResponse, spark_FinalizeTokenTransactionRequest as FinalizeTokenTransactionRequest, spark_FinalizeTransferRequest as FinalizeTransferRequest, spark_FinalizeTransferResponse as FinalizeTransferResponse, spark_FinalizeTransferWithTransferPackageRequest as FinalizeTransferWithTransferPackageRequest, spark_FreezeTokensPayload as FreezeTokensPayload, spark_FreezeTokensRequest as FreezeTokensRequest, spark_FreezeTokensResponse as FreezeTokensResponse, spark_GenerateDepositAddressRequest as GenerateDepositAddressRequest, spark_GenerateDepositAddressResponse as GenerateDepositAddressResponse, spark_GenerateStaticDepositAddressRequest as GenerateStaticDepositAddressRequest, spark_GenerateStaticDepositAddressResponse as GenerateStaticDepositAddressResponse, spark_GetSigningCommitmentsRequest as GetSigningCommitmentsRequest, spark_GetSigningCommitmentsResponse as GetSigningCommitmentsResponse, spark_GetSigningOperatorListResponse as GetSigningOperatorListResponse, spark_GetSigningOperatorListResponse_SigningOperatorsEntry as GetSigningOperatorListResponse_SigningOperatorsEntry, spark_GetUtxosForAddressRequest as GetUtxosForAddressRequest, spark_GetUtxosForAddressResponse as GetUtxosForAddressResponse, spark_InitiatePreimageSwapRequest as InitiatePreimageSwapRequest, spark_InitiatePreimageSwapRequest_Reason as InitiatePreimageSwapRequest_Reason, spark_InitiatePreimageSwapResponse as InitiatePreimageSwapResponse, spark_InitiateStaticDepositUtxoRefundRequest as InitiateStaticDepositUtxoRefundRequest, spark_InitiateStaticDepositUtxoRefundResponse as InitiateStaticDepositUtxoRefundResponse, spark_InitiateUtxoSwapRequest as InitiateUtxoSwapRequest, spark_InitiateUtxoSwapResponse as InitiateUtxoSwapResponse, spark_InvestigateLeavesRequest as InvestigateLeavesRequest, spark_InvoiceAmount as InvoiceAmount, spark_InvoiceAmountProof as InvoiceAmountProof, spark_InvoiceResponse as InvoiceResponse, spark_InvoiceStatus as InvoiceStatus, spark_KeyshareWithIndex as KeyshareWithIndex, spark_LeafRefundTxSigningJob as LeafRefundTxSigningJob, spark_LeafRefundTxSigningResult as LeafRefundTxSigningResult, type spark_MessageFns as MessageFns, spark_Network as Network, spark_NodeOutput as NodeOutput, spark_NodeSignatureShares as NodeSignatureShares, spark_NodeSignatures as NodeSignatures, spark_OperatorSpecificOwnerSignature as OperatorSpecificOwnerSignature, spark_OperatorSpecificTokenTransactionSignablePayload as OperatorSpecificTokenTransactionSignablePayload, spark_Order as Order, spark_OutPoint as OutPoint, spark_OutputWithPreviousTransactionData as OutputWithPreviousTransactionData, spark_PageRequest as PageRequest, spark_PageResponse as PageResponse, spark_PrepareTreeAddressRequest as PrepareTreeAddressRequest, spark_PrepareTreeAddressResponse as PrepareTreeAddressResponse, spark_ProvidePreimageRequest as ProvidePreimageRequest, spark_ProvidePreimageResponse as ProvidePreimageResponse, spark_QueryBalanceRequest as QueryBalanceRequest, spark_QueryBalanceResponse as QueryBalanceResponse, spark_QueryBalanceResponse_NodeBalancesEntry as QueryBalanceResponse_NodeBalancesEntry, spark_QueryNodesByValueRequest as QueryNodesByValueRequest, spark_QueryNodesByValueResponse as QueryNodesByValueResponse, spark_QueryNodesByValueResponse_NodesEntry as QueryNodesByValueResponse_NodesEntry, spark_QueryNodesDistributionRequest as QueryNodesDistributionRequest, spark_QueryNodesDistributionResponse as QueryNodesDistributionResponse, spark_QueryNodesDistributionResponse_NodeDistributionEntry as QueryNodesDistributionResponse_NodeDistributionEntry, spark_QueryNodesRequest as QueryNodesRequest, spark_QueryNodesResponse as QueryNodesResponse, spark_QueryNodesResponse_NodesEntry as QueryNodesResponse_NodesEntry, spark_QuerySparkInvoicesRequest as QuerySparkInvoicesRequest, spark_QuerySparkInvoicesResponse as QuerySparkInvoicesResponse, spark_QueryStaticDepositAddressesRequest as QueryStaticDepositAddressesRequest, spark_QueryStaticDepositAddressesResponse as QueryStaticDepositAddressesResponse, spark_QueryTokenOutputsRequest as QueryTokenOutputsRequest, spark_QueryTokenOutputsResponse as QueryTokenOutputsResponse, spark_QueryTokenTransactionsRequest as QueryTokenTransactionsRequest, spark_QueryTokenTransactionsResponse as QueryTokenTransactionsResponse, spark_QueryTransfersResponse as QueryTransfersResponse, spark_QueryUnusedDepositAddressesRequest as QueryUnusedDepositAddressesRequest, spark_QueryUnusedDepositAddressesResponse as QueryUnusedDepositAddressesResponse, spark_QueryUserSignedRefundsRequest as QueryUserSignedRefundsRequest, spark_QueryUserSignedRefundsResponse as QueryUserSignedRefundsResponse, spark_RefreshTimelockRequest as RefreshTimelockRequest, spark_RefreshTimelockResponse as RefreshTimelockResponse, spark_RefreshTimelockSigningResult as RefreshTimelockSigningResult, spark_RenewLeafRequest as RenewLeafRequest, spark_RenewLeafResponse as RenewLeafResponse, spark_RenewNodeTimelockResult as RenewNodeTimelockResult, spark_RenewNodeTimelockSigningJob as RenewNodeTimelockSigningJob, spark_RenewNodeZeroTimelockResult as RenewNodeZeroTimelockResult, spark_RenewNodeZeroTimelockSigningJob as RenewNodeZeroTimelockSigningJob, spark_RenewRefundTimelockResult as RenewRefundTimelockResult, spark_RenewRefundTimelockSigningJob as RenewRefundTimelockSigningJob, spark_RequestedSigningCommitments as RequestedSigningCommitments, spark_RequestedSigningCommitments_SigningNonceCommitmentsEntry as RequestedSigningCommitments_SigningNonceCommitmentsEntry, spark_ReturnLightningPaymentRequest as ReturnLightningPaymentRequest, spark_RevocationSecretWithIndex as RevocationSecretWithIndex, spark_SatsPayment as SatsPayment, spark_SatsTransfer as SatsTransfer, spark_SecretProof as SecretProof, spark_SecretShare as SecretShare, spark_SendLeafKeyTweak as SendLeafKeyTweak, spark_SendLeafKeyTweak_PubkeySharesTweakEntry as SendLeafKeyTweak_PubkeySharesTweakEntry, spark_SendLeafKeyTweaks as SendLeafKeyTweaks, type spark_ServerStreamingMethodResult as ServerStreamingMethodResult, spark_SignTokenTransactionRequest as SignTokenTransactionRequest, spark_SignTokenTransactionResponse as SignTokenTransactionResponse, spark_SignatureWithIndex as SignatureWithIndex, spark_SigningCommitments as SigningCommitments, spark_SigningCommitments_SigningCommitmentsEntry as SigningCommitments_SigningCommitmentsEntry, spark_SigningJob as SigningJob, spark_SigningKeyshare as SigningKeyshare, spark_SigningKeyshare_PublicSharesEntry as SigningKeyshare_PublicSharesEntry, spark_SigningOperatorInfo as SigningOperatorInfo, spark_SigningResult as SigningResult, spark_SigningResult_PublicKeysEntry as SigningResult_PublicKeysEntry, spark_SigningResult_SignatureSharesEntry as SigningResult_SignatureSharesEntry, spark_SigningResult_SigningNonceCommitmentsEntry as SigningResult_SigningNonceCommitmentsEntry, spark_SparkAddress as SparkAddress, spark_SparkInvoiceFields as SparkInvoiceFields, type spark_SparkServiceClient as SparkServiceClient, spark_SparkServiceDefinition as SparkServiceDefinition, type spark_SparkServiceImplementation as SparkServiceImplementation, spark_SpentTokenOutputMetadata as SpentTokenOutputMetadata, spark_StartDepositTreeCreationRequest as StartDepositTreeCreationRequest, spark_StartDepositTreeCreationResponse as StartDepositTreeCreationResponse, spark_StartTokenTransactionRequest as StartTokenTransactionRequest, spark_StartTokenTransactionResponse as StartTokenTransactionResponse, spark_StartTransferRequest as StartTransferRequest, spark_StartTransferResponse as StartTransferResponse, spark_StartTreeCreationRequest as StartTreeCreationRequest, spark_StartTreeCreationResponse as StartTreeCreationResponse, spark_StartUserSignedTransferRequest as StartUserSignedTransferRequest, spark_StorePreimageShareRequest as StorePreimageShareRequest, spark_SubscribeToEventsRequest as SubscribeToEventsRequest, spark_SubscribeToEventsResponse as SubscribeToEventsResponse, spark_TokenCreateInput as TokenCreateInput, spark_TokenMintInput as TokenMintInput, spark_TokenOutput as TokenOutput, spark_TokenOutputToSpend as TokenOutputToSpend, spark_TokenTransaction as TokenTransaction, spark_TokenTransactionConfirmationMetadata as TokenTransactionConfirmationMetadata, spark_TokenTransactionSignatures as TokenTransactionSignatures, spark_TokenTransactionStatus as TokenTransactionStatus, spark_TokenTransactionWithStatus as TokenTransactionWithStatus, spark_TokenTransfer as TokenTransfer, spark_TokenTransferInput as TokenTransferInput, spark_TokensPayment as TokensPayment, spark_Transfer as Transfer, spark_TransferEvent as TransferEvent, spark_TransferFilter as TransferFilter, spark_TransferLeaf as TransferLeaf, spark_TransferPackage as TransferPackage, spark_TransferPackage_KeyTweakPackageEntry as TransferPackage_KeyTweakPackageEntry, spark_TransferStatus as TransferStatus, spark_TransferType as TransferType, spark_TreeNode as TreeNode, spark_TreeNodeIds as TreeNodeIds, spark_UTXO as UTXO, spark_UserSignedRefund as UserSignedRefund, spark_UserSignedTxSigningJob as UserSignedTxSigningJob, spark_UtxoSwapRequestType as UtxoSwapRequestType, spark_directionFromJSON as directionFromJSON, spark_directionToJSON as directionToJSON, spark_initiatePreimageSwapRequest_ReasonFromJSON as initiatePreimageSwapRequest_ReasonFromJSON, spark_initiatePreimageSwapRequest_ReasonToJSON as initiatePreimageSwapRequest_ReasonToJSON, spark_invoiceStatusFromJSON as invoiceStatusFromJSON, spark_invoiceStatusToJSON as invoiceStatusToJSON, spark_networkFromJSON as networkFromJSON, spark_networkToJSON as networkToJSON, spark_orderFromJSON as orderFromJSON, spark_orderToJSON as orderToJSON, spark_protobufPackage as protobufPackage, spark_tokenTransactionStatusFromJSON as tokenTransactionStatusFromJSON, spark_tokenTransactionStatusToJSON as tokenTransactionStatusToJSON, spark_transferStatusFromJSON as transferStatusFromJSON, spark_transferStatusToJSON as transferStatusToJSON, spark_transferTypeFromJSON as transferTypeFromJSON, spark_transferTypeToJSON as transferTypeToJSON, spark_utxoSwapRequestTypeFromJSON as utxoSwapRequestTypeFromJSON, spark_utxoSwapRequestTypeToJSON as utxoSwapRequestTypeToJSON };
|
|
2789
|
+
export { spark_AdaptorPublicKeyPackage as AdaptorPublicKeyPackage, spark_Address as Address, spark_AddressNode as AddressNode, spark_AddressRequestNode as AddressRequestNode, spark_BitcoinTransactionOutput as BitcoinTransactionOutput, spark_CancelTransferRequest as CancelTransferRequest, spark_CancelTransferResponse as CancelTransferResponse, spark_ClaimLeafKeyTweak as ClaimLeafKeyTweak, spark_ClaimLeafKeyTweak_PubkeySharesTweakEntry as ClaimLeafKeyTweak_PubkeySharesTweakEntry, spark_ClaimTransferSignRefundsRequest as ClaimTransferSignRefundsRequest, spark_ClaimTransferSignRefundsResponse as ClaimTransferSignRefundsResponse, spark_ClaimTransferTweakKeysRequest as ClaimTransferTweakKeysRequest, spark_ConnectedEvent as ConnectedEvent, spark_CooperativeExitRequest as CooperativeExitRequest, spark_CooperativeExitResponse as CooperativeExitResponse, spark_CounterLeafSwapRequest as CounterLeafSwapRequest, spark_CounterLeafSwapResponse as CounterLeafSwapResponse, spark_CreateTreeRequest as CreateTreeRequest, spark_CreateTreeResponse as CreateTreeResponse, spark_CreationNode as CreationNode, spark_CreationResponseNode as CreationResponseNode, type spark_DeepPartial as DeepPartial, spark_DepositAddressProof as DepositAddressProof, spark_DepositAddressProof_AddressSignaturesEntry as DepositAddressProof_AddressSignaturesEntry, spark_DepositAddressQueryResult as DepositAddressQueryResult, spark_DepositEvent as DepositEvent, spark_Direction as Direction, spark_ExitSingleNodeTreeSigningResult as ExitSingleNodeTreeSigningResult, spark_ExitSingleNodeTreesRequest as ExitSingleNodeTreesRequest, spark_ExitSingleNodeTreesResponse as ExitSingleNodeTreesResponse, spark_ExitingTree as ExitingTree, spark_ExtendLeafRequest as ExtendLeafRequest, spark_ExtendLeafResponse as ExtendLeafResponse, spark_ExtendLeafSigningResult as ExtendLeafSigningResult, spark_FinalizeNodeSignaturesRequest as FinalizeNodeSignaturesRequest, spark_FinalizeNodeSignaturesResponse as FinalizeNodeSignaturesResponse, spark_FinalizeTokenTransactionRequest as FinalizeTokenTransactionRequest, spark_FinalizeTransferRequest as FinalizeTransferRequest, spark_FinalizeTransferResponse as FinalizeTransferResponse, spark_FinalizeTransferWithTransferPackageRequest as FinalizeTransferWithTransferPackageRequest, spark_FreezeTokensPayload as FreezeTokensPayload, spark_FreezeTokensRequest as FreezeTokensRequest, spark_FreezeTokensResponse as FreezeTokensResponse, spark_GenerateDepositAddressRequest as GenerateDepositAddressRequest, spark_GenerateDepositAddressResponse as GenerateDepositAddressResponse, spark_GenerateStaticDepositAddressRequest as GenerateStaticDepositAddressRequest, spark_GenerateStaticDepositAddressResponse as GenerateStaticDepositAddressResponse, spark_GetSigningCommitmentsRequest as GetSigningCommitmentsRequest, spark_GetSigningCommitmentsResponse as GetSigningCommitmentsResponse, spark_GetSigningOperatorListResponse as GetSigningOperatorListResponse, spark_GetSigningOperatorListResponse_SigningOperatorsEntry as GetSigningOperatorListResponse_SigningOperatorsEntry, spark_GetUtxosForAddressRequest as GetUtxosForAddressRequest, spark_GetUtxosForAddressResponse as GetUtxosForAddressResponse, spark_InitiatePreimageSwapRequest as InitiatePreimageSwapRequest, spark_InitiatePreimageSwapRequest_Reason as InitiatePreimageSwapRequest_Reason, spark_InitiatePreimageSwapResponse as InitiatePreimageSwapResponse, spark_InitiateStaticDepositUtxoRefundRequest as InitiateStaticDepositUtxoRefundRequest, spark_InitiateStaticDepositUtxoRefundResponse as InitiateStaticDepositUtxoRefundResponse, spark_InitiateSwapPrimaryTransferRequest as InitiateSwapPrimaryTransferRequest, spark_InitiateSwapPrimaryTransferResponse as InitiateSwapPrimaryTransferResponse, spark_InitiateUtxoSwapRequest as InitiateUtxoSwapRequest, spark_InitiateUtxoSwapResponse as InitiateUtxoSwapResponse, spark_InvestigateLeavesRequest as InvestigateLeavesRequest, spark_InvoiceAmount as InvoiceAmount, spark_InvoiceAmountProof as InvoiceAmountProof, spark_InvoiceResponse as InvoiceResponse, spark_InvoiceStatus as InvoiceStatus, spark_KeyshareWithIndex as KeyshareWithIndex, spark_LeafRefundTxSigningJob as LeafRefundTxSigningJob, spark_LeafRefundTxSigningResult as LeafRefundTxSigningResult, type spark_MessageFns as MessageFns, spark_Network as Network, spark_NodeOutput as NodeOutput, spark_NodeSignatureShares as NodeSignatureShares, spark_NodeSignatures as NodeSignatures, spark_OperatorSpecificOwnerSignature as OperatorSpecificOwnerSignature, spark_OperatorSpecificTokenTransactionSignablePayload as OperatorSpecificTokenTransactionSignablePayload, spark_Order as Order, spark_OutPoint as OutPoint, spark_OutputWithPreviousTransactionData as OutputWithPreviousTransactionData, spark_PageRequest as PageRequest, spark_PageResponse as PageResponse, spark_PreimageRequestStatus as PreimageRequestStatus, spark_PreimageRequestWithTransfer as PreimageRequestWithTransfer, spark_PrepareTreeAddressRequest as PrepareTreeAddressRequest, spark_PrepareTreeAddressResponse as PrepareTreeAddressResponse, spark_ProvidePreimageRequest as ProvidePreimageRequest, spark_ProvidePreimageResponse as ProvidePreimageResponse, spark_QueryBalanceRequest as QueryBalanceRequest, spark_QueryBalanceResponse as QueryBalanceResponse, spark_QueryBalanceResponse_NodeBalancesEntry as QueryBalanceResponse_NodeBalancesEntry, spark_QueryHtlcRequest as QueryHtlcRequest, spark_QueryHtlcResponse as QueryHtlcResponse, spark_QueryNodesByValueRequest as QueryNodesByValueRequest, spark_QueryNodesByValueResponse as QueryNodesByValueResponse, spark_QueryNodesByValueResponse_NodesEntry as QueryNodesByValueResponse_NodesEntry, spark_QueryNodesDistributionRequest as QueryNodesDistributionRequest, spark_QueryNodesDistributionResponse as QueryNodesDistributionResponse, spark_QueryNodesDistributionResponse_NodeDistributionEntry as QueryNodesDistributionResponse_NodeDistributionEntry, spark_QueryNodesRequest as QueryNodesRequest, spark_QueryNodesResponse as QueryNodesResponse, spark_QueryNodesResponse_NodesEntry as QueryNodesResponse_NodesEntry, spark_QuerySparkInvoicesRequest as QuerySparkInvoicesRequest, spark_QuerySparkInvoicesResponse as QuerySparkInvoicesResponse, spark_QueryStaticDepositAddressesRequest as QueryStaticDepositAddressesRequest, spark_QueryStaticDepositAddressesResponse as QueryStaticDepositAddressesResponse, spark_QueryTokenOutputsRequest as QueryTokenOutputsRequest, spark_QueryTokenOutputsResponse as QueryTokenOutputsResponse, spark_QueryTokenTransactionsRequest as QueryTokenTransactionsRequest, spark_QueryTokenTransactionsResponse as QueryTokenTransactionsResponse, spark_QueryTransfersResponse as QueryTransfersResponse, spark_QueryUnusedDepositAddressesRequest as QueryUnusedDepositAddressesRequest, spark_QueryUnusedDepositAddressesResponse as QueryUnusedDepositAddressesResponse, spark_QueryUserSignedRefundsRequest as QueryUserSignedRefundsRequest, spark_QueryUserSignedRefundsResponse as QueryUserSignedRefundsResponse, spark_RefreshTimelockRequest as RefreshTimelockRequest, spark_RefreshTimelockResponse as RefreshTimelockResponse, spark_RefreshTimelockSigningResult as RefreshTimelockSigningResult, spark_RenewLeafRequest as RenewLeafRequest, spark_RenewLeafResponse as RenewLeafResponse, spark_RenewNodeTimelockResult as RenewNodeTimelockResult, spark_RenewNodeTimelockSigningJob as RenewNodeTimelockSigningJob, spark_RenewNodeZeroTimelockResult as RenewNodeZeroTimelockResult, spark_RenewNodeZeroTimelockSigningJob as RenewNodeZeroTimelockSigningJob, spark_RenewRefundTimelockResult as RenewRefundTimelockResult, spark_RenewRefundTimelockSigningJob as RenewRefundTimelockSigningJob, spark_RequestedSigningCommitments as RequestedSigningCommitments, spark_RequestedSigningCommitments_SigningNonceCommitmentsEntry as RequestedSigningCommitments_SigningNonceCommitmentsEntry, spark_ReturnLightningPaymentRequest as ReturnLightningPaymentRequest, spark_RevocationSecretWithIndex as RevocationSecretWithIndex, spark_SatsPayment as SatsPayment, spark_SatsTransfer as SatsTransfer, spark_SecretProof as SecretProof, spark_SecretShare as SecretShare, spark_SendLeafKeyTweak as SendLeafKeyTweak, spark_SendLeafKeyTweak_PubkeySharesTweakEntry as SendLeafKeyTweak_PubkeySharesTweakEntry, spark_SendLeafKeyTweaks as SendLeafKeyTweaks, type spark_ServerStreamingMethodResult as ServerStreamingMethodResult, spark_SignTokenTransactionRequest as SignTokenTransactionRequest, spark_SignTokenTransactionResponse as SignTokenTransactionResponse, spark_SignatureWithIndex as SignatureWithIndex, spark_SigningCommitments as SigningCommitments, spark_SigningCommitments_SigningCommitmentsEntry as SigningCommitments_SigningCommitmentsEntry, spark_SigningJob as SigningJob, spark_SigningKeyshare as SigningKeyshare, spark_SigningKeyshare_PublicSharesEntry as SigningKeyshare_PublicSharesEntry, spark_SigningOperatorInfo as SigningOperatorInfo, spark_SigningResult as SigningResult, spark_SigningResult_PublicKeysEntry as SigningResult_PublicKeysEntry, spark_SigningResult_SignatureSharesEntry as SigningResult_SignatureSharesEntry, spark_SigningResult_SigningNonceCommitmentsEntry as SigningResult_SigningNonceCommitmentsEntry, spark_SparkAddress as SparkAddress, spark_SparkInvoiceFields as SparkInvoiceFields, type spark_SparkServiceClient as SparkServiceClient, spark_SparkServiceDefinition as SparkServiceDefinition, type spark_SparkServiceImplementation as SparkServiceImplementation, spark_SpentTokenOutputMetadata as SpentTokenOutputMetadata, spark_StartDepositTreeCreationRequest as StartDepositTreeCreationRequest, spark_StartDepositTreeCreationResponse as StartDepositTreeCreationResponse, spark_StartTokenTransactionRequest as StartTokenTransactionRequest, spark_StartTokenTransactionResponse as StartTokenTransactionResponse, spark_StartTransferRequest as StartTransferRequest, spark_StartTransferResponse as StartTransferResponse, spark_StartTreeCreationRequest as StartTreeCreationRequest, spark_StartTreeCreationResponse as StartTreeCreationResponse, spark_StartUserSignedTransferRequest as StartUserSignedTransferRequest, spark_StorePreimageShareRequest as StorePreimageShareRequest, spark_SubscribeToEventsRequest as SubscribeToEventsRequest, spark_SubscribeToEventsResponse as SubscribeToEventsResponse, spark_TokenCreateInput as TokenCreateInput, spark_TokenMintInput as TokenMintInput, spark_TokenOutput as TokenOutput, spark_TokenOutputToSpend as TokenOutputToSpend, spark_TokenTransaction as TokenTransaction, spark_TokenTransactionConfirmationMetadata as TokenTransactionConfirmationMetadata, spark_TokenTransactionSignatures as TokenTransactionSignatures, spark_TokenTransactionStatus as TokenTransactionStatus, spark_TokenTransactionWithStatus as TokenTransactionWithStatus, spark_TokenTransfer as TokenTransfer, spark_TokenTransferInput as TokenTransferInput, spark_TokensPayment as TokensPayment, spark_Transfer as Transfer, spark_TransferEvent as TransferEvent, spark_TransferFilter as TransferFilter, spark_TransferLeaf as TransferLeaf, spark_TransferPackage as TransferPackage, spark_TransferPackage_KeyTweakPackageEntry as TransferPackage_KeyTweakPackageEntry, spark_TransferStatus as TransferStatus, spark_TransferType as TransferType, spark_TreeNode as TreeNode, spark_TreeNodeIds as TreeNodeIds, spark_UTXO as UTXO, spark_UserSignedRefund as UserSignedRefund, spark_UserSignedTxSigningJob as UserSignedTxSigningJob, spark_UtxoSwapRequestType as UtxoSwapRequestType, spark_directionFromJSON as directionFromJSON, spark_directionToJSON as directionToJSON, spark_initiatePreimageSwapRequest_ReasonFromJSON as initiatePreimageSwapRequest_ReasonFromJSON, spark_initiatePreimageSwapRequest_ReasonToJSON as initiatePreimageSwapRequest_ReasonToJSON, spark_invoiceStatusFromJSON as invoiceStatusFromJSON, spark_invoiceStatusToJSON as invoiceStatusToJSON, spark_networkFromJSON as networkFromJSON, spark_networkToJSON as networkToJSON, spark_orderFromJSON as orderFromJSON, spark_orderToJSON as orderToJSON, spark_preimageRequestStatusFromJSON as preimageRequestStatusFromJSON, spark_preimageRequestStatusToJSON as preimageRequestStatusToJSON, spark_protobufPackage as protobufPackage, spark_tokenTransactionStatusFromJSON as tokenTransactionStatusFromJSON, spark_tokenTransactionStatusToJSON as tokenTransactionStatusToJSON, spark_transferStatusFromJSON as transferStatusFromJSON, spark_transferStatusToJSON as transferStatusToJSON, spark_transferTypeFromJSON as transferTypeFromJSON, spark_transferTypeToJSON as transferTypeToJSON, spark_utxoSwapRequestTypeFromJSON as utxoSwapRequestTypeFromJSON, spark_utxoSwapRequestTypeToJSON as utxoSwapRequestTypeToJSON };
|
|
2669
2790
|
}
|
|
2670
2791
|
|
|
2671
|
-
export {
|
|
2792
|
+
export { TransferEvent as $, transferTypeToJSON as A, Order as B, orderFromJSON as C, Direction as D, Empty as E, FinalizeNodeSignaturesResponse as F, orderToJSON as G, PreimageRequestStatus as H, preimageRequestStatusFromJSON as I, preimageRequestStatusToJSON as J, UtxoSwapRequestType as K, LeafRefundTxSigningResult as L, utxoSwapRequestTypeFromJSON as M, Network as N, OutputWithPreviousTransactionData as O, PageRequest as P, QueryTransfersResponse as Q, RequestedSigningCommitments as R, SigningKeyshare as S, Transfer as T, UserSignedTxSigningJob as U, utxoSwapRequestTypeToJSON as V, InvoiceStatus as W, invoiceStatusFromJSON as X, invoiceStatusToJSON as Y, SubscribeToEventsRequest as Z, ConnectedEvent as _, PageResponse as a, SendLeafKeyTweaks as a$, DepositEvent as a0, DepositAddressProof as a1, DepositAddressProof_AddressSignaturesEntry as a2, GenerateDepositAddressRequest as a3, Address as a4, GenerateDepositAddressResponse as a5, GenerateStaticDepositAddressRequest as a6, GenerateStaticDepositAddressResponse as a7, UTXO as a8, NodeOutput as a9, TokenTransactionConfirmationMetadata as aA, TokenTransactionWithStatus as aB, SignatureWithIndex as aC, TokenTransactionSignatures as aD, StartTokenTransactionRequest as aE, StartTokenTransactionResponse as aF, OperatorSpecificTokenTransactionSignablePayload as aG, OperatorSpecificOwnerSignature as aH, SignTokenTransactionRequest as aI, KeyshareWithIndex as aJ, SignTokenTransactionResponse as aK, RevocationSecretWithIndex as aL, FinalizeTokenTransactionRequest as aM, FreezeTokensPayload as aN, FreezeTokensRequest as aO, FreezeTokensResponse as aP, QueryTokenOutputsRequest as aQ, QueryTokenTransactionsRequest as aR, QueryTokenTransactionsResponse as aS, QueryTokenOutputsResponse as aT, FinalizeNodeSignaturesRequest as aU, SecretShare as aV, SecretProof as aW, LeafRefundTxSigningJob as aX, StartUserSignedTransferRequest as aY, StartTransferResponse as aZ, TransferPackage_KeyTweakPackageEntry as a_, SigningJob as aa, SigningKeyshare_PublicSharesEntry as ab, SigningResult as ac, SigningResult_PublicKeysEntry as ad, SigningResult_SigningNonceCommitmentsEntry as ae, SigningResult_SignatureSharesEntry as af, RenewLeafRequest as ag, RenewNodeTimelockSigningJob as ah, RenewRefundTimelockSigningJob as ai, RenewNodeZeroTimelockSigningJob as aj, RenewLeafResponse as ak, RenewNodeTimelockResult as al, RenewRefundTimelockResult as am, RenewNodeZeroTimelockResult as an, NodeSignatureShares as ao, StartTreeCreationRequest as ap, StartTreeCreationResponse as aq, StartDepositTreeCreationRequest as ar, StartDepositTreeCreationResponse as as, TokenOutputToSpend as at, TokenTransferInput as au, TokenMintInput as av, TokenCreateInput as aw, TokenOutput as ax, TokenTransaction as ay, SpentTokenOutputMetadata as az, SparkServiceDefinition as b, DepositAddressQueryResult as b$, SendLeafKeyTweak as b0, SendLeafKeyTweak_PubkeySharesTweakEntry as b1, FinalizeTransferRequest as b2, FinalizeTransferWithTransferPackageRequest as b3, FinalizeTransferResponse as b4, TransferFilter as b5, ClaimLeafKeyTweak as b6, ClaimLeafKeyTweak_PubkeySharesTweakEntry as b7, ClaimTransferTweakKeysRequest as b8, ClaimTransferSignRefundsRequest as b9, AddressRequestNode as bA, PrepareTreeAddressRequest as bB, AddressNode as bC, PrepareTreeAddressResponse as bD, CreationNode as bE, CreateTreeRequest as bF, CreationResponseNode as bG, CreateTreeResponse as bH, SigningOperatorInfo as bI, GetSigningOperatorListResponse as bJ, GetSigningOperatorListResponse_SigningOperatorsEntry as bK, QueryUserSignedRefundsRequest as bL, QueryUserSignedRefundsResponse as bM, PreimageRequestWithTransfer as bN, QueryHtlcRequest as bO, QueryHtlcResponse as bP, ProvidePreimageRequest as bQ, ProvidePreimageResponse as bR, ReturnLightningPaymentRequest as bS, TreeNodeIds as bT, QueryNodesRequest as bU, QueryNodesResponse as bV, QueryNodesResponse_NodesEntry as bW, CancelTransferRequest as bX, CancelTransferResponse as bY, QueryUnusedDepositAddressesRequest as bZ, QueryStaticDepositAddressesRequest as b_, ClaimTransferSignRefundsResponse as ba, StorePreimageShareRequest as bb, RequestedSigningCommitments_SigningNonceCommitmentsEntry as bc, GetSigningCommitmentsRequest as bd, GetSigningCommitmentsResponse as be, SigningCommitments as bf, SigningCommitments_SigningCommitmentsEntry as bg, UserSignedRefund as bh, InvoiceAmountProof as bi, InvoiceAmount as bj, InitiatePreimageSwapRequest as bk, InitiatePreimageSwapRequest_Reason as bl, initiatePreimageSwapRequest_ReasonFromJSON as bm, initiatePreimageSwapRequest_ReasonToJSON as bn, InitiatePreimageSwapResponse as bo, OutPoint as bp, CooperativeExitRequest as bq, CooperativeExitResponse as br, CounterLeafSwapRequest as bs, CounterLeafSwapResponse as bt, RefreshTimelockRequest as bu, RefreshTimelockSigningResult as bv, RefreshTimelockResponse as bw, ExtendLeafRequest as bx, ExtendLeafSigningResult as by, ExtendLeafResponse as bz, TreeNode as c, QueryUnusedDepositAddressesResponse as c0, QueryStaticDepositAddressesResponse as c1, QueryBalanceRequest as c2, QueryBalanceResponse as c3, QueryBalanceResponse_NodeBalancesEntry as c4, SparkAddress as c5, SatsPayment as c6, TokensPayment as c7, InitiateStaticDepositUtxoRefundRequest as c8, InitiateStaticDepositUtxoRefundResponse as c9, type MessageFns as cA, InitiateUtxoSwapRequest as ca, InitiateUtxoSwapResponse as cb, ExitingTree as cc, ExitSingleNodeTreeSigningResult as cd, BitcoinTransactionOutput as ce, ExitSingleNodeTreesRequest as cf, ExitSingleNodeTreesResponse as cg, InvestigateLeavesRequest as ch, QueryNodesDistributionRequest as ci, QueryNodesDistributionResponse as cj, QueryNodesDistributionResponse_NodeDistributionEntry as ck, QueryNodesByValueRequest as cl, QueryNodesByValueResponse as cm, QueryNodesByValueResponse_NodesEntry as cn, GetUtxosForAddressRequest as co, GetUtxosForAddressResponse as cp, QuerySparkInvoicesRequest as cq, InvoiceResponse as cr, SatsTransfer as cs, TokenTransfer as ct, InitiateSwapPrimaryTransferRequest as cu, InitiateSwapPrimaryTransferResponse as cv, AdaptorPublicKeyPackage as cw, type SparkServiceImplementation as cx, type DeepPartial as cy, type ServerStreamingMethodResult as cz, SubscribeToEventsResponse as d, SparkInvoiceFields as e, type SparkServiceClient as f, StartTransferRequest as g, NodeSignatures as h, QuerySparkInvoicesResponse as i, TransferPackage as j, TransferStatus as k, TransferType as l, TransferLeaf as m, common as n, networkFromJSON as o, protobufPackage as p, networkToJSON as q, directionFromJSON as r, spark as s, directionToJSON as t, TokenTransactionStatus as u, tokenTransactionStatusFromJSON as v, tokenTransactionStatusToJSON as w, transferStatusFromJSON as x, transferStatusToJSON as y, transferTypeFromJSON as z };
|