@buildonspark/spark-sdk 0.3.7 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/bare/index.cjs +8088 -7723
- package/dist/bare/index.d.cts +350 -262
- package/dist/bare/index.d.ts +350 -262
- package/dist/bare/index.js +7968 -7608
- package/dist/{chunk-J2P3KTQP.js → chunk-4YFT7DAE.js} +1 -1
- package/dist/{chunk-XWLR6G5C.js → chunk-JLF6WJ7K.js} +1 -1
- package/dist/{chunk-UYTT3C6H.js → chunk-MFCM6GUD.js} +40 -213
- package/dist/{chunk-KDEVNW7C.js → chunk-O4C4HGQL.js} +3391 -3292
- package/dist/{chunk-SRPKOCG4.js → chunk-S55NZT4P.js} +8 -10
- package/dist/{chunk-P4HYYSMU.js → chunk-WRE2T22S.js} +1 -1
- package/dist/{chunk-IC4IUEOS.js → chunk-YEBEN7XD.js} +309 -38
- package/dist/{client-Bcb7TUIp.d.cts → client-BIqiUNy4.d.cts} +2 -2
- package/dist/{client-D9T58OY8.d.ts → client-BaQf-5gD.d.ts} +2 -2
- package/dist/debug.cjs +8068 -7704
- package/dist/debug.d.cts +25 -18
- package/dist/debug.d.ts +25 -18
- 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 +6871 -6501
- package/dist/index.d.cts +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +36 -24
- package/dist/index.node.cjs +7102 -6903
- package/dist/index.node.d.cts +9 -8
- package/dist/index.node.d.ts +9 -8
- package/dist/index.node.js +35 -23
- package/dist/{logging-zkr4UlOi.d.cts → logging-CXhvuqJJ.d.cts} +45 -35
- package/dist/{logging-JIaZZIbR.d.ts → logging-DDeMLsVN.d.ts} +45 -35
- package/dist/native/{chunk-X2QXUON7.js → chunk-AFP5QR4O.js} +11 -8
- package/dist/native/index.react-native.cjs +7054 -6677
- package/dist/native/index.react-native.d.cts +180 -92
- package/dist/native/index.react-native.d.ts +180 -92
- package/dist/native/index.react-native.js +6760 -6393
- package/dist/native/{wasm-GKEDPGTM.js → wasm-D4TI35NF.js} +1 -1
- package/dist/proto/spark.cjs +309 -38
- package/dist/proto/spark.d.cts +1 -1
- package/dist/proto/spark.d.ts +1 -1
- package/dist/proto/spark.js +5 -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-WA_4wcBr.d.cts → spark-DOpheE8_.d.cts} +69 -7
- package/dist/{spark-WA_4wcBr.d.ts → spark-DOpheE8_.d.ts} +69 -7
- package/dist/{spark-wallet.browser-DC3jdQPW.d.cts → spark-wallet.browser-CbYo8A_U.d.cts} +8 -8
- package/dist/{spark-wallet.browser-BwYkkOBU.d.ts → spark-wallet.browser-Cz8c4kOW.d.ts} +8 -8
- package/dist/{spark-wallet.node-CR_zNxmy.d.cts → spark-wallet.node-4WQgWwB2.d.cts} +9 -31
- package/dist/{spark-wallet.node-C9d2W-Nb.d.ts → spark-wallet.node-CmIvxtcC.d.ts} +9 -31
- package/dist/tests/test-utils.cjs +7341 -7065
- package/dist/tests/test-utils.d.cts +7 -5
- package/dist/tests/test-utils.d.ts +7 -5
- package/dist/tests/test-utils.js +7 -7
- package/dist/{token-transactions-BZoJuvuE.d.ts → token-transactions-Bu023ztN.d.ts} +2 -2
- package/dist/{token-transactions-I_OFIoNH.d.cts → token-transactions-CV8QD3I7.d.cts} +2 -2
- package/dist/types/index.cjs +307 -38
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +2 -2
- package/dist/{spark-wallet-CE5PYiIb.d.ts → wallet-config-Bmk2eAn8.d.ts} +310 -287
- package/dist/{spark-wallet-BuFrUWeE.d.cts → wallet-config-DQw5llqA.d.cts} +310 -287
- package/package.json +3 -3
- package/src/proto/mock.ts +0 -264
- package/src/proto/spark.ts +433 -46
- package/src/services/config.ts +5 -0
- package/src/services/connection/connection.browser.ts +27 -19
- package/src/services/connection/connection.node.ts +79 -24
- package/src/services/connection/connection.ts +395 -233
- package/src/services/coop-exit.ts +26 -107
- package/src/services/deposit.ts +12 -48
- package/src/services/lightning.ts +30 -4
- package/src/services/signing.ts +187 -37
- package/src/services/transfer.ts +553 -723
- package/src/services/wallet-config.ts +6 -0
- package/src/spark-wallet/proto-descriptors.ts +1 -1
- package/src/spark-wallet/spark-wallet.ts +132 -313
- package/src/spark-wallet/types.ts +2 -2
- package/src/spark_descriptors.pb +0 -0
- package/src/tests/connection.test.ts +537 -0
- package/src/tests/integration/connection.test.ts +39 -0
- package/src/tests/integration/lightning.test.ts +32 -16
- package/src/tests/integration/static_deposit.test.ts +13 -11
- package/src/tests/integration/transfer.test.ts +13 -1
- package/src/tests/isHermeticTest.ts +1 -1
- package/src/tests/utils/test-faucet.ts +53 -20
- package/src/utils/htlc-transactions.ts +224 -0
- package/src/utils/transaction.ts +285 -248
|
@@ -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-DOpheE8_.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-DOpheE8_.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-JLF6WJ7K.js";
|
|
42
|
+
import "../chunk-YEBEN7XD.js";
|
|
43
43
|
import "../chunk-MVRQ5US7.js";
|
|
44
44
|
export {
|
|
45
45
|
CommitProgress,
|
|
@@ -409,7 +409,6 @@ interface SigningResult_SignatureSharesEntry {
|
|
|
409
409
|
declare const SigningResult_SignatureSharesEntry: MessageFns<SigningResult_SignatureSharesEntry>;
|
|
410
410
|
interface RenewLeafRequest {
|
|
411
411
|
leafId: string;
|
|
412
|
-
ownerIdentityPublicKey: Uint8Array;
|
|
413
412
|
signingJobs?: //
|
|
414
413
|
/**
|
|
415
414
|
* Resets the node transaction timelock and refund transaction timelock
|
|
@@ -435,6 +434,17 @@ interface RenewLeafRequest {
|
|
|
435
434
|
{
|
|
436
435
|
$case: "renewRefundTimelockSigningJob";
|
|
437
436
|
renewRefundTimelockSigningJob: RenewRefundTimelockSigningJob;
|
|
437
|
+
} | //
|
|
438
|
+
/**
|
|
439
|
+
* A special case of refresh for when the node transaction is at 0 and
|
|
440
|
+
* cannot be decremented further. This operation resets the refund
|
|
441
|
+
* transaction's timelock and, similar to renew node, adds an additional
|
|
442
|
+
* node transaction to the transaction chain with zero timelock as well.
|
|
443
|
+
* This case is mostly used for user-created trees from L1 deposits.
|
|
444
|
+
*/
|
|
445
|
+
{
|
|
446
|
+
$case: "renewNodeZeroTimelockSigningJob";
|
|
447
|
+
renewNodeZeroTimelockSigningJob: RenewNodeZeroTimelockSigningJob;
|
|
438
448
|
} | undefined;
|
|
439
449
|
}
|
|
440
450
|
declare const RenewLeafRequest: MessageFns<RenewLeafRequest>;
|
|
@@ -473,13 +483,32 @@ interface RenewRefundTimelockSigningJob {
|
|
|
473
483
|
directFromCpfpRefundTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
474
484
|
}
|
|
475
485
|
declare const RenewRefundTimelockSigningJob: MessageFns<RenewRefundTimelockSigningJob>;
|
|
486
|
+
interface RenewNodeZeroTimelockSigningJob {
|
|
487
|
+
/**
|
|
488
|
+
* Signing job with the new node transaction. The updated transaction is
|
|
489
|
+
* expected to have a timelock of 0.
|
|
490
|
+
*/
|
|
491
|
+
nodeTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
492
|
+
/**
|
|
493
|
+
* Signing job with the updated refund transaction. This updated transaction
|
|
494
|
+
* must have a timelock of 2000.
|
|
495
|
+
*/
|
|
496
|
+
refundTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
497
|
+
directNodeTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
498
|
+
directRefundTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
499
|
+
directFromCpfpRefundTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
500
|
+
}
|
|
501
|
+
declare const RenewNodeZeroTimelockSigningJob: MessageFns<RenewNodeZeroTimelockSigningJob>;
|
|
476
502
|
interface RenewLeafResponse {
|
|
477
503
|
renewResult?: {
|
|
478
|
-
$case: "
|
|
479
|
-
|
|
504
|
+
$case: "renewNodeTimelockResult";
|
|
505
|
+
renewNodeTimelockResult: RenewNodeTimelockResult;
|
|
506
|
+
} | {
|
|
507
|
+
$case: "renewRefundTimelockResult";
|
|
508
|
+
renewRefundTimelockResult: RenewRefundTimelockResult;
|
|
480
509
|
} | {
|
|
481
|
-
$case: "
|
|
482
|
-
|
|
510
|
+
$case: "renewNodeZeroTimelockResult";
|
|
511
|
+
renewNodeZeroTimelockResult: RenewNodeZeroTimelockResult;
|
|
483
512
|
} | undefined;
|
|
484
513
|
}
|
|
485
514
|
declare const RenewLeafResponse: MessageFns<RenewLeafResponse>;
|
|
@@ -492,6 +521,11 @@ interface RenewRefundTimelockResult {
|
|
|
492
521
|
node: TreeNode | undefined;
|
|
493
522
|
}
|
|
494
523
|
declare const RenewRefundTimelockResult: MessageFns<RenewRefundTimelockResult>;
|
|
524
|
+
interface RenewNodeZeroTimelockResult {
|
|
525
|
+
splitNode: TreeNode | undefined;
|
|
526
|
+
node: TreeNode | undefined;
|
|
527
|
+
}
|
|
528
|
+
declare const RenewNodeZeroTimelockResult: MessageFns<RenewNodeZeroTimelockResult>;
|
|
495
529
|
/**
|
|
496
530
|
* NodeSignatureShares is the signature shares for a node on the tree.
|
|
497
531
|
* For each tree node, the verifying key stays the same for both transactions.
|
|
@@ -1130,15 +1164,28 @@ interface RequestedSigningCommitments_SigningNonceCommitmentsEntry {
|
|
|
1130
1164
|
}
|
|
1131
1165
|
declare const RequestedSigningCommitments_SigningNonceCommitmentsEntry: MessageFns<RequestedSigningCommitments_SigningNonceCommitmentsEntry>;
|
|
1132
1166
|
interface GetSigningCommitmentsRequest {
|
|
1167
|
+
/** The node IDs for which to get signing commitments. */
|
|
1133
1168
|
nodeIds: string[];
|
|
1169
|
+
/** The number of signing commitments to get per node ID. */
|
|
1134
1170
|
count: number;
|
|
1135
1171
|
}
|
|
1136
1172
|
declare const GetSigningCommitmentsRequest: MessageFns<GetSigningCommitmentsRequest>;
|
|
1137
1173
|
interface GetSigningCommitmentsResponse {
|
|
1174
|
+
/**
|
|
1175
|
+
* A list of signing commitments for each requested node ID. The signing commitments will be
|
|
1176
|
+
* ordered in the same order as the requested node IDs, repeated for the number of commitments
|
|
1177
|
+
* requested. For example, if node_ids = [A, B] and count = 2, the response will contain:
|
|
1178
|
+
*
|
|
1179
|
+
* [commitment_A1, commitment_B1, commitment_A2, commitment_B2]
|
|
1180
|
+
*/
|
|
1138
1181
|
signingCommitments: RequestedSigningCommitments[];
|
|
1139
1182
|
}
|
|
1140
1183
|
declare const GetSigningCommitmentsResponse: MessageFns<GetSigningCommitmentsResponse>;
|
|
1141
1184
|
interface SigningCommitments {
|
|
1185
|
+
/**
|
|
1186
|
+
* A map of signing operator ID (i.e. 000...01) to the signing commitment provided by that
|
|
1187
|
+
* operator.
|
|
1188
|
+
*/
|
|
1142
1189
|
signingCommitments: {
|
|
1143
1190
|
[key: string]: SigningCommitment;
|
|
1144
1191
|
};
|
|
@@ -1174,6 +1221,7 @@ interface InitiatePreimageSwapRequest {
|
|
|
1174
1221
|
transfer: StartUserSignedTransferRequest | undefined;
|
|
1175
1222
|
receiverIdentityPublicKey: Uint8Array;
|
|
1176
1223
|
feeSats: number;
|
|
1224
|
+
transferRequest: StartTransferRequest | undefined;
|
|
1177
1225
|
}
|
|
1178
1226
|
declare const InitiatePreimageSwapRequest: MessageFns<InitiatePreimageSwapRequest>;
|
|
1179
1227
|
interface InitiatePreimageSwapResponse {
|
|
@@ -1793,6 +1841,10 @@ declare const SparkServiceDefinition: {
|
|
|
1793
1841
|
readonly responseStream: false;
|
|
1794
1842
|
readonly options: {};
|
|
1795
1843
|
};
|
|
1844
|
+
/**
|
|
1845
|
+
* Gets a specified number of signing commmitments for a set of nodes, which can be used as
|
|
1846
|
+
* part of a transfer package.
|
|
1847
|
+
*/
|
|
1796
1848
|
readonly get_signing_commitments: {
|
|
1797
1849
|
readonly name: "get_signing_commitments";
|
|
1798
1850
|
readonly requestType: MessageFns<GetSigningCommitmentsRequest>;
|
|
@@ -2180,6 +2232,10 @@ interface SparkServiceImplementation<CallContextExt = {}> {
|
|
|
2180
2232
|
claim_transfer_tweak_keys(request: ClaimTransferTweakKeysRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
|
|
2181
2233
|
claim_transfer_sign_refunds(request: ClaimTransferSignRefundsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<ClaimTransferSignRefundsResponse>>;
|
|
2182
2234
|
store_preimage_share(request: StorePreimageShareRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
|
|
2235
|
+
/**
|
|
2236
|
+
* Gets a specified number of signing commmitments for a set of nodes, which can be used as
|
|
2237
|
+
* part of a transfer package.
|
|
2238
|
+
*/
|
|
2183
2239
|
get_signing_commitments(request: GetSigningCommitmentsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetSigningCommitmentsResponse>>;
|
|
2184
2240
|
cooperative_exit(request: CooperativeExitRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CooperativeExitResponse>>;
|
|
2185
2241
|
initiate_preimage_swap(request: InitiatePreimageSwapRequest, context: CallContext & CallContextExt): Promise<DeepPartial<InitiatePreimageSwapResponse>>;
|
|
@@ -2286,6 +2342,10 @@ interface SparkServiceClient<CallOptionsExt = {}> {
|
|
|
2286
2342
|
claim_transfer_tweak_keys(request: DeepPartial<ClaimTransferTweakKeysRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
2287
2343
|
claim_transfer_sign_refunds(request: DeepPartial<ClaimTransferSignRefundsRequest>, options?: CallOptions & CallOptionsExt): Promise<ClaimTransferSignRefundsResponse>;
|
|
2288
2344
|
store_preimage_share(request: DeepPartial<StorePreimageShareRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
2345
|
+
/**
|
|
2346
|
+
* Gets a specified number of signing commmitments for a set of nodes, which can be used as
|
|
2347
|
+
* part of a transfer package.
|
|
2348
|
+
*/
|
|
2289
2349
|
get_signing_commitments(request: DeepPartial<GetSigningCommitmentsRequest>, options?: CallOptions & CallOptionsExt): Promise<GetSigningCommitmentsResponse>;
|
|
2290
2350
|
cooperative_exit(request: DeepPartial<CooperativeExitRequest>, options?: CallOptions & CallOptionsExt): Promise<CooperativeExitResponse>;
|
|
2291
2351
|
initiate_preimage_swap(request: DeepPartial<InitiatePreimageSwapRequest>, options?: CallOptions & CallOptionsExt): Promise<InitiatePreimageSwapResponse>;
|
|
@@ -2508,6 +2568,8 @@ declare const spark_RenewLeafRequest: typeof RenewLeafRequest;
|
|
|
2508
2568
|
declare const spark_RenewLeafResponse: typeof RenewLeafResponse;
|
|
2509
2569
|
declare const spark_RenewNodeTimelockResult: typeof RenewNodeTimelockResult;
|
|
2510
2570
|
declare const spark_RenewNodeTimelockSigningJob: typeof RenewNodeTimelockSigningJob;
|
|
2571
|
+
declare const spark_RenewNodeZeroTimelockResult: typeof RenewNodeZeroTimelockResult;
|
|
2572
|
+
declare const spark_RenewNodeZeroTimelockSigningJob: typeof RenewNodeZeroTimelockSigningJob;
|
|
2511
2573
|
declare const spark_RenewRefundTimelockResult: typeof RenewRefundTimelockResult;
|
|
2512
2574
|
declare const spark_RenewRefundTimelockSigningJob: typeof RenewRefundTimelockSigningJob;
|
|
2513
2575
|
declare const spark_RequestedSigningCommitments: typeof RequestedSigningCommitments;
|
|
@@ -2603,7 +2665,7 @@ declare const spark_transferTypeToJSON: typeof transferTypeToJSON;
|
|
|
2603
2665
|
declare const spark_utxoSwapRequestTypeFromJSON: typeof utxoSwapRequestTypeFromJSON;
|
|
2604
2666
|
declare const spark_utxoSwapRequestTypeToJSON: typeof utxoSwapRequestTypeToJSON;
|
|
2605
2667
|
declare namespace spark {
|
|
2606
|
-
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_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 };
|
|
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 };
|
|
2607
2669
|
}
|
|
2608
2670
|
|
|
2609
|
-
export {
|
|
2671
|
+
export { DepositAddressProof_AddressSignaturesEntry as $, transferTypeToJSON as A, Order as B, orderFromJSON as C, Direction as D, Empty as E, FinalizeNodeSignaturesResponse as F, orderToJSON as G, UtxoSwapRequestType as H, utxoSwapRequestTypeFromJSON as I, utxoSwapRequestTypeToJSON as J, InvoiceStatus as K, LeafRefundTxSigningResult as L, invoiceStatusFromJSON 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, invoiceStatusToJSON as V, SubscribeToEventsRequest as W, ConnectedEvent as X, TransferEvent as Y, DepositEvent as Z, DepositAddressProof as _, PageResponse as a, FinalizeTransferRequest as a$, GenerateDepositAddressRequest as a0, Address as a1, GenerateDepositAddressResponse as a2, GenerateStaticDepositAddressRequest as a3, GenerateStaticDepositAddressResponse as a4, UTXO as a5, NodeOutput as a6, SigningJob as a7, SigningKeyshare_PublicSharesEntry as a8, SigningResult as a9, TokenTransactionSignatures as aA, StartTokenTransactionRequest as aB, StartTokenTransactionResponse as aC, OperatorSpecificTokenTransactionSignablePayload as aD, OperatorSpecificOwnerSignature as aE, SignTokenTransactionRequest as aF, KeyshareWithIndex as aG, SignTokenTransactionResponse as aH, RevocationSecretWithIndex as aI, FinalizeTokenTransactionRequest as aJ, FreezeTokensPayload as aK, FreezeTokensRequest as aL, FreezeTokensResponse as aM, QueryTokenOutputsRequest as aN, QueryTokenTransactionsRequest as aO, QueryTokenTransactionsResponse as aP, QueryTokenOutputsResponse as aQ, FinalizeNodeSignaturesRequest as aR, SecretShare as aS, SecretProof as aT, LeafRefundTxSigningJob as aU, StartUserSignedTransferRequest as aV, StartTransferResponse as aW, TransferPackage_KeyTweakPackageEntry as aX, SendLeafKeyTweaks as aY, SendLeafKeyTweak as aZ, SendLeafKeyTweak_PubkeySharesTweakEntry as a_, SigningResult_PublicKeysEntry as aa, SigningResult_SigningNonceCommitmentsEntry as ab, SigningResult_SignatureSharesEntry as ac, RenewLeafRequest as ad, RenewNodeTimelockSigningJob as ae, RenewRefundTimelockSigningJob as af, RenewNodeZeroTimelockSigningJob as ag, RenewLeafResponse as ah, RenewNodeTimelockResult as ai, RenewRefundTimelockResult as aj, RenewNodeZeroTimelockResult as ak, NodeSignatureShares as al, StartTreeCreationRequest as am, StartTreeCreationResponse as an, StartDepositTreeCreationRequest as ao, StartDepositTreeCreationResponse as ap, TokenOutputToSpend as aq, TokenTransferInput as ar, TokenMintInput as as, TokenCreateInput as at, TokenOutput as au, TokenTransaction as av, SpentTokenOutputMetadata as aw, TokenTransactionConfirmationMetadata as ax, TokenTransactionWithStatus as ay, SignatureWithIndex as az, SparkServiceDefinition as b, SparkAddress as b$, FinalizeTransferWithTransferPackageRequest as b0, FinalizeTransferResponse as b1, TransferFilter as b2, ClaimLeafKeyTweak as b3, ClaimLeafKeyTweak_PubkeySharesTweakEntry as b4, ClaimTransferTweakKeysRequest as b5, ClaimTransferSignRefundsRequest as b6, ClaimTransferSignRefundsResponse as b7, StorePreimageShareRequest as b8, RequestedSigningCommitments_SigningNonceCommitmentsEntry as b9, PrepareTreeAddressResponse as bA, CreationNode as bB, CreateTreeRequest as bC, CreationResponseNode as bD, CreateTreeResponse as bE, SigningOperatorInfo as bF, GetSigningOperatorListResponse as bG, GetSigningOperatorListResponse_SigningOperatorsEntry as bH, QueryUserSignedRefundsRequest as bI, QueryUserSignedRefundsResponse as bJ, ProvidePreimageRequest as bK, ProvidePreimageResponse as bL, ReturnLightningPaymentRequest as bM, TreeNodeIds as bN, QueryNodesRequest as bO, QueryNodesResponse as bP, QueryNodesResponse_NodesEntry as bQ, CancelTransferRequest as bR, CancelTransferResponse as bS, QueryUnusedDepositAddressesRequest as bT, QueryStaticDepositAddressesRequest as bU, DepositAddressQueryResult as bV, QueryUnusedDepositAddressesResponse as bW, QueryStaticDepositAddressesResponse as bX, QueryBalanceRequest as bY, QueryBalanceResponse as bZ, QueryBalanceResponse_NodeBalancesEntry as b_, GetSigningCommitmentsRequest as ba, GetSigningCommitmentsResponse as bb, SigningCommitments as bc, SigningCommitments_SigningCommitmentsEntry as bd, UserSignedRefund as be, InvoiceAmountProof as bf, InvoiceAmount as bg, InitiatePreimageSwapRequest as bh, InitiatePreimageSwapRequest_Reason as bi, initiatePreimageSwapRequest_ReasonFromJSON as bj, initiatePreimageSwapRequest_ReasonToJSON as bk, InitiatePreimageSwapResponse as bl, OutPoint as bm, CooperativeExitRequest as bn, CooperativeExitResponse as bo, CounterLeafSwapRequest as bp, CounterLeafSwapResponse as bq, RefreshTimelockRequest as br, RefreshTimelockSigningResult as bs, RefreshTimelockResponse as bt, ExtendLeafRequest as bu, ExtendLeafSigningResult as bv, ExtendLeafResponse as bw, AddressRequestNode as bx, PrepareTreeAddressRequest as by, AddressNode as bz, TreeNode as c, SatsPayment as c0, TokensPayment as c1, InitiateStaticDepositUtxoRefundRequest as c2, InitiateStaticDepositUtxoRefundResponse as c3, InitiateUtxoSwapRequest as c4, InitiateUtxoSwapResponse as c5, ExitingTree as c6, ExitSingleNodeTreeSigningResult as c7, BitcoinTransactionOutput as c8, ExitSingleNodeTreesRequest as c9, ExitSingleNodeTreesResponse as ca, InvestigateLeavesRequest as cb, QueryNodesDistributionRequest as cc, QueryNodesDistributionResponse as cd, QueryNodesDistributionResponse_NodeDistributionEntry as ce, QueryNodesByValueRequest as cf, QueryNodesByValueResponse as cg, QueryNodesByValueResponse_NodesEntry as ch, GetUtxosForAddressRequest as ci, GetUtxosForAddressResponse as cj, QuerySparkInvoicesRequest as ck, InvoiceResponse as cl, SatsTransfer as cm, TokenTransfer as cn, type SparkServiceImplementation as co, type DeepPartial as cp, type ServerStreamingMethodResult as cq, type MessageFns as cr, 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 };
|
|
@@ -409,7 +409,6 @@ interface SigningResult_SignatureSharesEntry {
|
|
|
409
409
|
declare const SigningResult_SignatureSharesEntry: MessageFns<SigningResult_SignatureSharesEntry>;
|
|
410
410
|
interface RenewLeafRequest {
|
|
411
411
|
leafId: string;
|
|
412
|
-
ownerIdentityPublicKey: Uint8Array;
|
|
413
412
|
signingJobs?: //
|
|
414
413
|
/**
|
|
415
414
|
* Resets the node transaction timelock and refund transaction timelock
|
|
@@ -435,6 +434,17 @@ interface RenewLeafRequest {
|
|
|
435
434
|
{
|
|
436
435
|
$case: "renewRefundTimelockSigningJob";
|
|
437
436
|
renewRefundTimelockSigningJob: RenewRefundTimelockSigningJob;
|
|
437
|
+
} | //
|
|
438
|
+
/**
|
|
439
|
+
* A special case of refresh for when the node transaction is at 0 and
|
|
440
|
+
* cannot be decremented further. This operation resets the refund
|
|
441
|
+
* transaction's timelock and, similar to renew node, adds an additional
|
|
442
|
+
* node transaction to the transaction chain with zero timelock as well.
|
|
443
|
+
* This case is mostly used for user-created trees from L1 deposits.
|
|
444
|
+
*/
|
|
445
|
+
{
|
|
446
|
+
$case: "renewNodeZeroTimelockSigningJob";
|
|
447
|
+
renewNodeZeroTimelockSigningJob: RenewNodeZeroTimelockSigningJob;
|
|
438
448
|
} | undefined;
|
|
439
449
|
}
|
|
440
450
|
declare const RenewLeafRequest: MessageFns<RenewLeafRequest>;
|
|
@@ -473,13 +483,32 @@ interface RenewRefundTimelockSigningJob {
|
|
|
473
483
|
directFromCpfpRefundTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
474
484
|
}
|
|
475
485
|
declare const RenewRefundTimelockSigningJob: MessageFns<RenewRefundTimelockSigningJob>;
|
|
486
|
+
interface RenewNodeZeroTimelockSigningJob {
|
|
487
|
+
/**
|
|
488
|
+
* Signing job with the new node transaction. The updated transaction is
|
|
489
|
+
* expected to have a timelock of 0.
|
|
490
|
+
*/
|
|
491
|
+
nodeTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
492
|
+
/**
|
|
493
|
+
* Signing job with the updated refund transaction. This updated transaction
|
|
494
|
+
* must have a timelock of 2000.
|
|
495
|
+
*/
|
|
496
|
+
refundTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
497
|
+
directNodeTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
498
|
+
directRefundTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
499
|
+
directFromCpfpRefundTxSigningJob: UserSignedTxSigningJob | undefined;
|
|
500
|
+
}
|
|
501
|
+
declare const RenewNodeZeroTimelockSigningJob: MessageFns<RenewNodeZeroTimelockSigningJob>;
|
|
476
502
|
interface RenewLeafResponse {
|
|
477
503
|
renewResult?: {
|
|
478
|
-
$case: "
|
|
479
|
-
|
|
504
|
+
$case: "renewNodeTimelockResult";
|
|
505
|
+
renewNodeTimelockResult: RenewNodeTimelockResult;
|
|
506
|
+
} | {
|
|
507
|
+
$case: "renewRefundTimelockResult";
|
|
508
|
+
renewRefundTimelockResult: RenewRefundTimelockResult;
|
|
480
509
|
} | {
|
|
481
|
-
$case: "
|
|
482
|
-
|
|
510
|
+
$case: "renewNodeZeroTimelockResult";
|
|
511
|
+
renewNodeZeroTimelockResult: RenewNodeZeroTimelockResult;
|
|
483
512
|
} | undefined;
|
|
484
513
|
}
|
|
485
514
|
declare const RenewLeafResponse: MessageFns<RenewLeafResponse>;
|
|
@@ -492,6 +521,11 @@ interface RenewRefundTimelockResult {
|
|
|
492
521
|
node: TreeNode | undefined;
|
|
493
522
|
}
|
|
494
523
|
declare const RenewRefundTimelockResult: MessageFns<RenewRefundTimelockResult>;
|
|
524
|
+
interface RenewNodeZeroTimelockResult {
|
|
525
|
+
splitNode: TreeNode | undefined;
|
|
526
|
+
node: TreeNode | undefined;
|
|
527
|
+
}
|
|
528
|
+
declare const RenewNodeZeroTimelockResult: MessageFns<RenewNodeZeroTimelockResult>;
|
|
495
529
|
/**
|
|
496
530
|
* NodeSignatureShares is the signature shares for a node on the tree.
|
|
497
531
|
* For each tree node, the verifying key stays the same for both transactions.
|
|
@@ -1130,15 +1164,28 @@ interface RequestedSigningCommitments_SigningNonceCommitmentsEntry {
|
|
|
1130
1164
|
}
|
|
1131
1165
|
declare const RequestedSigningCommitments_SigningNonceCommitmentsEntry: MessageFns<RequestedSigningCommitments_SigningNonceCommitmentsEntry>;
|
|
1132
1166
|
interface GetSigningCommitmentsRequest {
|
|
1167
|
+
/** The node IDs for which to get signing commitments. */
|
|
1133
1168
|
nodeIds: string[];
|
|
1169
|
+
/** The number of signing commitments to get per node ID. */
|
|
1134
1170
|
count: number;
|
|
1135
1171
|
}
|
|
1136
1172
|
declare const GetSigningCommitmentsRequest: MessageFns<GetSigningCommitmentsRequest>;
|
|
1137
1173
|
interface GetSigningCommitmentsResponse {
|
|
1174
|
+
/**
|
|
1175
|
+
* A list of signing commitments for each requested node ID. The signing commitments will be
|
|
1176
|
+
* ordered in the same order as the requested node IDs, repeated for the number of commitments
|
|
1177
|
+
* requested. For example, if node_ids = [A, B] and count = 2, the response will contain:
|
|
1178
|
+
*
|
|
1179
|
+
* [commitment_A1, commitment_B1, commitment_A2, commitment_B2]
|
|
1180
|
+
*/
|
|
1138
1181
|
signingCommitments: RequestedSigningCommitments[];
|
|
1139
1182
|
}
|
|
1140
1183
|
declare const GetSigningCommitmentsResponse: MessageFns<GetSigningCommitmentsResponse>;
|
|
1141
1184
|
interface SigningCommitments {
|
|
1185
|
+
/**
|
|
1186
|
+
* A map of signing operator ID (i.e. 000...01) to the signing commitment provided by that
|
|
1187
|
+
* operator.
|
|
1188
|
+
*/
|
|
1142
1189
|
signingCommitments: {
|
|
1143
1190
|
[key: string]: SigningCommitment;
|
|
1144
1191
|
};
|
|
@@ -1174,6 +1221,7 @@ interface InitiatePreimageSwapRequest {
|
|
|
1174
1221
|
transfer: StartUserSignedTransferRequest | undefined;
|
|
1175
1222
|
receiverIdentityPublicKey: Uint8Array;
|
|
1176
1223
|
feeSats: number;
|
|
1224
|
+
transferRequest: StartTransferRequest | undefined;
|
|
1177
1225
|
}
|
|
1178
1226
|
declare const InitiatePreimageSwapRequest: MessageFns<InitiatePreimageSwapRequest>;
|
|
1179
1227
|
interface InitiatePreimageSwapResponse {
|
|
@@ -1793,6 +1841,10 @@ declare const SparkServiceDefinition: {
|
|
|
1793
1841
|
readonly responseStream: false;
|
|
1794
1842
|
readonly options: {};
|
|
1795
1843
|
};
|
|
1844
|
+
/**
|
|
1845
|
+
* Gets a specified number of signing commmitments for a set of nodes, which can be used as
|
|
1846
|
+
* part of a transfer package.
|
|
1847
|
+
*/
|
|
1796
1848
|
readonly get_signing_commitments: {
|
|
1797
1849
|
readonly name: "get_signing_commitments";
|
|
1798
1850
|
readonly requestType: MessageFns<GetSigningCommitmentsRequest>;
|
|
@@ -2180,6 +2232,10 @@ interface SparkServiceImplementation<CallContextExt = {}> {
|
|
|
2180
2232
|
claim_transfer_tweak_keys(request: ClaimTransferTweakKeysRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
|
|
2181
2233
|
claim_transfer_sign_refunds(request: ClaimTransferSignRefundsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<ClaimTransferSignRefundsResponse>>;
|
|
2182
2234
|
store_preimage_share(request: StorePreimageShareRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
|
|
2235
|
+
/**
|
|
2236
|
+
* Gets a specified number of signing commmitments for a set of nodes, which can be used as
|
|
2237
|
+
* part of a transfer package.
|
|
2238
|
+
*/
|
|
2183
2239
|
get_signing_commitments(request: GetSigningCommitmentsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetSigningCommitmentsResponse>>;
|
|
2184
2240
|
cooperative_exit(request: CooperativeExitRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CooperativeExitResponse>>;
|
|
2185
2241
|
initiate_preimage_swap(request: InitiatePreimageSwapRequest, context: CallContext & CallContextExt): Promise<DeepPartial<InitiatePreimageSwapResponse>>;
|
|
@@ -2286,6 +2342,10 @@ interface SparkServiceClient<CallOptionsExt = {}> {
|
|
|
2286
2342
|
claim_transfer_tweak_keys(request: DeepPartial<ClaimTransferTweakKeysRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
2287
2343
|
claim_transfer_sign_refunds(request: DeepPartial<ClaimTransferSignRefundsRequest>, options?: CallOptions & CallOptionsExt): Promise<ClaimTransferSignRefundsResponse>;
|
|
2288
2344
|
store_preimage_share(request: DeepPartial<StorePreimageShareRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
2345
|
+
/**
|
|
2346
|
+
* Gets a specified number of signing commmitments for a set of nodes, which can be used as
|
|
2347
|
+
* part of a transfer package.
|
|
2348
|
+
*/
|
|
2289
2349
|
get_signing_commitments(request: DeepPartial<GetSigningCommitmentsRequest>, options?: CallOptions & CallOptionsExt): Promise<GetSigningCommitmentsResponse>;
|
|
2290
2350
|
cooperative_exit(request: DeepPartial<CooperativeExitRequest>, options?: CallOptions & CallOptionsExt): Promise<CooperativeExitResponse>;
|
|
2291
2351
|
initiate_preimage_swap(request: DeepPartial<InitiatePreimageSwapRequest>, options?: CallOptions & CallOptionsExt): Promise<InitiatePreimageSwapResponse>;
|
|
@@ -2508,6 +2568,8 @@ declare const spark_RenewLeafRequest: typeof RenewLeafRequest;
|
|
|
2508
2568
|
declare const spark_RenewLeafResponse: typeof RenewLeafResponse;
|
|
2509
2569
|
declare const spark_RenewNodeTimelockResult: typeof RenewNodeTimelockResult;
|
|
2510
2570
|
declare const spark_RenewNodeTimelockSigningJob: typeof RenewNodeTimelockSigningJob;
|
|
2571
|
+
declare const spark_RenewNodeZeroTimelockResult: typeof RenewNodeZeroTimelockResult;
|
|
2572
|
+
declare const spark_RenewNodeZeroTimelockSigningJob: typeof RenewNodeZeroTimelockSigningJob;
|
|
2511
2573
|
declare const spark_RenewRefundTimelockResult: typeof RenewRefundTimelockResult;
|
|
2512
2574
|
declare const spark_RenewRefundTimelockSigningJob: typeof RenewRefundTimelockSigningJob;
|
|
2513
2575
|
declare const spark_RequestedSigningCommitments: typeof RequestedSigningCommitments;
|
|
@@ -2603,7 +2665,7 @@ declare const spark_transferTypeToJSON: typeof transferTypeToJSON;
|
|
|
2603
2665
|
declare const spark_utxoSwapRequestTypeFromJSON: typeof utxoSwapRequestTypeFromJSON;
|
|
2604
2666
|
declare const spark_utxoSwapRequestTypeToJSON: typeof utxoSwapRequestTypeToJSON;
|
|
2605
2667
|
declare namespace spark {
|
|
2606
|
-
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_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 };
|
|
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 };
|
|
2607
2669
|
}
|
|
2608
2670
|
|
|
2609
|
-
export {
|
|
2671
|
+
export { DepositAddressProof_AddressSignaturesEntry as $, transferTypeToJSON as A, Order as B, orderFromJSON as C, Direction as D, Empty as E, FinalizeNodeSignaturesResponse as F, orderToJSON as G, UtxoSwapRequestType as H, utxoSwapRequestTypeFromJSON as I, utxoSwapRequestTypeToJSON as J, InvoiceStatus as K, LeafRefundTxSigningResult as L, invoiceStatusFromJSON 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, invoiceStatusToJSON as V, SubscribeToEventsRequest as W, ConnectedEvent as X, TransferEvent as Y, DepositEvent as Z, DepositAddressProof as _, PageResponse as a, FinalizeTransferRequest as a$, GenerateDepositAddressRequest as a0, Address as a1, GenerateDepositAddressResponse as a2, GenerateStaticDepositAddressRequest as a3, GenerateStaticDepositAddressResponse as a4, UTXO as a5, NodeOutput as a6, SigningJob as a7, SigningKeyshare_PublicSharesEntry as a8, SigningResult as a9, TokenTransactionSignatures as aA, StartTokenTransactionRequest as aB, StartTokenTransactionResponse as aC, OperatorSpecificTokenTransactionSignablePayload as aD, OperatorSpecificOwnerSignature as aE, SignTokenTransactionRequest as aF, KeyshareWithIndex as aG, SignTokenTransactionResponse as aH, RevocationSecretWithIndex as aI, FinalizeTokenTransactionRequest as aJ, FreezeTokensPayload as aK, FreezeTokensRequest as aL, FreezeTokensResponse as aM, QueryTokenOutputsRequest as aN, QueryTokenTransactionsRequest as aO, QueryTokenTransactionsResponse as aP, QueryTokenOutputsResponse as aQ, FinalizeNodeSignaturesRequest as aR, SecretShare as aS, SecretProof as aT, LeafRefundTxSigningJob as aU, StartUserSignedTransferRequest as aV, StartTransferResponse as aW, TransferPackage_KeyTweakPackageEntry as aX, SendLeafKeyTweaks as aY, SendLeafKeyTweak as aZ, SendLeafKeyTweak_PubkeySharesTweakEntry as a_, SigningResult_PublicKeysEntry as aa, SigningResult_SigningNonceCommitmentsEntry as ab, SigningResult_SignatureSharesEntry as ac, RenewLeafRequest as ad, RenewNodeTimelockSigningJob as ae, RenewRefundTimelockSigningJob as af, RenewNodeZeroTimelockSigningJob as ag, RenewLeafResponse as ah, RenewNodeTimelockResult as ai, RenewRefundTimelockResult as aj, RenewNodeZeroTimelockResult as ak, NodeSignatureShares as al, StartTreeCreationRequest as am, StartTreeCreationResponse as an, StartDepositTreeCreationRequest as ao, StartDepositTreeCreationResponse as ap, TokenOutputToSpend as aq, TokenTransferInput as ar, TokenMintInput as as, TokenCreateInput as at, TokenOutput as au, TokenTransaction as av, SpentTokenOutputMetadata as aw, TokenTransactionConfirmationMetadata as ax, TokenTransactionWithStatus as ay, SignatureWithIndex as az, SparkServiceDefinition as b, SparkAddress as b$, FinalizeTransferWithTransferPackageRequest as b0, FinalizeTransferResponse as b1, TransferFilter as b2, ClaimLeafKeyTweak as b3, ClaimLeafKeyTweak_PubkeySharesTweakEntry as b4, ClaimTransferTweakKeysRequest as b5, ClaimTransferSignRefundsRequest as b6, ClaimTransferSignRefundsResponse as b7, StorePreimageShareRequest as b8, RequestedSigningCommitments_SigningNonceCommitmentsEntry as b9, PrepareTreeAddressResponse as bA, CreationNode as bB, CreateTreeRequest as bC, CreationResponseNode as bD, CreateTreeResponse as bE, SigningOperatorInfo as bF, GetSigningOperatorListResponse as bG, GetSigningOperatorListResponse_SigningOperatorsEntry as bH, QueryUserSignedRefundsRequest as bI, QueryUserSignedRefundsResponse as bJ, ProvidePreimageRequest as bK, ProvidePreimageResponse as bL, ReturnLightningPaymentRequest as bM, TreeNodeIds as bN, QueryNodesRequest as bO, QueryNodesResponse as bP, QueryNodesResponse_NodesEntry as bQ, CancelTransferRequest as bR, CancelTransferResponse as bS, QueryUnusedDepositAddressesRequest as bT, QueryStaticDepositAddressesRequest as bU, DepositAddressQueryResult as bV, QueryUnusedDepositAddressesResponse as bW, QueryStaticDepositAddressesResponse as bX, QueryBalanceRequest as bY, QueryBalanceResponse as bZ, QueryBalanceResponse_NodeBalancesEntry as b_, GetSigningCommitmentsRequest as ba, GetSigningCommitmentsResponse as bb, SigningCommitments as bc, SigningCommitments_SigningCommitmentsEntry as bd, UserSignedRefund as be, InvoiceAmountProof as bf, InvoiceAmount as bg, InitiatePreimageSwapRequest as bh, InitiatePreimageSwapRequest_Reason as bi, initiatePreimageSwapRequest_ReasonFromJSON as bj, initiatePreimageSwapRequest_ReasonToJSON as bk, InitiatePreimageSwapResponse as bl, OutPoint as bm, CooperativeExitRequest as bn, CooperativeExitResponse as bo, CounterLeafSwapRequest as bp, CounterLeafSwapResponse as bq, RefreshTimelockRequest as br, RefreshTimelockSigningResult as bs, RefreshTimelockResponse as bt, ExtendLeafRequest as bu, ExtendLeafSigningResult as bv, ExtendLeafResponse as bw, AddressRequestNode as bx, PrepareTreeAddressRequest as by, AddressNode as bz, TreeNode as c, SatsPayment as c0, TokensPayment as c1, InitiateStaticDepositUtxoRefundRequest as c2, InitiateStaticDepositUtxoRefundResponse as c3, InitiateUtxoSwapRequest as c4, InitiateUtxoSwapResponse as c5, ExitingTree as c6, ExitSingleNodeTreeSigningResult as c7, BitcoinTransactionOutput as c8, ExitSingleNodeTreesRequest as c9, ExitSingleNodeTreesResponse as ca, InvestigateLeavesRequest as cb, QueryNodesDistributionRequest as cc, QueryNodesDistributionResponse as cd, QueryNodesDistributionResponse_NodeDistributionEntry as ce, QueryNodesByValueRequest as cf, QueryNodesByValueResponse as cg, QueryNodesByValueResponse_NodesEntry as ch, GetUtxosForAddressRequest as ci, GetUtxosForAddressResponse as cj, QuerySparkInvoicesRequest as ck, InvoiceResponse as cl, SatsTransfer as cm, TokenTransfer as cn, type SparkServiceImplementation as co, type DeepPartial as cp, type ServerStreamingMethodResult as cq, type MessageFns as cr, 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 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { C as ConnectionManager, W as WalletConfigService, $ as SparkCallOptions, a0 as SparkAuthnServiceDefinition, a1 as SparkWallet } from './
|
|
1
|
+
import { C as ConnectionManager, W as WalletConfigService, $ as SparkCallOptions, a0 as SparkAuthnServiceDefinition, a1 as RetryOptions, a2 as SparkWallet } from './wallet-config-DQw5llqA.cjs';
|
|
2
2
|
import * as nice_grpc_web_lib_client_Transport_js from 'nice-grpc-web/lib/client/Transport.js';
|
|
3
3
|
import { createChannel, Channel } from 'nice-grpc-web';
|
|
4
|
-
import { ClientMiddlewareCall } from 'nice-grpc-common';
|
|
5
|
-
import { b as SparkServiceDefinition } from './spark-
|
|
4
|
+
import { ClientMiddlewareCall, ClientMiddleware } from 'nice-grpc-common';
|
|
5
|
+
import { b as SparkServiceDefinition } from './spark-DOpheE8_.cjs';
|
|
6
6
|
import { SparkTokenServiceDefinition } from './proto/spark_token.cjs';
|
|
7
7
|
|
|
8
8
|
type Transport = NonNullable<Parameters<typeof createChannel>[1]>;
|
|
9
9
|
declare class ConnectionManagerBrowser extends ConnectionManager {
|
|
10
10
|
protected transport: Transport;
|
|
11
11
|
constructor(config: WalletConfigService, transport?: nice_grpc_web_lib_client_Transport_js.Transport);
|
|
12
|
-
protected createChannelWithTLS(address: string
|
|
13
|
-
protected createAuthnMiddleware(): (call: ClientMiddlewareCall<
|
|
14
|
-
protected createMiddleware(address: string
|
|
15
|
-
protected createGrpcClient<T>(
|
|
16
|
-
close: undefined;
|
|
12
|
+
protected createChannelWithTLS(address: string): Promise<Channel>;
|
|
13
|
+
protected createAuthnMiddleware(): <Req, Res>(call: ClientMiddlewareCall<Req, Res>, options: SparkCallOptions) => AsyncGenerator<Res, Res | void, undefined>;
|
|
14
|
+
protected createMiddleware(address: string): <Req, Res>(call: ClientMiddlewareCall<Req, Res>, options: SparkCallOptions) => AsyncGenerator<Res, Res | void, undefined>;
|
|
15
|
+
protected createGrpcClient<T>(definition: SparkAuthnServiceDefinition | SparkServiceDefinition | SparkTokenServiceDefinition, channel: Channel, withRetries: boolean, middleware?: ClientMiddleware<RetryOptions, {}>, channelKey?: string): Promise<T & {
|
|
16
|
+
close: (() => void) | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { C as ConnectionManager, W as WalletConfigService, $ as SparkCallOptions, a0 as SparkAuthnServiceDefinition, a1 as SparkWallet } from './
|
|
1
|
+
import { C as ConnectionManager, W as WalletConfigService, $ as SparkCallOptions, a0 as SparkAuthnServiceDefinition, a1 as RetryOptions, a2 as SparkWallet } from './wallet-config-Bmk2eAn8.js';
|
|
2
2
|
import * as nice_grpc_web_lib_client_Transport_js from 'nice-grpc-web/lib/client/Transport.js';
|
|
3
3
|
import { createChannel, Channel } from 'nice-grpc-web';
|
|
4
|
-
import { ClientMiddlewareCall } from 'nice-grpc-common';
|
|
5
|
-
import { b as SparkServiceDefinition } from './spark-
|
|
4
|
+
import { ClientMiddlewareCall, ClientMiddleware } from 'nice-grpc-common';
|
|
5
|
+
import { b as SparkServiceDefinition } from './spark-DOpheE8_.js';
|
|
6
6
|
import { SparkTokenServiceDefinition } from './proto/spark_token.js';
|
|
7
7
|
|
|
8
8
|
type Transport = NonNullable<Parameters<typeof createChannel>[1]>;
|
|
9
9
|
declare class ConnectionManagerBrowser extends ConnectionManager {
|
|
10
10
|
protected transport: Transport;
|
|
11
11
|
constructor(config: WalletConfigService, transport?: nice_grpc_web_lib_client_Transport_js.Transport);
|
|
12
|
-
protected createChannelWithTLS(address: string
|
|
13
|
-
protected createAuthnMiddleware(): (call: ClientMiddlewareCall<
|
|
14
|
-
protected createMiddleware(address: string
|
|
15
|
-
protected createGrpcClient<T>(
|
|
16
|
-
close: undefined;
|
|
12
|
+
protected createChannelWithTLS(address: string): Promise<Channel>;
|
|
13
|
+
protected createAuthnMiddleware(): <Req, Res>(call: ClientMiddlewareCall<Req, Res>, options: SparkCallOptions) => AsyncGenerator<Res, Res | void, undefined>;
|
|
14
|
+
protected createMiddleware(address: string): <Req, Res>(call: ClientMiddlewareCall<Req, Res>, options: SparkCallOptions) => AsyncGenerator<Res, Res | void, undefined>;
|
|
15
|
+
protected createGrpcClient<T>(definition: SparkAuthnServiceDefinition | SparkServiceDefinition | SparkTokenServiceDefinition, channel: Channel, withRetries: boolean, middleware?: ClientMiddleware<RetryOptions, {}>, channelKey?: string): Promise<T & {
|
|
16
|
+
close: (() => void) | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
}
|
|
19
19
|
|