@buildonspark/spark-sdk 0.1.43 → 0.1.44
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 +7 -0
- package/dist/{RequestLightningSendInput-Na1mHdWg.d.cts → RequestLightningSendInput-BxbCtwpV.d.cts} +43 -4
- package/dist/{RequestLightningSendInput-D7fZdT4A.d.ts → RequestLightningSendInput-RGel43ks.d.ts} +43 -4
- package/dist/address/index.d.cts +2 -2
- package/dist/address/index.d.ts +2 -2
- package/dist/address/index.js +2 -2
- package/dist/{chunk-M6A4KFIG.js → chunk-4Q2ZDYYU.js} +332 -221
- package/dist/{chunk-WWOTVNPP.js → chunk-A2ZLMH6I.js} +323 -142
- package/dist/{chunk-VA7MV4MZ.js → chunk-B3AMIGJG.js} +1 -1
- package/dist/{chunk-DQYKQJRZ.js → chunk-CIZNCBKE.js} +29 -9
- package/dist/{chunk-BUTZWYBW.js → chunk-DAXGVPVM.js} +2 -2
- package/dist/{chunk-DOA6QXYQ.js → chunk-EKFD62HN.js} +2 -1
- package/dist/{chunk-TIUBYNN5.js → chunk-HTMXTJRK.js} +1 -1
- package/dist/{chunk-TOSP3INR.js → chunk-I54FARY2.js} +4 -2
- package/dist/{chunk-MIVX3GHD.js → chunk-K4BJARWM.js} +1 -1
- package/dist/{chunk-O4RYNJNB.js → chunk-KEKGSH7B.js} +1 -1
- package/dist/{chunk-GYQR4B4P.js → chunk-NBCNYDWJ.js} +2 -2
- package/dist/{chunk-ABZA6R5S.js → chunk-SQKXGAIR.js} +1 -1
- package/dist/{chunk-VFJQNBFX.js → chunk-UBT6EDVJ.js} +5 -2
- package/dist/{chunk-HRQRRDSS.js → chunk-WPTRVD2V.js} +3 -3
- package/dist/{chunk-IRW5TWMH.js → chunk-XX4RRWOX.js} +5 -5
- package/dist/graphql/objects/index.d.cts +5 -43
- package/dist/graphql/objects/index.d.ts +5 -43
- package/dist/graphql/objects/index.js +1 -1
- package/dist/{index-BJOc8Ur-.d.cts → index-CZmDdSts.d.cts} +24 -10
- package/dist/{index-7RYRH5wc.d.ts → index-ClIRO_3y.d.ts} +24 -10
- package/dist/index.cjs +827 -414
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +15 -15
- package/dist/index.node.cjs +830 -417
- package/dist/index.node.d.cts +7 -7
- package/dist/index.node.d.ts +7 -7
- package/dist/index.node.js +18 -18
- package/dist/native/index.cjs +827 -414
- package/dist/native/index.d.cts +88 -23
- package/dist/native/index.d.ts +88 -23
- package/dist/native/index.js +819 -407
- package/dist/{network-D5lKssVl.d.cts → network-CfxLnaot.d.cts} +1 -1
- package/dist/{network-xkBSpaTn.d.ts → network-CroCOQ0B.d.ts} +1 -1
- package/dist/proto/lrc20.d.cts +1 -1
- package/dist/proto/lrc20.d.ts +1 -1
- package/dist/proto/lrc20.js +2 -2
- package/dist/proto/spark.cjs +332 -221
- package/dist/proto/spark.d.cts +1 -1
- package/dist/proto/spark.d.ts +1 -1
- package/dist/proto/spark.js +3 -5
- package/dist/proto/spark_token.cjs +149 -9
- 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/{sdk-types-B-q9py_P.d.cts → sdk-types-BeCBoozO.d.cts} +1 -1
- package/dist/{sdk-types-BPoPgzda.d.ts → sdk-types-CTbTdDbE.d.ts} +1 -1
- package/dist/services/config.cjs +7 -3
- package/dist/services/config.d.cts +4 -4
- package/dist/services/config.d.ts +4 -4
- package/dist/services/config.js +5 -5
- package/dist/services/connection.cjs +334 -218
- package/dist/services/connection.d.cts +4 -4
- package/dist/services/connection.d.ts +4 -4
- package/dist/services/connection.js +4 -4
- package/dist/services/index.cjs +364 -227
- package/dist/services/index.d.cts +4 -4
- package/dist/services/index.d.ts +4 -4
- package/dist/services/index.js +9 -9
- package/dist/services/lrc-connection.cjs +5 -2
- package/dist/services/lrc-connection.d.cts +4 -4
- package/dist/services/lrc-connection.d.ts +4 -4
- package/dist/services/lrc-connection.js +4 -4
- package/dist/services/token-transactions.cjs +28 -8
- package/dist/services/token-transactions.d.cts +4 -4
- package/dist/services/token-transactions.d.ts +4 -4
- package/dist/services/token-transactions.js +3 -3
- package/dist/services/wallet-config.cjs +2 -1
- package/dist/services/wallet-config.d.cts +4 -4
- package/dist/services/wallet-config.d.ts +4 -4
- package/dist/services/wallet-config.js +1 -1
- package/dist/signer/signer.cjs +5 -2
- package/dist/signer/signer.d.cts +2 -2
- package/dist/signer/signer.d.ts +2 -2
- package/dist/signer/signer.js +2 -2
- package/dist/{signer-wqesWifN.d.ts → signer-D7vfYik9.d.ts} +1 -1
- package/dist/{signer-IO3oMRNj.d.cts → signer-DaY8c60s.d.cts} +1 -1
- package/dist/{spark-CDm4gqS6.d.ts → spark-C4ZrsgjC.d.cts} +47 -29
- package/dist/{spark-CDm4gqS6.d.cts → spark-C4ZrsgjC.d.ts} +47 -29
- package/dist/types/index.cjs +331 -219
- package/dist/types/index.d.cts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +3 -3
- package/dist/utils/index.cjs +298 -28
- package/dist/utils/index.d.cts +5 -5
- package/dist/utils/index.d.ts +5 -5
- package/dist/utils/index.js +6 -6
- package/package.json +1 -1
- package/src/constants.ts +5 -1
- package/src/graphql/client.ts +28 -0
- package/src/graphql/mutations/RequestCoopExit.ts +6 -0
- package/src/graphql/mutations/RequestSwapLeaves.ts +2 -0
- package/src/graphql/queries/GetCoopExitFeeQuote.ts +20 -0
- package/src/proto/spark.ts +454 -322
- package/src/services/token-transactions.ts +12 -0
- package/src/services/transfer.ts +0 -3
- package/src/services/wallet-config.ts +1 -0
- package/src/spark-wallet/spark-wallet.node.ts +3 -3
- package/src/spark-wallet/spark-wallet.ts +301 -125
- package/src/tests/integration/deposit.test.ts +16 -0
- package/src/tests/integration/ssp/coop-exit.test.ts +85 -21
- package/src/tests/integration/ssp/swap.test.ts +47 -0
- package/src/tests/tokens.test.ts +3 -2
- package/src/utils/token-hashing.ts +28 -10
- package/src/utils/transaction.ts +2 -2
- package/src/logger.ts +0 -3
package/CHANGELOG.md
CHANGED
package/dist/{RequestLightningSendInput-Na1mHdWg.d.cts → RequestLightningSendInput-BxbCtwpV.d.cts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Query } from '@lightsparkdev/core';
|
|
2
2
|
import { B as BitcoinNetwork } from './BitcoinNetwork-TnABML0T.cjs';
|
|
3
|
-
import { S as SparkSigner } from './signer-
|
|
3
|
+
import { S as SparkSigner } from './signer-DaY8c60s.cjs';
|
|
4
4
|
|
|
5
5
|
/** This enum identifies the unit of currency associated with a CurrencyAmount. **/
|
|
6
6
|
declare enum CurrencyUnit {
|
|
@@ -90,6 +90,44 @@ interface CoopExitFeeEstimatesOutput {
|
|
|
90
90
|
speedSlow?: CoopExitFeeEstimate | undefined;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
interface CoopExitFeeQuote {
|
|
94
|
+
/**
|
|
95
|
+
* The unique identifier of this entity across all Lightspark systems. Should be treated as an opaque
|
|
96
|
+
* string.
|
|
97
|
+
**/
|
|
98
|
+
id: string;
|
|
99
|
+
/** The date and time when the entity was first created. **/
|
|
100
|
+
createdAt: string;
|
|
101
|
+
/** The date and time when the entity was last updated. **/
|
|
102
|
+
updatedAt: string;
|
|
103
|
+
/** The network the coop exit fee quote is on. **/
|
|
104
|
+
network: BitcoinNetwork;
|
|
105
|
+
/** The total currency amount of all the nodes user swapped for the coop exit quote. **/
|
|
106
|
+
totalAmount: CurrencyAmount;
|
|
107
|
+
/** The fee user pays for the coop exit not including the L1 broadcast fee when exit speed is fast. **/
|
|
108
|
+
userFeeFast: CurrencyAmount;
|
|
109
|
+
/** The fee user pays for the coop exit not including the L1 broadcast fee when exit speed is medium. **/
|
|
110
|
+
userFeeMedium: CurrencyAmount;
|
|
111
|
+
/** The fee user pays for the coop exit not including the L1 broadcast fee when exit speed is slow. **/
|
|
112
|
+
userFeeSlow: CurrencyAmount;
|
|
113
|
+
/** The L1 broadcast fee user pays for the coop exit when exit speed is fast. **/
|
|
114
|
+
l1BroadcastFeeFast: CurrencyAmount;
|
|
115
|
+
/** The L1 broadcast fee user pays for the coop exit when exit speed is medium. **/
|
|
116
|
+
l1BroadcastFeeMedium: CurrencyAmount;
|
|
117
|
+
/** The L1 broadcast fee user pays for the coop exit when exit speed is slow. **/
|
|
118
|
+
l1BroadcastFeeSlow: CurrencyAmount;
|
|
119
|
+
/** The time when the coop exit fee quote expires. **/
|
|
120
|
+
expiresAt: string;
|
|
121
|
+
/** The typename of the object **/
|
|
122
|
+
typename: string;
|
|
123
|
+
}
|
|
124
|
+
declare const getCoopExitFeeQuoteQuery: (id: string) => Query<CoopExitFeeQuote>;
|
|
125
|
+
|
|
126
|
+
interface CoopExitFeeQuoteInput {
|
|
127
|
+
leafExternalIds: string[];
|
|
128
|
+
withdrawalAddress: string;
|
|
129
|
+
}
|
|
130
|
+
|
|
93
131
|
declare enum ExitSpeed {
|
|
94
132
|
/**
|
|
95
133
|
* This is an enum value that represents values that could be added in the future.
|
|
@@ -282,10 +320,10 @@ declare class SspClient {
|
|
|
282
320
|
getCoopExitFeeEstimate({ leafExternalIds, withdrawalAddress, }: CoopExitFeeEstimatesInput): Promise<CoopExitFeeEstimatesOutput | null>;
|
|
283
321
|
getCurrentUser(): Promise<void>;
|
|
284
322
|
completeCoopExit({ userOutboundTransferExternalId, coopExitRequestId, }: CompleteCoopExitInput): Promise<CoopExitRequest | null>;
|
|
285
|
-
requestCoopExit({ leafExternalIds, withdrawalAddress, idempotencyKey, exitSpeed, }: RequestCoopExitInput): Promise<CoopExitRequest | null>;
|
|
323
|
+
requestCoopExit({ leafExternalIds, withdrawalAddress, idempotencyKey, exitSpeed, feeLeafExternalIds, feeQuoteId, withdrawAll, }: RequestCoopExitInput): Promise<CoopExitRequest | null>;
|
|
286
324
|
requestLightningReceive({ amountSats, network, paymentHash, expirySecs, memo, includeSparkAddress, receiverIdentityPubkey, descriptionHash, }: RequestLightningReceiveInput): Promise<LightningReceiveRequest | null>;
|
|
287
325
|
requestLightningSend({ encodedInvoice, idempotencyKey, amountSats, }: RequestLightningSendInput): Promise<LightningSendRequest | null>;
|
|
288
|
-
requestLeaveSwap({ adaptorPubkey, totalAmountSats, targetAmountSats, feeSats, userLeaves, idempotencyKey, }: RequestLeavesSwapInput): Promise<LeavesSwapRequest | null>;
|
|
326
|
+
requestLeaveSwap({ adaptorPubkey, totalAmountSats, targetAmountSats, feeSats, userLeaves, idempotencyKey, targetAmountSatsList, }: RequestLeavesSwapInput): Promise<LeavesSwapRequest | null>;
|
|
289
327
|
completeLeaveSwap({ adaptorSecretKey, userOutboundTransferExternalId, leavesSwapRequestId, }: CompleteLeavesSwapInput): Promise<LeavesSwapRequest | null>;
|
|
290
328
|
getLightningReceiveRequest(id: string): Promise<LightningReceiveRequest | null>;
|
|
291
329
|
getLightningSendRequest(id: string): Promise<LightningSendRequest | null>;
|
|
@@ -305,6 +343,7 @@ declare class SspClient {
|
|
|
305
343
|
getChallenge(): Promise<GetChallengeOutput | null>;
|
|
306
344
|
verifyChallenge(signature: string, protectedChallenge: string): Promise<VerifyChallengeOutput | null>;
|
|
307
345
|
authenticate(): Promise<void>;
|
|
346
|
+
getCoopExitFeeQuote({ leafExternalIds, withdrawalAddress, }: CoopExitFeeQuoteInput): Promise<CoopExitFeeQuote | null>;
|
|
308
347
|
}
|
|
309
348
|
|
|
310
349
|
interface Leaf {
|
|
@@ -512,4 +551,4 @@ interface RequestLightningSendInput {
|
|
|
512
551
|
amountSats?: number | undefined;
|
|
513
552
|
}
|
|
514
553
|
|
|
515
|
-
export { type
|
|
554
|
+
export { type SparkTransferToLeavesConnection as A, type StaticDepositQuoteInput as B, type ClaimStaticDepositOutput as C, type StaticDepositQuoteOutput as D, ExitSpeed as E, type SwapLeaf as F, type GetChallengeOutput as G, type HasSspClientOptions as H, type Invoice as I, type SspClientOptions as J, SspClient as K, type Leaf as L, type MayHaveSspClientOptions as M, type PageInfo as P, type RequestCoopExitInput as R, SparkCoopExitRequestStatus as S, Transfer as T, type UserLeafInput as U, type VerifyChallengeOutput as V, type CompleteCoopExitInput as a, type CompleteLeavesSwapInput as b, type CoopExitFeeEstimate as c, type CoopExitFeeEstimatesInput as d, type CoopExitFeeEstimatesOutput as e, type CoopExitFeeQuote as f, getCoopExitFeeQuoteQuery as g, type CoopExitFeeQuoteInput as h, type CoopExitRequest as i, getCoopExitRequestQuery as j, type CurrencyAmount as k, CurrencyUnit as l, type LeavesSwapFeeEstimateOutput as m, getLeavesSwapRequestQuery as n, type LeavesSwapRequest as o, getLightningReceiveRequestQuery as p, type LightningReceiveRequest as q, LightningReceiveRequestStatus as r, type LightningSendFeeEstimateOutput as s, getLightningSendRequestQuery as t, type LightningSendRequest as u, LightningSendRequestStatus as v, type RequestLeavesSwapInput as w, type RequestLightningReceiveInput as x, type RequestLightningSendInput as y, SparkLeavesSwapRequestStatus as z };
|
package/dist/{RequestLightningSendInput-D7fZdT4A.d.ts → RequestLightningSendInput-RGel43ks.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Query } from '@lightsparkdev/core';
|
|
2
2
|
import { B as BitcoinNetwork } from './BitcoinNetwork-TnABML0T.js';
|
|
3
|
-
import { S as SparkSigner } from './signer-
|
|
3
|
+
import { S as SparkSigner } from './signer-D7vfYik9.js';
|
|
4
4
|
|
|
5
5
|
/** This enum identifies the unit of currency associated with a CurrencyAmount. **/
|
|
6
6
|
declare enum CurrencyUnit {
|
|
@@ -90,6 +90,44 @@ interface CoopExitFeeEstimatesOutput {
|
|
|
90
90
|
speedSlow?: CoopExitFeeEstimate | undefined;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
interface CoopExitFeeQuote {
|
|
94
|
+
/**
|
|
95
|
+
* The unique identifier of this entity across all Lightspark systems. Should be treated as an opaque
|
|
96
|
+
* string.
|
|
97
|
+
**/
|
|
98
|
+
id: string;
|
|
99
|
+
/** The date and time when the entity was first created. **/
|
|
100
|
+
createdAt: string;
|
|
101
|
+
/** The date and time when the entity was last updated. **/
|
|
102
|
+
updatedAt: string;
|
|
103
|
+
/** The network the coop exit fee quote is on. **/
|
|
104
|
+
network: BitcoinNetwork;
|
|
105
|
+
/** The total currency amount of all the nodes user swapped for the coop exit quote. **/
|
|
106
|
+
totalAmount: CurrencyAmount;
|
|
107
|
+
/** The fee user pays for the coop exit not including the L1 broadcast fee when exit speed is fast. **/
|
|
108
|
+
userFeeFast: CurrencyAmount;
|
|
109
|
+
/** The fee user pays for the coop exit not including the L1 broadcast fee when exit speed is medium. **/
|
|
110
|
+
userFeeMedium: CurrencyAmount;
|
|
111
|
+
/** The fee user pays for the coop exit not including the L1 broadcast fee when exit speed is slow. **/
|
|
112
|
+
userFeeSlow: CurrencyAmount;
|
|
113
|
+
/** The L1 broadcast fee user pays for the coop exit when exit speed is fast. **/
|
|
114
|
+
l1BroadcastFeeFast: CurrencyAmount;
|
|
115
|
+
/** The L1 broadcast fee user pays for the coop exit when exit speed is medium. **/
|
|
116
|
+
l1BroadcastFeeMedium: CurrencyAmount;
|
|
117
|
+
/** The L1 broadcast fee user pays for the coop exit when exit speed is slow. **/
|
|
118
|
+
l1BroadcastFeeSlow: CurrencyAmount;
|
|
119
|
+
/** The time when the coop exit fee quote expires. **/
|
|
120
|
+
expiresAt: string;
|
|
121
|
+
/** The typename of the object **/
|
|
122
|
+
typename: string;
|
|
123
|
+
}
|
|
124
|
+
declare const getCoopExitFeeQuoteQuery: (id: string) => Query<CoopExitFeeQuote>;
|
|
125
|
+
|
|
126
|
+
interface CoopExitFeeQuoteInput {
|
|
127
|
+
leafExternalIds: string[];
|
|
128
|
+
withdrawalAddress: string;
|
|
129
|
+
}
|
|
130
|
+
|
|
93
131
|
declare enum ExitSpeed {
|
|
94
132
|
/**
|
|
95
133
|
* This is an enum value that represents values that could be added in the future.
|
|
@@ -282,10 +320,10 @@ declare class SspClient {
|
|
|
282
320
|
getCoopExitFeeEstimate({ leafExternalIds, withdrawalAddress, }: CoopExitFeeEstimatesInput): Promise<CoopExitFeeEstimatesOutput | null>;
|
|
283
321
|
getCurrentUser(): Promise<void>;
|
|
284
322
|
completeCoopExit({ userOutboundTransferExternalId, coopExitRequestId, }: CompleteCoopExitInput): Promise<CoopExitRequest | null>;
|
|
285
|
-
requestCoopExit({ leafExternalIds, withdrawalAddress, idempotencyKey, exitSpeed, }: RequestCoopExitInput): Promise<CoopExitRequest | null>;
|
|
323
|
+
requestCoopExit({ leafExternalIds, withdrawalAddress, idempotencyKey, exitSpeed, feeLeafExternalIds, feeQuoteId, withdrawAll, }: RequestCoopExitInput): Promise<CoopExitRequest | null>;
|
|
286
324
|
requestLightningReceive({ amountSats, network, paymentHash, expirySecs, memo, includeSparkAddress, receiverIdentityPubkey, descriptionHash, }: RequestLightningReceiveInput): Promise<LightningReceiveRequest | null>;
|
|
287
325
|
requestLightningSend({ encodedInvoice, idempotencyKey, amountSats, }: RequestLightningSendInput): Promise<LightningSendRequest | null>;
|
|
288
|
-
requestLeaveSwap({ adaptorPubkey, totalAmountSats, targetAmountSats, feeSats, userLeaves, idempotencyKey, }: RequestLeavesSwapInput): Promise<LeavesSwapRequest | null>;
|
|
326
|
+
requestLeaveSwap({ adaptorPubkey, totalAmountSats, targetAmountSats, feeSats, userLeaves, idempotencyKey, targetAmountSatsList, }: RequestLeavesSwapInput): Promise<LeavesSwapRequest | null>;
|
|
289
327
|
completeLeaveSwap({ adaptorSecretKey, userOutboundTransferExternalId, leavesSwapRequestId, }: CompleteLeavesSwapInput): Promise<LeavesSwapRequest | null>;
|
|
290
328
|
getLightningReceiveRequest(id: string): Promise<LightningReceiveRequest | null>;
|
|
291
329
|
getLightningSendRequest(id: string): Promise<LightningSendRequest | null>;
|
|
@@ -305,6 +343,7 @@ declare class SspClient {
|
|
|
305
343
|
getChallenge(): Promise<GetChallengeOutput | null>;
|
|
306
344
|
verifyChallenge(signature: string, protectedChallenge: string): Promise<VerifyChallengeOutput | null>;
|
|
307
345
|
authenticate(): Promise<void>;
|
|
346
|
+
getCoopExitFeeQuote({ leafExternalIds, withdrawalAddress, }: CoopExitFeeQuoteInput): Promise<CoopExitFeeQuote | null>;
|
|
308
347
|
}
|
|
309
348
|
|
|
310
349
|
interface Leaf {
|
|
@@ -512,4 +551,4 @@ interface RequestLightningSendInput {
|
|
|
512
551
|
amountSats?: number | undefined;
|
|
513
552
|
}
|
|
514
553
|
|
|
515
|
-
export { type
|
|
554
|
+
export { type SparkTransferToLeavesConnection as A, type StaticDepositQuoteInput as B, type ClaimStaticDepositOutput as C, type StaticDepositQuoteOutput as D, ExitSpeed as E, type SwapLeaf as F, type GetChallengeOutput as G, type HasSspClientOptions as H, type Invoice as I, type SspClientOptions as J, SspClient as K, type Leaf as L, type MayHaveSspClientOptions as M, type PageInfo as P, type RequestCoopExitInput as R, SparkCoopExitRequestStatus as S, Transfer as T, type UserLeafInput as U, type VerifyChallengeOutput as V, type CompleteCoopExitInput as a, type CompleteLeavesSwapInput as b, type CoopExitFeeEstimate as c, type CoopExitFeeEstimatesInput as d, type CoopExitFeeEstimatesOutput as e, type CoopExitFeeQuote as f, getCoopExitFeeQuoteQuery as g, type CoopExitFeeQuoteInput as h, type CoopExitRequest as i, getCoopExitRequestQuery as j, type CurrencyAmount as k, CurrencyUnit as l, type LeavesSwapFeeEstimateOutput as m, getLeavesSwapRequestQuery as n, type LeavesSwapRequest as o, getLightningReceiveRequestQuery as p, type LightningReceiveRequest as q, LightningReceiveRequestStatus as r, type LightningSendFeeEstimateOutput as s, getLightningSendRequestQuery as t, type LightningSendRequest as u, LightningSendRequestStatus as v, type RequestLeavesSwapInput as w, type RequestLightningReceiveInput as x, type RequestLightningSendInput as y, SparkLeavesSwapRequestStatus as z };
|
package/dist/address/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PaymentIntentFields } from '../spark-
|
|
2
|
-
import { a as NetworkType } from '../network-
|
|
1
|
+
import { P as PaymentIntentFields } from '../spark-C4ZrsgjC.cjs';
|
|
2
|
+
import { a as NetworkType } from '../network-CfxLnaot.cjs';
|
|
3
3
|
import '@bufbuild/protobuf/wire';
|
|
4
4
|
import 'nice-grpc-common';
|
|
5
5
|
import '@buildonspark/lrc20-sdk';
|
package/dist/address/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PaymentIntentFields } from '../spark-
|
|
2
|
-
import { a as NetworkType } from '../network-
|
|
1
|
+
import { P as PaymentIntentFields } from '../spark-C4ZrsgjC.js';
|
|
2
|
+
import { a as NetworkType } from '../network-CroCOQ0B.js';
|
|
3
3
|
import '@bufbuild/protobuf/wire';
|
|
4
4
|
import 'nice-grpc-common';
|
|
5
5
|
import '@buildonspark/lrc20-sdk';
|
package/dist/address/index.js
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
encodeSparkAddress,
|
|
5
5
|
isValidPublicKey,
|
|
6
6
|
isValidSparkAddress
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-KEKGSH7B.js";
|
|
8
|
+
import "../chunk-4Q2ZDYYU.js";
|
|
9
9
|
import "../chunk-VTUGIIWI.js";
|
|
10
10
|
import "../chunk-GSI4OLXZ.js";
|
|
11
11
|
import "../chunk-MVRQ5US7.js";
|