@buildonspark/spark-sdk 0.1.44 → 0.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{RequestLightningSendInput-BxbCtwpV.d.cts → RequestLightningSendInput-2cSh_In4.d.cts} +1 -1
  3. package/dist/{RequestLightningSendInput-RGel43ks.d.ts → RequestLightningSendInput-CN6BNg_g.d.ts} +1 -1
  4. package/dist/address/index.cjs +2 -2
  5. package/dist/address/index.d.cts +2 -2
  6. package/dist/address/index.d.ts +2 -2
  7. package/dist/address/index.js +2 -2
  8. package/dist/{chunk-EKFD62HN.js → chunk-4EMV7HHW.js} +2 -1
  9. package/dist/{chunk-4Q2ZDYYU.js → chunk-BGGEVUJK.js} +1157 -208
  10. package/dist/{chunk-CIZNCBKE.js → chunk-C2S227QR.js} +648 -45
  11. package/dist/{chunk-WPTRVD2V.js → chunk-DXR2PXJU.js} +15 -15
  12. package/dist/{chunk-NBCNYDWJ.js → chunk-HHNQ3ZHC.js} +2 -2
  13. package/dist/{chunk-DAXGVPVM.js → chunk-HSCLBJEL.js} +2 -2
  14. package/dist/{chunk-6AFUC5M2.js → chunk-HWJWKEIU.js} +8 -2
  15. package/dist/{chunk-A2ZLMH6I.js → chunk-JB64OQES.js} +259 -327
  16. package/dist/{chunk-KEKGSH7B.js → chunk-KMUMFYFX.js} +3 -3
  17. package/dist/chunk-LHRD2WT6.js +2374 -0
  18. package/dist/{chunk-HTMXTJRK.js → chunk-N5VZVCGJ.js} +4 -4
  19. package/dist/{chunk-SQKXGAIR.js → chunk-NTFKFRQ2.js} +1 -1
  20. package/dist/{chunk-K4BJARWM.js → chunk-OBFKIEMP.js} +1 -1
  21. package/dist/{chunk-UBT6EDVJ.js → chunk-OFCJFZ4I.js} +1 -1
  22. package/dist/{chunk-XX4RRWOX.js → chunk-UXDODSDT.js} +8 -10
  23. package/dist/graphql/objects/index.d.cts +5 -4
  24. package/dist/graphql/objects/index.d.ts +5 -4
  25. package/dist/index-CKL5DodV.d.cts +214 -0
  26. package/dist/index-COm59SPw.d.ts +214 -0
  27. package/dist/index.cjs +4026 -1315
  28. package/dist/index.d.cts +764 -19
  29. package/dist/index.d.ts +764 -19
  30. package/dist/index.js +23 -27
  31. package/dist/index.node.cjs +4026 -1319
  32. package/dist/index.node.d.cts +10 -8
  33. package/dist/index.node.d.ts +10 -8
  34. package/dist/index.node.js +23 -31
  35. package/dist/native/index.cjs +4027 -1316
  36. package/dist/native/index.d.cts +281 -85
  37. package/dist/native/index.d.ts +281 -85
  38. package/dist/native/index.js +4018 -1307
  39. package/dist/{network-CfxLnaot.d.cts → network-Css46DAz.d.cts} +1 -1
  40. package/dist/{network-CroCOQ0B.d.ts → network-hynb7iTZ.d.ts} +1 -1
  41. package/dist/proto/lrc20.cjs +222 -19
  42. package/dist/proto/lrc20.d.cts +1 -1
  43. package/dist/proto/lrc20.d.ts +1 -1
  44. package/dist/proto/lrc20.js +2 -2
  45. package/dist/proto/spark.cjs +1154 -205
  46. package/dist/proto/spark.d.cts +1 -1
  47. package/dist/proto/spark.d.ts +1 -1
  48. package/dist/proto/spark.js +3 -1
  49. package/dist/proto/spark_token.cjs +1377 -58
  50. package/dist/proto/spark_token.d.cts +153 -15
  51. package/dist/proto/spark_token.d.ts +153 -15
  52. package/dist/proto/spark_token.js +40 -4
  53. package/dist/{sdk-types-CTbTdDbE.d.ts → sdk-types-CKBsylfW.d.ts} +1 -1
  54. package/dist/{sdk-types-BeCBoozO.d.cts → sdk-types-Ct8xmN7l.d.cts} +1 -1
  55. package/dist/services/config.cjs +2 -2
  56. package/dist/services/config.d.cts +5 -4
  57. package/dist/services/config.d.ts +5 -4
  58. package/dist/services/config.js +6 -6
  59. package/dist/services/connection.cjs +2438 -262
  60. package/dist/services/connection.d.cts +5 -4
  61. package/dist/services/connection.d.ts +5 -4
  62. package/dist/services/connection.js +4 -4
  63. package/dist/services/index.cjs +5937 -3154
  64. package/dist/services/index.d.cts +7 -6
  65. package/dist/services/index.d.ts +7 -6
  66. package/dist/services/index.js +17 -15
  67. package/dist/services/lrc-connection.cjs +223 -20
  68. package/dist/services/lrc-connection.d.cts +5 -4
  69. package/dist/services/lrc-connection.d.ts +5 -4
  70. package/dist/services/lrc-connection.js +4 -4
  71. package/dist/services/token-transactions.cjs +840 -236
  72. package/dist/services/token-transactions.d.cts +25 -7
  73. package/dist/services/token-transactions.d.ts +25 -7
  74. package/dist/services/token-transactions.js +5 -4
  75. package/dist/services/wallet-config.cjs +3 -1
  76. package/dist/services/wallet-config.d.cts +7 -5
  77. package/dist/services/wallet-config.d.ts +7 -5
  78. package/dist/services/wallet-config.js +3 -1
  79. package/dist/signer/signer.cjs +1 -1
  80. package/dist/signer/signer.d.cts +3 -2
  81. package/dist/signer/signer.d.ts +3 -2
  82. package/dist/signer/signer.js +2 -2
  83. package/dist/{signer-D7vfYik9.d.ts → signer-BP6F__oR.d.cts} +2 -6
  84. package/dist/{signer-DaY8c60s.d.cts → signer-BVZJXcq7.d.ts} +2 -6
  85. package/dist/{spark-C4ZrsgjC.d.cts → spark-DbzGfse6.d.cts} +93 -15
  86. package/dist/{spark-C4ZrsgjC.d.ts → spark-DbzGfse6.d.ts} +93 -15
  87. package/dist/spark_bindings/native/index.cjs +183 -0
  88. package/dist/spark_bindings/native/index.d.cts +14 -0
  89. package/dist/spark_bindings/native/index.d.ts +14 -0
  90. package/dist/spark_bindings/native/index.js +141 -0
  91. package/dist/spark_bindings/wasm/index.cjs +1093 -0
  92. package/dist/spark_bindings/wasm/index.d.cts +47 -0
  93. package/dist/spark_bindings/wasm/index.d.ts +47 -0
  94. package/dist/{chunk-K4C4W5FC.js → spark_bindings/wasm/index.js} +7 -6
  95. package/dist/types/index.cjs +1156 -208
  96. package/dist/types/index.d.cts +5 -4
  97. package/dist/types/index.d.ts +5 -4
  98. package/dist/types/index.js +2 -2
  99. package/dist/types-C-Rp0Oo7.d.cts +46 -0
  100. package/dist/types-C-Rp0Oo7.d.ts +46 -0
  101. package/dist/utils/index.cjs +65 -13
  102. package/dist/utils/index.d.cts +14 -134
  103. package/dist/utils/index.d.ts +14 -134
  104. package/dist/utils/index.js +13 -13
  105. package/package.json +22 -2
  106. package/src/index.node.ts +0 -1
  107. package/src/index.ts +0 -1
  108. package/src/native/index.ts +1 -2
  109. package/src/proto/common.ts +5 -5
  110. package/src/proto/google/protobuf/descriptor.ts +34 -34
  111. package/src/proto/google/protobuf/duration.ts +2 -2
  112. package/src/proto/google/protobuf/empty.ts +2 -2
  113. package/src/proto/google/protobuf/timestamp.ts +2 -2
  114. package/src/proto/mock.ts +4 -4
  115. package/src/proto/spark.ts +1452 -185
  116. package/src/proto/spark_authn.ts +7 -7
  117. package/src/proto/spark_token.ts +1668 -105
  118. package/src/proto/validate/validate.ts +24 -24
  119. package/src/services/bolt11-spark.ts +62 -187
  120. package/src/services/coop-exit.ts +3 -0
  121. package/src/services/lrc20.ts +1 -1
  122. package/src/services/token-transactions.ts +197 -9
  123. package/src/services/transfer.ts +22 -0
  124. package/src/services/tree-creation.ts +13 -0
  125. package/src/services/wallet-config.ts +2 -2
  126. package/src/spark-wallet/spark-wallet.node.ts +0 -4
  127. package/src/spark-wallet/spark-wallet.ts +76 -108
  128. package/src/spark-wallet/types.ts +39 -3
  129. package/src/tests/bolt11-spark.test.ts +7 -15
  130. package/src/tests/integration/ssp/coop-exit.test.ts +7 -7
  131. package/src/tests/integration/swap.test.ts +453 -433
  132. package/src/tests/integration/transfer.test.ts +261 -248
  133. package/src/tests/token-identifier.test.ts +54 -0
  134. package/src/tests/tokens.test.ts +218 -23
  135. package/src/utils/token-hashing.ts +320 -44
  136. package/src/utils/token-identifier.ts +88 -0
  137. package/src/utils/token-transaction-validation.ts +350 -5
  138. package/src/utils/token-transactions.ts +12 -8
  139. package/src/utils/transaction.ts +0 -6
  140. package/dist/chunk-B3AMIGJG.js +0 -1073
  141. package/dist/index-CZmDdSts.d.cts +0 -829
  142. package/dist/index-ClIRO_3y.d.ts +0 -829
  143. package/dist/wasm-7OWFHDMS.js +0 -21
@@ -1,8 +1,29 @@
1
1
  import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
2
2
  import { CallOptions, CallContext } from 'nice-grpc-common';
3
- import { N as Network, S as SigningKeyshare } from '../spark-C4ZrsgjC.cjs';
3
+ import { N as Network, S as SigningKeyshare } from '../spark-DbzGfse6.cjs';
4
4
 
5
5
  declare const protobufPackage = "spark_token";
6
+ declare enum TokenTransactionType {
7
+ TOKEN_TRANSACTION_TYPE_UNSPECIFIED = 0,
8
+ TOKEN_TRANSACTION_TYPE_CREATE = 1,
9
+ TOKEN_TRANSACTION_TYPE_MINT = 2,
10
+ TOKEN_TRANSACTION_TYPE_TRANSFER = 3,
11
+ UNRECOGNIZED = -1
12
+ }
13
+ declare function tokenTransactionTypeFromJSON(object: any): TokenTransactionType;
14
+ declare function tokenTransactionTypeToJSON(object: TokenTransactionType): string;
15
+ declare enum TokenTransactionStatus {
16
+ TOKEN_TRANSACTION_STARTED = 0,
17
+ TOKEN_TRANSACTION_SIGNED = 1,
18
+ TOKEN_TRANSACTION_REVEALED = 5,
19
+ TOKEN_TRANSACTION_FINALIZED = 2,
20
+ TOKEN_TRANSACTION_STARTED_CANCELLED = 3,
21
+ TOKEN_TRANSACTION_SIGNED_CANCELLED = 4,
22
+ TOKEN_TRANSACTION_UNKNOWN = 10,
23
+ UNRECOGNIZED = -1
24
+ }
25
+ declare function tokenTransactionStatusFromJSON(object: any): TokenTransactionStatus;
26
+ declare function tokenTransactionStatusToJSON(object: TokenTransactionStatus): string;
6
27
  /**
7
28
  * This proto is constructed by the wallet to specify leaves it wants to spend
8
29
  * as part of the token transaction.
@@ -18,19 +39,20 @@ interface TokenTransferInput {
18
39
  declare const TokenTransferInput: MessageFns<TokenTransferInput>;
19
40
  interface TokenMintInput {
20
41
  issuerPublicKey: Uint8Array;
21
- /**
22
- * Issuer provided timestamp of when the transaction was signed/constructed.
23
- * Helps provide idempotency and ensures that each mint input signature is
24
- * unique as long as multiple mint signatures are not happening at the same
25
- * time. Also gives a potentially useful data point for when the issuer
26
- * authorized from their perspective. Note that we have no way of proving
27
- * this is accurate.
28
- * TODO: Consider whether implementing generic idempotency controls and/or a
29
- * random nonce would be favorable to populating this field.
30
- */
31
- issuerProvidedTimestamp: number;
42
+ tokenIdentifier?: Uint8Array | undefined;
32
43
  }
33
44
  declare const TokenMintInput: MessageFns<TokenMintInput>;
45
+ interface TokenCreateInput {
46
+ issuerPublicKey: Uint8Array;
47
+ tokenName: string;
48
+ tokenTicker: string;
49
+ decimals: number;
50
+ /** Decoded uint128 */
51
+ maxSupply: Uint8Array;
52
+ isFreezable: boolean;
53
+ creationEntityPublicKey?: Uint8Array | undefined;
54
+ }
55
+ declare const TokenCreateInput: MessageFns<TokenCreateInput>;
34
56
  /**
35
57
  * This proto is constructed by the wallet to specify outputs it wants to create
36
58
  * as part of a token transaction. Output id and revocation public key should
@@ -43,7 +65,8 @@ interface TokenOutput {
43
65
  revocationCommitment?: Uint8Array | undefined;
44
66
  withdrawBondSats?: number | undefined;
45
67
  withdrawRelativeBlockLocktime?: number | undefined;
46
- tokenPublicKey: Uint8Array;
68
+ tokenPublicKey?: Uint8Array | undefined;
69
+ tokenIdentifier?: Uint8Array | undefined;
47
70
  /** Decoded uint128 */
48
71
  tokenAmount: Uint8Array;
49
72
  }
@@ -67,6 +90,9 @@ interface TokenTransaction {
67
90
  } | {
68
91
  $case: "transferInput";
69
92
  transferInput: TokenTransferInput;
93
+ } | {
94
+ $case: "createInput";
95
+ createInput: TokenCreateInput;
70
96
  } | undefined;
71
97
  tokenOutputs: TokenOutput[];
72
98
  sparkOperatorIdentityPublicKeys: Uint8Array[];
@@ -77,6 +103,12 @@ interface TokenTransaction {
77
103
  */
78
104
  expiryTime: Date | undefined;
79
105
  network: Network;
106
+ /**
107
+ * The timestamp of when the client created the transaction. This is used to
108
+ * determine which transaction should win in a race condition. Earlier
109
+ * timestamps win over later ones.
110
+ */
111
+ clientCreatedTimestamp: Date | undefined;
80
112
  }
81
113
  declare const TokenTransaction: MessageFns<TokenTransaction>;
82
114
  interface SignatureWithIndex {
@@ -112,7 +144,7 @@ interface StartTransactionRequest {
112
144
  /**
113
145
  * How long the transaction should be valid for, in seconds.
114
146
  * The server will set the actual expiry_time in the final transaction based
115
- * on this duration. Must be between 1 and 300 seconds.
147
+ * on this duration. Must be within [1, 300] seconds.
116
148
  */
117
149
  validityDurationSeconds: number;
118
150
  }
@@ -132,6 +164,82 @@ declare const CommitTransactionRequest: MessageFns<CommitTransactionRequest>;
132
164
  interface CommitTransactionResponse {
133
165
  }
134
166
  declare const CommitTransactionResponse: MessageFns<CommitTransactionResponse>;
167
+ interface QueryTokenMetadataRequest {
168
+ tokenIdentifiers: Uint8Array[];
169
+ issuerPublicKeys: Uint8Array[];
170
+ }
171
+ declare const QueryTokenMetadataRequest: MessageFns<QueryTokenMetadataRequest>;
172
+ interface TokenMetadata {
173
+ issuerPublicKey: Uint8Array;
174
+ tokenName: string;
175
+ tokenTicker: string;
176
+ decimals: number;
177
+ /** Decoded uint128 */
178
+ maxSupply: Uint8Array;
179
+ isFreezable: boolean;
180
+ creationEntityPublicKey?: Uint8Array | undefined;
181
+ tokenIdentifier: Uint8Array;
182
+ }
183
+ declare const TokenMetadata: MessageFns<TokenMetadata>;
184
+ interface QueryTokenMetadataResponse {
185
+ tokenMetadata: TokenMetadata[];
186
+ }
187
+ declare const QueryTokenMetadataResponse: MessageFns<QueryTokenMetadataResponse>;
188
+ interface QueryTokenOutputsRequest {
189
+ ownerPublicKeys: Uint8Array[];
190
+ /** Optionally provide issuer public keys or token identifiers. If both are not set return outputs for all tokens. */
191
+ issuerPublicKeys: Uint8Array[];
192
+ tokenIdentifiers: Uint8Array[];
193
+ /** defaults to mainnet when no network is provided. */
194
+ network: Network;
195
+ }
196
+ declare const QueryTokenOutputsRequest: MessageFns<QueryTokenOutputsRequest>;
197
+ /** Request constraints are combined using an AND relation. */
198
+ interface QueryTokenTransactionsRequest {
199
+ /** Returns transactions that have one of these output ids in the input or output. */
200
+ outputIds: string[];
201
+ /** Returns transactions that have this owner public key as the sender or receiver in one or more of the input/output leaves. */
202
+ ownerPublicKeys: Uint8Array[];
203
+ /** Returns transactions that related to this token public key. */
204
+ issuerPublicKeys: Uint8Array[];
205
+ /** Returns transactions that related to this token identifier. */
206
+ tokenIdentifiers: Uint8Array[];
207
+ /** Returns transactions that match the provided transaction hashes. */
208
+ tokenTransactionHashes: Uint8Array[];
209
+ limit: number;
210
+ offset: number;
211
+ }
212
+ declare const QueryTokenTransactionsRequest: MessageFns<QueryTokenTransactionsRequest>;
213
+ interface QueryTokenTransactionsResponse {
214
+ tokenTransactionsWithStatus: TokenTransactionWithStatus[];
215
+ offset: number;
216
+ }
217
+ declare const QueryTokenTransactionsResponse: MessageFns<QueryTokenTransactionsResponse>;
218
+ interface OutputWithPreviousTransactionData {
219
+ output: TokenOutput | undefined;
220
+ previousTransactionHash: Uint8Array;
221
+ previousTransactionVout: number;
222
+ }
223
+ declare const OutputWithPreviousTransactionData: MessageFns<OutputWithPreviousTransactionData>;
224
+ interface QueryTokenOutputsResponse {
225
+ outputsWithPreviousTransactionData: OutputWithPreviousTransactionData[];
226
+ }
227
+ declare const QueryTokenOutputsResponse: MessageFns<QueryTokenOutputsResponse>;
228
+ interface SpentTokenOutputMetadata {
229
+ outputId: string;
230
+ revocationSecret: Uint8Array;
231
+ }
232
+ declare const SpentTokenOutputMetadata: MessageFns<SpentTokenOutputMetadata>;
233
+ interface TokenTransactionConfirmationMetadata {
234
+ spentTokenOutputsMetadata: SpentTokenOutputMetadata[];
235
+ }
236
+ declare const TokenTransactionConfirmationMetadata: MessageFns<TokenTransactionConfirmationMetadata>;
237
+ interface TokenTransactionWithStatus {
238
+ tokenTransaction: TokenTransaction | undefined;
239
+ status: TokenTransactionStatus;
240
+ confirmationMetadata: TokenTransactionConfirmationMetadata | undefined;
241
+ }
242
+ declare const TokenTransactionWithStatus: MessageFns<TokenTransactionWithStatus>;
135
243
  type SparkTokenServiceDefinition = typeof SparkTokenServiceDefinition;
136
244
  declare const SparkTokenServiceDefinition: {
137
245
  readonly name: "SparkTokenService";
@@ -161,6 +269,30 @@ declare const SparkTokenServiceDefinition: {
161
269
  readonly responseStream: false;
162
270
  readonly options: {};
163
271
  };
272
+ readonly query_token_metadata: {
273
+ readonly name: "query_token_metadata";
274
+ readonly requestType: MessageFns<QueryTokenMetadataRequest>;
275
+ readonly requestStream: false;
276
+ readonly responseType: MessageFns<QueryTokenMetadataResponse>;
277
+ readonly responseStream: false;
278
+ readonly options: {};
279
+ };
280
+ readonly query_token_transactions: {
281
+ readonly name: "query_token_transactions";
282
+ readonly requestType: MessageFns<QueryTokenTransactionsRequest>;
283
+ readonly requestStream: false;
284
+ readonly responseType: MessageFns<QueryTokenTransactionsResponse>;
285
+ readonly responseStream: false;
286
+ readonly options: {};
287
+ };
288
+ readonly query_token_outputs: {
289
+ readonly name: "query_token_outputs";
290
+ readonly requestType: MessageFns<QueryTokenOutputsRequest>;
291
+ readonly requestStream: false;
292
+ readonly responseType: MessageFns<QueryTokenOutputsResponse>;
293
+ readonly responseStream: false;
294
+ readonly options: {};
295
+ };
164
296
  };
165
297
  };
166
298
  interface SparkTokenServiceImplementation<CallContextExt = {}> {
@@ -174,6 +306,9 @@ interface SparkTokenServiceImplementation<CallContextExt = {}> {
174
306
  * coordinated by one SO.
175
307
  */
176
308
  commit_transaction(request: CommitTransactionRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CommitTransactionResponse>>;
309
+ query_token_metadata(request: QueryTokenMetadataRequest, context: CallContext & CallContextExt): Promise<DeepPartial<QueryTokenMetadataResponse>>;
310
+ query_token_transactions(request: QueryTokenTransactionsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<QueryTokenTransactionsResponse>>;
311
+ query_token_outputs(request: QueryTokenOutputsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<QueryTokenOutputsResponse>>;
177
312
  }
178
313
  interface SparkTokenServiceClient<CallOptionsExt = {}> {
179
314
  /**
@@ -186,6 +321,9 @@ interface SparkTokenServiceClient<CallOptionsExt = {}> {
186
321
  * coordinated by one SO.
187
322
  */
188
323
  commit_transaction(request: DeepPartial<CommitTransactionRequest>, options?: CallOptions & CallOptionsExt): Promise<CommitTransactionResponse>;
324
+ query_token_metadata(request: DeepPartial<QueryTokenMetadataRequest>, options?: CallOptions & CallOptionsExt): Promise<QueryTokenMetadataResponse>;
325
+ query_token_transactions(request: DeepPartial<QueryTokenTransactionsRequest>, options?: CallOptions & CallOptionsExt): Promise<QueryTokenTransactionsResponse>;
326
+ query_token_outputs(request: DeepPartial<QueryTokenOutputsRequest>, options?: CallOptions & CallOptionsExt): Promise<QueryTokenOutputsResponse>;
189
327
  }
190
328
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
191
329
  type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
@@ -206,4 +344,4 @@ interface MessageFns<T> {
206
344
  fromPartial(object: DeepPartial<T>): T;
207
345
  }
208
346
 
209
- export { CommitTransactionRequest, CommitTransactionResponse, type DeepPartial, InputTtxoSignaturesPerOperator, type MessageFns, SignatureWithIndex, type SparkTokenServiceClient, SparkTokenServiceDefinition, type SparkTokenServiceImplementation, StartTransactionRequest, StartTransactionResponse, TokenMintInput, TokenOutput, TokenOutputToSpend, TokenTransaction, TokenTransferInput, protobufPackage };
347
+ export { CommitTransactionRequest, CommitTransactionResponse, type DeepPartial, InputTtxoSignaturesPerOperator, type MessageFns, OutputWithPreviousTransactionData, QueryTokenMetadataRequest, QueryTokenMetadataResponse, QueryTokenOutputsRequest, QueryTokenOutputsResponse, QueryTokenTransactionsRequest, QueryTokenTransactionsResponse, SignatureWithIndex, type SparkTokenServiceClient, SparkTokenServiceDefinition, type SparkTokenServiceImplementation, SpentTokenOutputMetadata, StartTransactionRequest, StartTransactionResponse, TokenCreateInput, TokenMetadata, TokenMintInput, TokenOutput, TokenOutputToSpend, TokenTransaction, TokenTransactionConfirmationMetadata, TokenTransactionStatus, TokenTransactionType, TokenTransactionWithStatus, TokenTransferInput, protobufPackage, tokenTransactionStatusFromJSON, tokenTransactionStatusToJSON, tokenTransactionTypeFromJSON, tokenTransactionTypeToJSON };
@@ -1,8 +1,29 @@
1
1
  import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
2
2
  import { CallOptions, CallContext } from 'nice-grpc-common';
3
- import { N as Network, S as SigningKeyshare } from '../spark-C4ZrsgjC.js';
3
+ import { N as Network, S as SigningKeyshare } from '../spark-DbzGfse6.js';
4
4
 
5
5
  declare const protobufPackage = "spark_token";
6
+ declare enum TokenTransactionType {
7
+ TOKEN_TRANSACTION_TYPE_UNSPECIFIED = 0,
8
+ TOKEN_TRANSACTION_TYPE_CREATE = 1,
9
+ TOKEN_TRANSACTION_TYPE_MINT = 2,
10
+ TOKEN_TRANSACTION_TYPE_TRANSFER = 3,
11
+ UNRECOGNIZED = -1
12
+ }
13
+ declare function tokenTransactionTypeFromJSON(object: any): TokenTransactionType;
14
+ declare function tokenTransactionTypeToJSON(object: TokenTransactionType): string;
15
+ declare enum TokenTransactionStatus {
16
+ TOKEN_TRANSACTION_STARTED = 0,
17
+ TOKEN_TRANSACTION_SIGNED = 1,
18
+ TOKEN_TRANSACTION_REVEALED = 5,
19
+ TOKEN_TRANSACTION_FINALIZED = 2,
20
+ TOKEN_TRANSACTION_STARTED_CANCELLED = 3,
21
+ TOKEN_TRANSACTION_SIGNED_CANCELLED = 4,
22
+ TOKEN_TRANSACTION_UNKNOWN = 10,
23
+ UNRECOGNIZED = -1
24
+ }
25
+ declare function tokenTransactionStatusFromJSON(object: any): TokenTransactionStatus;
26
+ declare function tokenTransactionStatusToJSON(object: TokenTransactionStatus): string;
6
27
  /**
7
28
  * This proto is constructed by the wallet to specify leaves it wants to spend
8
29
  * as part of the token transaction.
@@ -18,19 +39,20 @@ interface TokenTransferInput {
18
39
  declare const TokenTransferInput: MessageFns<TokenTransferInput>;
19
40
  interface TokenMintInput {
20
41
  issuerPublicKey: Uint8Array;
21
- /**
22
- * Issuer provided timestamp of when the transaction was signed/constructed.
23
- * Helps provide idempotency and ensures that each mint input signature is
24
- * unique as long as multiple mint signatures are not happening at the same
25
- * time. Also gives a potentially useful data point for when the issuer
26
- * authorized from their perspective. Note that we have no way of proving
27
- * this is accurate.
28
- * TODO: Consider whether implementing generic idempotency controls and/or a
29
- * random nonce would be favorable to populating this field.
30
- */
31
- issuerProvidedTimestamp: number;
42
+ tokenIdentifier?: Uint8Array | undefined;
32
43
  }
33
44
  declare const TokenMintInput: MessageFns<TokenMintInput>;
45
+ interface TokenCreateInput {
46
+ issuerPublicKey: Uint8Array;
47
+ tokenName: string;
48
+ tokenTicker: string;
49
+ decimals: number;
50
+ /** Decoded uint128 */
51
+ maxSupply: Uint8Array;
52
+ isFreezable: boolean;
53
+ creationEntityPublicKey?: Uint8Array | undefined;
54
+ }
55
+ declare const TokenCreateInput: MessageFns<TokenCreateInput>;
34
56
  /**
35
57
  * This proto is constructed by the wallet to specify outputs it wants to create
36
58
  * as part of a token transaction. Output id and revocation public key should
@@ -43,7 +65,8 @@ interface TokenOutput {
43
65
  revocationCommitment?: Uint8Array | undefined;
44
66
  withdrawBondSats?: number | undefined;
45
67
  withdrawRelativeBlockLocktime?: number | undefined;
46
- tokenPublicKey: Uint8Array;
68
+ tokenPublicKey?: Uint8Array | undefined;
69
+ tokenIdentifier?: Uint8Array | undefined;
47
70
  /** Decoded uint128 */
48
71
  tokenAmount: Uint8Array;
49
72
  }
@@ -67,6 +90,9 @@ interface TokenTransaction {
67
90
  } | {
68
91
  $case: "transferInput";
69
92
  transferInput: TokenTransferInput;
93
+ } | {
94
+ $case: "createInput";
95
+ createInput: TokenCreateInput;
70
96
  } | undefined;
71
97
  tokenOutputs: TokenOutput[];
72
98
  sparkOperatorIdentityPublicKeys: Uint8Array[];
@@ -77,6 +103,12 @@ interface TokenTransaction {
77
103
  */
78
104
  expiryTime: Date | undefined;
79
105
  network: Network;
106
+ /**
107
+ * The timestamp of when the client created the transaction. This is used to
108
+ * determine which transaction should win in a race condition. Earlier
109
+ * timestamps win over later ones.
110
+ */
111
+ clientCreatedTimestamp: Date | undefined;
80
112
  }
81
113
  declare const TokenTransaction: MessageFns<TokenTransaction>;
82
114
  interface SignatureWithIndex {
@@ -112,7 +144,7 @@ interface StartTransactionRequest {
112
144
  /**
113
145
  * How long the transaction should be valid for, in seconds.
114
146
  * The server will set the actual expiry_time in the final transaction based
115
- * on this duration. Must be between 1 and 300 seconds.
147
+ * on this duration. Must be within [1, 300] seconds.
116
148
  */
117
149
  validityDurationSeconds: number;
118
150
  }
@@ -132,6 +164,82 @@ declare const CommitTransactionRequest: MessageFns<CommitTransactionRequest>;
132
164
  interface CommitTransactionResponse {
133
165
  }
134
166
  declare const CommitTransactionResponse: MessageFns<CommitTransactionResponse>;
167
+ interface QueryTokenMetadataRequest {
168
+ tokenIdentifiers: Uint8Array[];
169
+ issuerPublicKeys: Uint8Array[];
170
+ }
171
+ declare const QueryTokenMetadataRequest: MessageFns<QueryTokenMetadataRequest>;
172
+ interface TokenMetadata {
173
+ issuerPublicKey: Uint8Array;
174
+ tokenName: string;
175
+ tokenTicker: string;
176
+ decimals: number;
177
+ /** Decoded uint128 */
178
+ maxSupply: Uint8Array;
179
+ isFreezable: boolean;
180
+ creationEntityPublicKey?: Uint8Array | undefined;
181
+ tokenIdentifier: Uint8Array;
182
+ }
183
+ declare const TokenMetadata: MessageFns<TokenMetadata>;
184
+ interface QueryTokenMetadataResponse {
185
+ tokenMetadata: TokenMetadata[];
186
+ }
187
+ declare const QueryTokenMetadataResponse: MessageFns<QueryTokenMetadataResponse>;
188
+ interface QueryTokenOutputsRequest {
189
+ ownerPublicKeys: Uint8Array[];
190
+ /** Optionally provide issuer public keys or token identifiers. If both are not set return outputs for all tokens. */
191
+ issuerPublicKeys: Uint8Array[];
192
+ tokenIdentifiers: Uint8Array[];
193
+ /** defaults to mainnet when no network is provided. */
194
+ network: Network;
195
+ }
196
+ declare const QueryTokenOutputsRequest: MessageFns<QueryTokenOutputsRequest>;
197
+ /** Request constraints are combined using an AND relation. */
198
+ interface QueryTokenTransactionsRequest {
199
+ /** Returns transactions that have one of these output ids in the input or output. */
200
+ outputIds: string[];
201
+ /** Returns transactions that have this owner public key as the sender or receiver in one or more of the input/output leaves. */
202
+ ownerPublicKeys: Uint8Array[];
203
+ /** Returns transactions that related to this token public key. */
204
+ issuerPublicKeys: Uint8Array[];
205
+ /** Returns transactions that related to this token identifier. */
206
+ tokenIdentifiers: Uint8Array[];
207
+ /** Returns transactions that match the provided transaction hashes. */
208
+ tokenTransactionHashes: Uint8Array[];
209
+ limit: number;
210
+ offset: number;
211
+ }
212
+ declare const QueryTokenTransactionsRequest: MessageFns<QueryTokenTransactionsRequest>;
213
+ interface QueryTokenTransactionsResponse {
214
+ tokenTransactionsWithStatus: TokenTransactionWithStatus[];
215
+ offset: number;
216
+ }
217
+ declare const QueryTokenTransactionsResponse: MessageFns<QueryTokenTransactionsResponse>;
218
+ interface OutputWithPreviousTransactionData {
219
+ output: TokenOutput | undefined;
220
+ previousTransactionHash: Uint8Array;
221
+ previousTransactionVout: number;
222
+ }
223
+ declare const OutputWithPreviousTransactionData: MessageFns<OutputWithPreviousTransactionData>;
224
+ interface QueryTokenOutputsResponse {
225
+ outputsWithPreviousTransactionData: OutputWithPreviousTransactionData[];
226
+ }
227
+ declare const QueryTokenOutputsResponse: MessageFns<QueryTokenOutputsResponse>;
228
+ interface SpentTokenOutputMetadata {
229
+ outputId: string;
230
+ revocationSecret: Uint8Array;
231
+ }
232
+ declare const SpentTokenOutputMetadata: MessageFns<SpentTokenOutputMetadata>;
233
+ interface TokenTransactionConfirmationMetadata {
234
+ spentTokenOutputsMetadata: SpentTokenOutputMetadata[];
235
+ }
236
+ declare const TokenTransactionConfirmationMetadata: MessageFns<TokenTransactionConfirmationMetadata>;
237
+ interface TokenTransactionWithStatus {
238
+ tokenTransaction: TokenTransaction | undefined;
239
+ status: TokenTransactionStatus;
240
+ confirmationMetadata: TokenTransactionConfirmationMetadata | undefined;
241
+ }
242
+ declare const TokenTransactionWithStatus: MessageFns<TokenTransactionWithStatus>;
135
243
  type SparkTokenServiceDefinition = typeof SparkTokenServiceDefinition;
136
244
  declare const SparkTokenServiceDefinition: {
137
245
  readonly name: "SparkTokenService";
@@ -161,6 +269,30 @@ declare const SparkTokenServiceDefinition: {
161
269
  readonly responseStream: false;
162
270
  readonly options: {};
163
271
  };
272
+ readonly query_token_metadata: {
273
+ readonly name: "query_token_metadata";
274
+ readonly requestType: MessageFns<QueryTokenMetadataRequest>;
275
+ readonly requestStream: false;
276
+ readonly responseType: MessageFns<QueryTokenMetadataResponse>;
277
+ readonly responseStream: false;
278
+ readonly options: {};
279
+ };
280
+ readonly query_token_transactions: {
281
+ readonly name: "query_token_transactions";
282
+ readonly requestType: MessageFns<QueryTokenTransactionsRequest>;
283
+ readonly requestStream: false;
284
+ readonly responseType: MessageFns<QueryTokenTransactionsResponse>;
285
+ readonly responseStream: false;
286
+ readonly options: {};
287
+ };
288
+ readonly query_token_outputs: {
289
+ readonly name: "query_token_outputs";
290
+ readonly requestType: MessageFns<QueryTokenOutputsRequest>;
291
+ readonly requestStream: false;
292
+ readonly responseType: MessageFns<QueryTokenOutputsResponse>;
293
+ readonly responseStream: false;
294
+ readonly options: {};
295
+ };
164
296
  };
165
297
  };
166
298
  interface SparkTokenServiceImplementation<CallContextExt = {}> {
@@ -174,6 +306,9 @@ interface SparkTokenServiceImplementation<CallContextExt = {}> {
174
306
  * coordinated by one SO.
175
307
  */
176
308
  commit_transaction(request: CommitTransactionRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CommitTransactionResponse>>;
309
+ query_token_metadata(request: QueryTokenMetadataRequest, context: CallContext & CallContextExt): Promise<DeepPartial<QueryTokenMetadataResponse>>;
310
+ query_token_transactions(request: QueryTokenTransactionsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<QueryTokenTransactionsResponse>>;
311
+ query_token_outputs(request: QueryTokenOutputsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<QueryTokenOutputsResponse>>;
177
312
  }
178
313
  interface SparkTokenServiceClient<CallOptionsExt = {}> {
179
314
  /**
@@ -186,6 +321,9 @@ interface SparkTokenServiceClient<CallOptionsExt = {}> {
186
321
  * coordinated by one SO.
187
322
  */
188
323
  commit_transaction(request: DeepPartial<CommitTransactionRequest>, options?: CallOptions & CallOptionsExt): Promise<CommitTransactionResponse>;
324
+ query_token_metadata(request: DeepPartial<QueryTokenMetadataRequest>, options?: CallOptions & CallOptionsExt): Promise<QueryTokenMetadataResponse>;
325
+ query_token_transactions(request: DeepPartial<QueryTokenTransactionsRequest>, options?: CallOptions & CallOptionsExt): Promise<QueryTokenTransactionsResponse>;
326
+ query_token_outputs(request: DeepPartial<QueryTokenOutputsRequest>, options?: CallOptions & CallOptionsExt): Promise<QueryTokenOutputsResponse>;
189
327
  }
190
328
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
191
329
  type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
@@ -206,4 +344,4 @@ interface MessageFns<T> {
206
344
  fromPartial(object: DeepPartial<T>): T;
207
345
  }
208
346
 
209
- export { CommitTransactionRequest, CommitTransactionResponse, type DeepPartial, InputTtxoSignaturesPerOperator, type MessageFns, SignatureWithIndex, type SparkTokenServiceClient, SparkTokenServiceDefinition, type SparkTokenServiceImplementation, StartTransactionRequest, StartTransactionResponse, TokenMintInput, TokenOutput, TokenOutputToSpend, TokenTransaction, TokenTransferInput, protobufPackage };
347
+ export { CommitTransactionRequest, CommitTransactionResponse, type DeepPartial, InputTtxoSignaturesPerOperator, type MessageFns, OutputWithPreviousTransactionData, QueryTokenMetadataRequest, QueryTokenMetadataResponse, QueryTokenOutputsRequest, QueryTokenOutputsResponse, QueryTokenTransactionsRequest, QueryTokenTransactionsResponse, SignatureWithIndex, type SparkTokenServiceClient, SparkTokenServiceDefinition, type SparkTokenServiceImplementation, SpentTokenOutputMetadata, StartTransactionRequest, StartTransactionResponse, TokenCreateInput, TokenMetadata, TokenMintInput, TokenOutput, TokenOutputToSpend, TokenTransaction, TokenTransactionConfirmationMetadata, TokenTransactionStatus, TokenTransactionType, TokenTransactionWithStatus, TokenTransferInput, protobufPackage, tokenTransactionStatusFromJSON, tokenTransactionStatusToJSON, tokenTransactionTypeFromJSON, tokenTransactionTypeToJSON };
@@ -2,31 +2,67 @@ import {
2
2
  CommitTransactionRequest,
3
3
  CommitTransactionResponse,
4
4
  InputTtxoSignaturesPerOperator,
5
+ OutputWithPreviousTransactionData,
6
+ QueryTokenMetadataRequest,
7
+ QueryTokenMetadataResponse,
8
+ QueryTokenOutputsRequest,
9
+ QueryTokenOutputsResponse,
10
+ QueryTokenTransactionsRequest,
11
+ QueryTokenTransactionsResponse,
5
12
  SignatureWithIndex,
6
13
  SparkTokenServiceDefinition,
14
+ SpentTokenOutputMetadata,
7
15
  StartTransactionRequest,
8
16
  StartTransactionResponse,
17
+ TokenCreateInput,
18
+ TokenMetadata,
9
19
  TokenMintInput,
10
20
  TokenOutput,
11
21
  TokenOutputToSpend,
12
22
  TokenTransaction,
23
+ TokenTransactionConfirmationMetadata,
24
+ TokenTransactionStatus,
25
+ TokenTransactionType,
26
+ TokenTransactionWithStatus,
13
27
  TokenTransferInput,
14
- protobufPackage
15
- } from "../chunk-B3AMIGJG.js";
16
- import "../chunk-4Q2ZDYYU.js";
28
+ protobufPackage,
29
+ tokenTransactionStatusFromJSON,
30
+ tokenTransactionStatusToJSON,
31
+ tokenTransactionTypeFromJSON,
32
+ tokenTransactionTypeToJSON
33
+ } from "../chunk-LHRD2WT6.js";
34
+ import "../chunk-BGGEVUJK.js";
17
35
  import "../chunk-MVRQ5US7.js";
18
36
  export {
19
37
  CommitTransactionRequest,
20
38
  CommitTransactionResponse,
21
39
  InputTtxoSignaturesPerOperator,
40
+ OutputWithPreviousTransactionData,
41
+ QueryTokenMetadataRequest,
42
+ QueryTokenMetadataResponse,
43
+ QueryTokenOutputsRequest,
44
+ QueryTokenOutputsResponse,
45
+ QueryTokenTransactionsRequest,
46
+ QueryTokenTransactionsResponse,
22
47
  SignatureWithIndex,
23
48
  SparkTokenServiceDefinition,
49
+ SpentTokenOutputMetadata,
24
50
  StartTransactionRequest,
25
51
  StartTransactionResponse,
52
+ TokenCreateInput,
53
+ TokenMetadata,
26
54
  TokenMintInput,
27
55
  TokenOutput,
28
56
  TokenOutputToSpend,
29
57
  TokenTransaction,
58
+ TokenTransactionConfirmationMetadata,
59
+ TokenTransactionStatus,
60
+ TokenTransactionType,
61
+ TokenTransactionWithStatus,
30
62
  TokenTransferInput,
31
- protobufPackage
63
+ protobufPackage,
64
+ tokenTransactionStatusFromJSON,
65
+ tokenTransactionStatusToJSON,
66
+ tokenTransactionTypeFromJSON,
67
+ tokenTransactionTypeToJSON
32
68
  };
@@ -1,4 +1,4 @@
1
- import { a as TransferStatus, S as SigningKeyshare, N as Network, b as TransferType, d as TreeNode, e as TransferLeaf, f as Transfer } from './spark-C4ZrsgjC.js';
1
+ import { T as TransferStatus, S as SigningKeyshare, N as Network, a as TransferType, b as TreeNode, d as TransferLeaf, e as Transfer } from './spark-DbzGfse6.js';
2
2
 
3
3
  interface WalletLeaf {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { a as TransferStatus, S as SigningKeyshare, N as Network, b as TransferType, d as TreeNode, e as TransferLeaf, f as Transfer } from './spark-C4ZrsgjC.cjs';
1
+ import { T as TransferStatus, S as SigningKeyshare, N as Network, a as TransferType, b as TreeNode, d as TransferLeaf, e as Transfer } from './spark-DbzGfse6.cjs';
2
2
 
3
3
  interface WalletLeaf {
4
4
  id: string;
@@ -1135,7 +1135,7 @@ init_buffer();
1135
1135
  var import_core = require("@lightsparkdev/core");
1136
1136
  var isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
1137
1137
  var isBun = globalThis.Bun !== void 0;
1138
- var packageVersion = true ? "0.1.44" : "unknown";
1138
+ var packageVersion = true ? "0.1.46" : "unknown";
1139
1139
  var baseEnvStr = "unknown";
1140
1140
  if (isBun) {
1141
1141
  const bunVersion = "version" in globalThis.Bun ? globalThis.Bun.version : "unknown-version";
@@ -2125,7 +2125,7 @@ var BASE_CONFIG = {
2125
2125
  threshold: 2,
2126
2126
  signingOperators: getLocalSigningOperators(),
2127
2127
  tokenSignatures: "SCHNORR",
2128
- tokenTransactionVersion: "V0",
2128
+ tokenTransactionVersion: "V1",
2129
2129
  tokenValidityDurationSeconds: 180,
2130
2130
  electrsUrl: getElectrsUrl("LOCAL"),
2131
2131
  expectedWithdrawBondSats: 1e4,
@@ -1,14 +1,15 @@
1
1
  import { HasLrc20WalletApiConfig, LRC20WalletApiConfig } from '@buildonspark/lrc20-sdk';
2
- import { H as HasSspClientOptions, J as SspClientOptions } from '../RequestLightningSendInput-BxbCtwpV.cjs';
2
+ import { H as HasSspClientOptions, J as SspClientOptions } from '../RequestLightningSendInput-2cSh_In4.cjs';
3
3
  import { B as BitcoinNetwork } from '../BitcoinNetwork-TnABML0T.cjs';
4
- import { S as SparkSigner } from '../signer-DaY8c60s.cjs';
5
- import { N as Network, a as NetworkType } from '../network-CfxLnaot.cjs';
4
+ import { S as SparkSigner } from '../signer-BP6F__oR.cjs';
5
+ import { N as Network, a as NetworkType } from '../network-Css46DAz.cjs';
6
6
  import { ConfigOptions, SigningOperator } from './wallet-config.cjs';
7
7
  import '@lightsparkdev/core';
8
8
  import '@scure/bip32';
9
- import '../spark-C4ZrsgjC.cjs';
9
+ import '../spark-DbzGfse6.cjs';
10
10
  import '@bufbuild/protobuf/wire';
11
11
  import 'nice-grpc-common';
12
+ import '../types-C-Rp0Oo7.cjs';
12
13
  import '@scure/btc-signer';
13
14
  import 'bitcoinjs-lib';
14
15
  import '@buildonspark/lrc20-sdk/lrc/types';
@@ -1,14 +1,15 @@
1
1
  import { HasLrc20WalletApiConfig, LRC20WalletApiConfig } from '@buildonspark/lrc20-sdk';
2
- import { H as HasSspClientOptions, J as SspClientOptions } from '../RequestLightningSendInput-RGel43ks.js';
2
+ import { H as HasSspClientOptions, J as SspClientOptions } from '../RequestLightningSendInput-CN6BNg_g.js';
3
3
  import { B as BitcoinNetwork } from '../BitcoinNetwork-TnABML0T.js';
4
- import { S as SparkSigner } from '../signer-D7vfYik9.js';
5
- import { N as Network, a as NetworkType } from '../network-CroCOQ0B.js';
4
+ import { S as SparkSigner } from '../signer-BVZJXcq7.js';
5
+ import { N as Network, a as NetworkType } from '../network-hynb7iTZ.js';
6
6
  import { ConfigOptions, SigningOperator } from './wallet-config.js';
7
7
  import '@lightsparkdev/core';
8
8
  import '@scure/bip32';
9
- import '../spark-C4ZrsgjC.js';
9
+ import '../spark-DbzGfse6.js';
10
10
  import '@bufbuild/protobuf/wire';
11
11
  import 'nice-grpc-common';
12
+ import '../types-C-Rp0Oo7.js';
12
13
  import '@scure/btc-signer';
13
14
  import 'bitcoinjs-lib';
14
15
  import '@buildonspark/lrc20-sdk/lrc/types';
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  WalletConfigService
3
- } from "../chunk-DAXGVPVM.js";
3
+ } from "../chunk-HSCLBJEL.js";
4
4
  import "../chunk-Z5HIAYFT.js";
5
- import "../chunk-EKFD62HN.js";
6
- import "../chunk-HMLOC6TE.js";
7
- import "../chunk-4Q2ZDYYU.js";
8
- import "../chunk-HTMXTJRK.js";
9
- import "../chunk-UBT6EDVJ.js";
5
+ import "../chunk-4EMV7HHW.js";
6
+ import "../chunk-N5VZVCGJ.js";
10
7
  import "../chunk-NSJF5F5O.js";
8
+ import "../chunk-OFCJFZ4I.js";
11
9
  import "../chunk-QNNSEJ4P.js";
12
10
  import "../chunk-VTUGIIWI.js";
13
11
  import "../chunk-GSI4OLXZ.js";
12
+ import "../chunk-HMLOC6TE.js";
13
+ import "../chunk-BGGEVUJK.js";
14
14
  import "../chunk-MVRQ5US7.js";
15
15
  export {
16
16
  WalletConfigService