@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.
- package/CHANGELOG.md +17 -0
- package/dist/{RequestLightningSendInput-BxbCtwpV.d.cts → RequestLightningSendInput-2cSh_In4.d.cts} +1 -1
- package/dist/{RequestLightningSendInput-RGel43ks.d.ts → RequestLightningSendInput-CN6BNg_g.d.ts} +1 -1
- package/dist/address/index.cjs +2 -2
- 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-EKFD62HN.js → chunk-4EMV7HHW.js} +2 -1
- package/dist/{chunk-4Q2ZDYYU.js → chunk-BGGEVUJK.js} +1157 -208
- package/dist/{chunk-CIZNCBKE.js → chunk-C2S227QR.js} +648 -45
- package/dist/{chunk-WPTRVD2V.js → chunk-DXR2PXJU.js} +15 -15
- package/dist/{chunk-NBCNYDWJ.js → chunk-HHNQ3ZHC.js} +2 -2
- package/dist/{chunk-DAXGVPVM.js → chunk-HSCLBJEL.js} +2 -2
- package/dist/{chunk-6AFUC5M2.js → chunk-HWJWKEIU.js} +8 -2
- package/dist/{chunk-A2ZLMH6I.js → chunk-JB64OQES.js} +259 -327
- package/dist/{chunk-KEKGSH7B.js → chunk-KMUMFYFX.js} +3 -3
- package/dist/chunk-LHRD2WT6.js +2374 -0
- package/dist/{chunk-HTMXTJRK.js → chunk-N5VZVCGJ.js} +4 -4
- package/dist/{chunk-SQKXGAIR.js → chunk-NTFKFRQ2.js} +1 -1
- package/dist/{chunk-K4BJARWM.js → chunk-OBFKIEMP.js} +1 -1
- package/dist/{chunk-UBT6EDVJ.js → chunk-OFCJFZ4I.js} +1 -1
- package/dist/{chunk-XX4RRWOX.js → chunk-UXDODSDT.js} +8 -10
- package/dist/graphql/objects/index.d.cts +5 -4
- package/dist/graphql/objects/index.d.ts +5 -4
- package/dist/index-CKL5DodV.d.cts +214 -0
- package/dist/index-COm59SPw.d.ts +214 -0
- package/dist/index.cjs +4026 -1315
- package/dist/index.d.cts +764 -19
- package/dist/index.d.ts +764 -19
- package/dist/index.js +23 -27
- package/dist/index.node.cjs +4026 -1319
- package/dist/index.node.d.cts +10 -8
- package/dist/index.node.d.ts +10 -8
- package/dist/index.node.js +23 -31
- package/dist/native/index.cjs +4027 -1316
- package/dist/native/index.d.cts +281 -85
- package/dist/native/index.d.ts +281 -85
- package/dist/native/index.js +4018 -1307
- package/dist/{network-CfxLnaot.d.cts → network-Css46DAz.d.cts} +1 -1
- package/dist/{network-CroCOQ0B.d.ts → network-hynb7iTZ.d.ts} +1 -1
- package/dist/proto/lrc20.cjs +222 -19
- 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 +1154 -205
- package/dist/proto/spark.d.cts +1 -1
- package/dist/proto/spark.d.ts +1 -1
- package/dist/proto/spark.js +3 -1
- package/dist/proto/spark_token.cjs +1377 -58
- package/dist/proto/spark_token.d.cts +153 -15
- package/dist/proto/spark_token.d.ts +153 -15
- package/dist/proto/spark_token.js +40 -4
- package/dist/{sdk-types-CTbTdDbE.d.ts → sdk-types-CKBsylfW.d.ts} +1 -1
- package/dist/{sdk-types-BeCBoozO.d.cts → sdk-types-Ct8xmN7l.d.cts} +1 -1
- package/dist/services/config.cjs +2 -2
- package/dist/services/config.d.cts +5 -4
- package/dist/services/config.d.ts +5 -4
- package/dist/services/config.js +6 -6
- package/dist/services/connection.cjs +2438 -262
- package/dist/services/connection.d.cts +5 -4
- package/dist/services/connection.d.ts +5 -4
- package/dist/services/connection.js +4 -4
- package/dist/services/index.cjs +5937 -3154
- package/dist/services/index.d.cts +7 -6
- package/dist/services/index.d.ts +7 -6
- package/dist/services/index.js +17 -15
- package/dist/services/lrc-connection.cjs +223 -20
- package/dist/services/lrc-connection.d.cts +5 -4
- package/dist/services/lrc-connection.d.ts +5 -4
- package/dist/services/lrc-connection.js +4 -4
- package/dist/services/token-transactions.cjs +840 -236
- package/dist/services/token-transactions.d.cts +25 -7
- package/dist/services/token-transactions.d.ts +25 -7
- package/dist/services/token-transactions.js +5 -4
- package/dist/services/wallet-config.cjs +3 -1
- package/dist/services/wallet-config.d.cts +7 -5
- package/dist/services/wallet-config.d.ts +7 -5
- package/dist/services/wallet-config.js +3 -1
- package/dist/signer/signer.cjs +1 -1
- package/dist/signer/signer.d.cts +3 -2
- package/dist/signer/signer.d.ts +3 -2
- package/dist/signer/signer.js +2 -2
- package/dist/{signer-D7vfYik9.d.ts → signer-BP6F__oR.d.cts} +2 -6
- package/dist/{signer-DaY8c60s.d.cts → signer-BVZJXcq7.d.ts} +2 -6
- package/dist/{spark-C4ZrsgjC.d.cts → spark-DbzGfse6.d.cts} +93 -15
- package/dist/{spark-C4ZrsgjC.d.ts → spark-DbzGfse6.d.ts} +93 -15
- package/dist/spark_bindings/native/index.cjs +183 -0
- package/dist/spark_bindings/native/index.d.cts +14 -0
- package/dist/spark_bindings/native/index.d.ts +14 -0
- package/dist/spark_bindings/native/index.js +141 -0
- package/dist/spark_bindings/wasm/index.cjs +1093 -0
- package/dist/spark_bindings/wasm/index.d.cts +47 -0
- package/dist/spark_bindings/wasm/index.d.ts +47 -0
- package/dist/{chunk-K4C4W5FC.js → spark_bindings/wasm/index.js} +7 -6
- package/dist/types/index.cjs +1156 -208
- package/dist/types/index.d.cts +5 -4
- package/dist/types/index.d.ts +5 -4
- package/dist/types/index.js +2 -2
- package/dist/types-C-Rp0Oo7.d.cts +46 -0
- package/dist/types-C-Rp0Oo7.d.ts +46 -0
- package/dist/utils/index.cjs +65 -13
- package/dist/utils/index.d.cts +14 -134
- package/dist/utils/index.d.ts +14 -134
- package/dist/utils/index.js +13 -13
- package/package.json +22 -2
- package/src/index.node.ts +0 -1
- package/src/index.ts +0 -1
- package/src/native/index.ts +1 -2
- package/src/proto/common.ts +5 -5
- package/src/proto/google/protobuf/descriptor.ts +34 -34
- package/src/proto/google/protobuf/duration.ts +2 -2
- package/src/proto/google/protobuf/empty.ts +2 -2
- package/src/proto/google/protobuf/timestamp.ts +2 -2
- package/src/proto/mock.ts +4 -4
- package/src/proto/spark.ts +1452 -185
- package/src/proto/spark_authn.ts +7 -7
- package/src/proto/spark_token.ts +1668 -105
- package/src/proto/validate/validate.ts +24 -24
- package/src/services/bolt11-spark.ts +62 -187
- package/src/services/coop-exit.ts +3 -0
- package/src/services/lrc20.ts +1 -1
- package/src/services/token-transactions.ts +197 -9
- package/src/services/transfer.ts +22 -0
- package/src/services/tree-creation.ts +13 -0
- package/src/services/wallet-config.ts +2 -2
- package/src/spark-wallet/spark-wallet.node.ts +0 -4
- package/src/spark-wallet/spark-wallet.ts +76 -108
- package/src/spark-wallet/types.ts +39 -3
- package/src/tests/bolt11-spark.test.ts +7 -15
- package/src/tests/integration/ssp/coop-exit.test.ts +7 -7
- package/src/tests/integration/swap.test.ts +453 -433
- package/src/tests/integration/transfer.test.ts +261 -248
- package/src/tests/token-identifier.test.ts +54 -0
- package/src/tests/tokens.test.ts +218 -23
- package/src/utils/token-hashing.ts +320 -44
- package/src/utils/token-identifier.ts +88 -0
- package/src/utils/token-transaction-validation.ts +350 -5
- package/src/utils/token-transactions.ts +12 -8
- package/src/utils/transaction.ts +0 -6
- package/dist/chunk-B3AMIGJG.js +0 -1073
- package/dist/index-CZmDdSts.d.cts +0 -829
- package/dist/index-ClIRO_3y.d.ts +0 -829
- package/dist/wasm-7OWFHDMS.js +0 -21
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
export { WalletConfigService } from './config.cjs';
|
|
2
|
-
export { TokenTransactionService } from './token-transactions.cjs';
|
|
2
|
+
export { FetchOwnedTokenOutputsParams, QueryTokenTransactionsParams, TokenTransactionService } from './token-transactions.cjs';
|
|
3
3
|
export { ConnectionManager } from './connection.cjs';
|
|
4
|
-
export { ConfigOptions, ELECTRS_CREDENTIALS, LOCAL_WALLET_CONFIG, LOCAL_WALLET_CONFIG_ECDSA, LOCAL_WALLET_CONFIG_SCHNORR, MAINNET_WALLET_CONFIG, REGTEST_WALLET_CONFIG, SigningOperator, getElectrsUrl, getLocalSigningOperators, getLrc20NodeUrl, getLrc20Url, getSspIdentityPublicKey, getSspSchemaEndpoint, getSspUrl } from './wallet-config.cjs';
|
|
4
|
+
export { BASE_CONFIG, ConfigOptions, ELECTRS_CREDENTIALS, LOCAL_WALLET_CONFIG, LOCAL_WALLET_CONFIG_ECDSA, LOCAL_WALLET_CONFIG_SCHNORR, MAINNET_WALLET_CONFIG, REGTEST_WALLET_CONFIG, SigningOperator, getElectrsUrl, getLocalSigningOperators, getLrc20NodeUrl, getLrc20Url, getSspIdentityPublicKey, getSspSchemaEndpoint, getSspUrl } from './wallet-config.cjs';
|
|
5
5
|
import '@buildonspark/lrc20-sdk';
|
|
6
|
-
import '../RequestLightningSendInput-
|
|
6
|
+
import '../RequestLightningSendInput-2cSh_In4.cjs';
|
|
7
7
|
import '@lightsparkdev/core';
|
|
8
8
|
import '../BitcoinNetwork-TnABML0T.cjs';
|
|
9
|
-
import '../signer-
|
|
9
|
+
import '../signer-BP6F__oR.cjs';
|
|
10
10
|
import '@scure/bip32';
|
|
11
|
-
import '../spark-
|
|
11
|
+
import '../spark-DbzGfse6.cjs';
|
|
12
12
|
import '@bufbuild/protobuf/wire';
|
|
13
13
|
import 'nice-grpc-common';
|
|
14
|
+
import '../types-C-Rp0Oo7.cjs';
|
|
14
15
|
import '@scure/btc-signer';
|
|
15
16
|
import 'bitcoinjs-lib';
|
|
16
17
|
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
17
|
-
import '../network-
|
|
18
|
+
import '../network-Css46DAz.cjs';
|
|
18
19
|
import '../proto/spark_token.cjs';
|
|
19
20
|
import 'nice-grpc';
|
|
20
21
|
import 'nice-grpc-web';
|
package/dist/services/index.d.ts
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
export { WalletConfigService } from './config.js';
|
|
2
|
-
export { TokenTransactionService } from './token-transactions.js';
|
|
2
|
+
export { FetchOwnedTokenOutputsParams, QueryTokenTransactionsParams, TokenTransactionService } from './token-transactions.js';
|
|
3
3
|
export { ConnectionManager } from './connection.js';
|
|
4
|
-
export { ConfigOptions, ELECTRS_CREDENTIALS, LOCAL_WALLET_CONFIG, LOCAL_WALLET_CONFIG_ECDSA, LOCAL_WALLET_CONFIG_SCHNORR, MAINNET_WALLET_CONFIG, REGTEST_WALLET_CONFIG, SigningOperator, getElectrsUrl, getLocalSigningOperators, getLrc20NodeUrl, getLrc20Url, getSspIdentityPublicKey, getSspSchemaEndpoint, getSspUrl } from './wallet-config.js';
|
|
4
|
+
export { BASE_CONFIG, ConfigOptions, ELECTRS_CREDENTIALS, LOCAL_WALLET_CONFIG, LOCAL_WALLET_CONFIG_ECDSA, LOCAL_WALLET_CONFIG_SCHNORR, MAINNET_WALLET_CONFIG, REGTEST_WALLET_CONFIG, SigningOperator, getElectrsUrl, getLocalSigningOperators, getLrc20NodeUrl, getLrc20Url, getSspIdentityPublicKey, getSspSchemaEndpoint, getSspUrl } from './wallet-config.js';
|
|
5
5
|
import '@buildonspark/lrc20-sdk';
|
|
6
|
-
import '../RequestLightningSendInput-
|
|
6
|
+
import '../RequestLightningSendInput-CN6BNg_g.js';
|
|
7
7
|
import '@lightsparkdev/core';
|
|
8
8
|
import '../BitcoinNetwork-TnABML0T.js';
|
|
9
|
-
import '../signer-
|
|
9
|
+
import '../signer-BVZJXcq7.js';
|
|
10
10
|
import '@scure/bip32';
|
|
11
|
-
import '../spark-
|
|
11
|
+
import '../spark-DbzGfse6.js';
|
|
12
12
|
import '@bufbuild/protobuf/wire';
|
|
13
13
|
import 'nice-grpc-common';
|
|
14
|
+
import '../types-C-Rp0Oo7.js';
|
|
14
15
|
import '@scure/btc-signer';
|
|
15
16
|
import 'bitcoinjs-lib';
|
|
16
17
|
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
17
|
-
import '../network-
|
|
18
|
+
import '../network-hynb7iTZ.js';
|
|
18
19
|
import '../proto/spark_token.js';
|
|
19
20
|
import 'nice-grpc';
|
|
20
21
|
import 'nice-grpc-web';
|
package/dist/services/index.js
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
WalletConfigService
|
|
3
|
+
} from "../chunk-HSCLBJEL.js";
|
|
4
|
+
import "../chunk-Z5HIAYFT.js";
|
|
1
5
|
import {
|
|
2
6
|
ConnectionManager
|
|
3
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-DXR2PXJU.js";
|
|
4
8
|
import {
|
|
5
9
|
TokenTransactionService
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-L3EHBOUX.js";
|
|
9
|
-
import "../chunk-KEKGSH7B.js";
|
|
10
|
-
import "../chunk-B3AMIGJG.js";
|
|
11
|
-
import {
|
|
12
|
-
WalletConfigService
|
|
13
|
-
} from "../chunk-DAXGVPVM.js";
|
|
14
|
-
import "../chunk-Z5HIAYFT.js";
|
|
10
|
+
} from "../chunk-C2S227QR.js";
|
|
11
|
+
import "../chunk-HWJWKEIU.js";
|
|
15
12
|
import {
|
|
13
|
+
BASE_CONFIG,
|
|
16
14
|
ELECTRS_CREDENTIALS,
|
|
17
15
|
LOCAL_WALLET_CONFIG,
|
|
18
16
|
LOCAL_WALLET_CONFIG_ECDSA,
|
|
@@ -26,17 +24,21 @@ import {
|
|
|
26
24
|
getSspIdentityPublicKey,
|
|
27
25
|
getSspSchemaEndpoint,
|
|
28
26
|
getSspUrl
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-4EMV7HHW.js";
|
|
28
|
+
import "../chunk-L3EHBOUX.js";
|
|
29
|
+
import "../chunk-KMUMFYFX.js";
|
|
30
|
+
import "../chunk-LHRD2WT6.js";
|
|
31
|
+
import "../chunk-N5VZVCGJ.js";
|
|
34
32
|
import "../chunk-NSJF5F5O.js";
|
|
33
|
+
import "../chunk-OFCJFZ4I.js";
|
|
35
34
|
import "../chunk-QNNSEJ4P.js";
|
|
36
35
|
import "../chunk-VTUGIIWI.js";
|
|
37
36
|
import "../chunk-GSI4OLXZ.js";
|
|
37
|
+
import "../chunk-HMLOC6TE.js";
|
|
38
|
+
import "../chunk-BGGEVUJK.js";
|
|
38
39
|
import "../chunk-MVRQ5US7.js";
|
|
39
40
|
export {
|
|
41
|
+
BASE_CONFIG,
|
|
40
42
|
ConnectionManager,
|
|
41
43
|
ELECTRS_CREDENTIALS,
|
|
42
44
|
LOCAL_WALLET_CONFIG,
|
|
@@ -240,7 +240,7 @@ init_buffer();
|
|
|
240
240
|
var import_core = require("@lightsparkdev/core");
|
|
241
241
|
var isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
|
|
242
242
|
var isBun = globalThis.Bun !== void 0;
|
|
243
|
-
var packageVersion = true ? "0.1.
|
|
243
|
+
var packageVersion = true ? "0.1.46" : "unknown";
|
|
244
244
|
var baseEnvStr = "unknown";
|
|
245
245
|
if (isBun) {
|
|
246
246
|
const bunVersion = "version" in globalThis.Bun ? globalThis.Bun.version : "unknown-version";
|
|
@@ -352,7 +352,7 @@ var Empty = {
|
|
|
352
352
|
},
|
|
353
353
|
decode(input, length) {
|
|
354
354
|
const reader = input instanceof import_wire.BinaryReader ? input : new import_wire.BinaryReader(input);
|
|
355
|
-
|
|
355
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
356
356
|
const message = createBaseEmpty();
|
|
357
357
|
while (reader.pos < end) {
|
|
358
358
|
const tag = reader.uint32();
|
|
@@ -399,7 +399,7 @@ var Timestamp = {
|
|
|
399
399
|
},
|
|
400
400
|
decode(input, length) {
|
|
401
401
|
const reader = input instanceof import_wire2.BinaryReader ? input : new import_wire2.BinaryReader(input);
|
|
402
|
-
|
|
402
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
403
403
|
const message = createBaseTimestamp();
|
|
404
404
|
while (reader.pos < end) {
|
|
405
405
|
const tag = reader.uint32();
|
|
@@ -530,7 +530,7 @@ var TokenOutputToSpend = {
|
|
|
530
530
|
},
|
|
531
531
|
decode(input, length) {
|
|
532
532
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
533
|
-
|
|
533
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
534
534
|
const message = createBaseTokenOutputToSpend();
|
|
535
535
|
while (reader.pos < end) {
|
|
536
536
|
const tag = reader.uint32();
|
|
@@ -595,7 +595,7 @@ var TokenTransferInput = {
|
|
|
595
595
|
},
|
|
596
596
|
decode(input, length) {
|
|
597
597
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
598
|
-
|
|
598
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
599
599
|
const message = createBaseTokenTransferInput();
|
|
600
600
|
while (reader.pos < end) {
|
|
601
601
|
const tag = reader.uint32();
|
|
@@ -637,7 +637,7 @@ var TokenTransferInput = {
|
|
|
637
637
|
}
|
|
638
638
|
};
|
|
639
639
|
function createBaseTokenMintInput() {
|
|
640
|
-
return { issuerPublicKey: new Uint8Array(0), issuerProvidedTimestamp: 0 };
|
|
640
|
+
return { issuerPublicKey: new Uint8Array(0), issuerProvidedTimestamp: 0, tokenIdentifier: void 0 };
|
|
641
641
|
}
|
|
642
642
|
var TokenMintInput = {
|
|
643
643
|
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
@@ -647,11 +647,14 @@ var TokenMintInput = {
|
|
|
647
647
|
if (message.issuerProvidedTimestamp !== 0) {
|
|
648
648
|
writer.uint32(16).uint64(message.issuerProvidedTimestamp);
|
|
649
649
|
}
|
|
650
|
+
if (message.tokenIdentifier !== void 0) {
|
|
651
|
+
writer.uint32(26).bytes(message.tokenIdentifier);
|
|
652
|
+
}
|
|
650
653
|
return writer;
|
|
651
654
|
},
|
|
652
655
|
decode(input, length) {
|
|
653
656
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
654
|
-
|
|
657
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
655
658
|
const message = createBaseTokenMintInput();
|
|
656
659
|
while (reader.pos < end) {
|
|
657
660
|
const tag = reader.uint32();
|
|
@@ -670,6 +673,13 @@ var TokenMintInput = {
|
|
|
670
673
|
message.issuerProvidedTimestamp = longToNumber2(reader.uint64());
|
|
671
674
|
continue;
|
|
672
675
|
}
|
|
676
|
+
case 3: {
|
|
677
|
+
if (tag !== 26) {
|
|
678
|
+
break;
|
|
679
|
+
}
|
|
680
|
+
message.tokenIdentifier = reader.bytes();
|
|
681
|
+
continue;
|
|
682
|
+
}
|
|
673
683
|
}
|
|
674
684
|
if ((tag & 7) === 4 || tag === 0) {
|
|
675
685
|
break;
|
|
@@ -681,7 +691,8 @@ var TokenMintInput = {
|
|
|
681
691
|
fromJSON(object) {
|
|
682
692
|
return {
|
|
683
693
|
issuerPublicKey: isSet2(object.issuerPublicKey) ? bytesFromBase64(object.issuerPublicKey) : new Uint8Array(0),
|
|
684
|
-
issuerProvidedTimestamp: isSet2(object.issuerProvidedTimestamp) ? globalThis.Number(object.issuerProvidedTimestamp) : 0
|
|
694
|
+
issuerProvidedTimestamp: isSet2(object.issuerProvidedTimestamp) ? globalThis.Number(object.issuerProvidedTimestamp) : 0,
|
|
695
|
+
tokenIdentifier: isSet2(object.tokenIdentifier) ? bytesFromBase64(object.tokenIdentifier) : void 0
|
|
685
696
|
};
|
|
686
697
|
},
|
|
687
698
|
toJSON(message) {
|
|
@@ -692,6 +703,9 @@ var TokenMintInput = {
|
|
|
692
703
|
if (message.issuerProvidedTimestamp !== 0) {
|
|
693
704
|
obj.issuerProvidedTimestamp = Math.round(message.issuerProvidedTimestamp);
|
|
694
705
|
}
|
|
706
|
+
if (message.tokenIdentifier !== void 0) {
|
|
707
|
+
obj.tokenIdentifier = base64FromBytes(message.tokenIdentifier);
|
|
708
|
+
}
|
|
695
709
|
return obj;
|
|
696
710
|
},
|
|
697
711
|
create(base) {
|
|
@@ -701,6 +715,158 @@ var TokenMintInput = {
|
|
|
701
715
|
const message = createBaseTokenMintInput();
|
|
702
716
|
message.issuerPublicKey = object.issuerPublicKey ?? new Uint8Array(0);
|
|
703
717
|
message.issuerProvidedTimestamp = object.issuerProvidedTimestamp ?? 0;
|
|
718
|
+
message.tokenIdentifier = object.tokenIdentifier ?? void 0;
|
|
719
|
+
return message;
|
|
720
|
+
}
|
|
721
|
+
};
|
|
722
|
+
function createBaseTokenCreateInput() {
|
|
723
|
+
return {
|
|
724
|
+
issuerPublicKey: new Uint8Array(0),
|
|
725
|
+
tokenName: "",
|
|
726
|
+
tokenTicker: "",
|
|
727
|
+
decimals: 0,
|
|
728
|
+
maxSupply: new Uint8Array(0),
|
|
729
|
+
isFreezable: false,
|
|
730
|
+
creationEntityPublicKey: void 0
|
|
731
|
+
};
|
|
732
|
+
}
|
|
733
|
+
var TokenCreateInput = {
|
|
734
|
+
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
735
|
+
if (message.issuerPublicKey.length !== 0) {
|
|
736
|
+
writer.uint32(10).bytes(message.issuerPublicKey);
|
|
737
|
+
}
|
|
738
|
+
if (message.tokenName !== "") {
|
|
739
|
+
writer.uint32(18).string(message.tokenName);
|
|
740
|
+
}
|
|
741
|
+
if (message.tokenTicker !== "") {
|
|
742
|
+
writer.uint32(26).string(message.tokenTicker);
|
|
743
|
+
}
|
|
744
|
+
if (message.decimals !== 0) {
|
|
745
|
+
writer.uint32(32).uint32(message.decimals);
|
|
746
|
+
}
|
|
747
|
+
if (message.maxSupply.length !== 0) {
|
|
748
|
+
writer.uint32(42).bytes(message.maxSupply);
|
|
749
|
+
}
|
|
750
|
+
if (message.isFreezable !== false) {
|
|
751
|
+
writer.uint32(48).bool(message.isFreezable);
|
|
752
|
+
}
|
|
753
|
+
if (message.creationEntityPublicKey !== void 0) {
|
|
754
|
+
writer.uint32(58).bytes(message.creationEntityPublicKey);
|
|
755
|
+
}
|
|
756
|
+
return writer;
|
|
757
|
+
},
|
|
758
|
+
decode(input, length) {
|
|
759
|
+
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
760
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
761
|
+
const message = createBaseTokenCreateInput();
|
|
762
|
+
while (reader.pos < end) {
|
|
763
|
+
const tag = reader.uint32();
|
|
764
|
+
switch (tag >>> 3) {
|
|
765
|
+
case 1: {
|
|
766
|
+
if (tag !== 10) {
|
|
767
|
+
break;
|
|
768
|
+
}
|
|
769
|
+
message.issuerPublicKey = reader.bytes();
|
|
770
|
+
continue;
|
|
771
|
+
}
|
|
772
|
+
case 2: {
|
|
773
|
+
if (tag !== 18) {
|
|
774
|
+
break;
|
|
775
|
+
}
|
|
776
|
+
message.tokenName = reader.string();
|
|
777
|
+
continue;
|
|
778
|
+
}
|
|
779
|
+
case 3: {
|
|
780
|
+
if (tag !== 26) {
|
|
781
|
+
break;
|
|
782
|
+
}
|
|
783
|
+
message.tokenTicker = reader.string();
|
|
784
|
+
continue;
|
|
785
|
+
}
|
|
786
|
+
case 4: {
|
|
787
|
+
if (tag !== 32) {
|
|
788
|
+
break;
|
|
789
|
+
}
|
|
790
|
+
message.decimals = reader.uint32();
|
|
791
|
+
continue;
|
|
792
|
+
}
|
|
793
|
+
case 5: {
|
|
794
|
+
if (tag !== 42) {
|
|
795
|
+
break;
|
|
796
|
+
}
|
|
797
|
+
message.maxSupply = reader.bytes();
|
|
798
|
+
continue;
|
|
799
|
+
}
|
|
800
|
+
case 6: {
|
|
801
|
+
if (tag !== 48) {
|
|
802
|
+
break;
|
|
803
|
+
}
|
|
804
|
+
message.isFreezable = reader.bool();
|
|
805
|
+
continue;
|
|
806
|
+
}
|
|
807
|
+
case 7: {
|
|
808
|
+
if (tag !== 58) {
|
|
809
|
+
break;
|
|
810
|
+
}
|
|
811
|
+
message.creationEntityPublicKey = reader.bytes();
|
|
812
|
+
continue;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
816
|
+
break;
|
|
817
|
+
}
|
|
818
|
+
reader.skip(tag & 7);
|
|
819
|
+
}
|
|
820
|
+
return message;
|
|
821
|
+
},
|
|
822
|
+
fromJSON(object) {
|
|
823
|
+
return {
|
|
824
|
+
issuerPublicKey: isSet2(object.issuerPublicKey) ? bytesFromBase64(object.issuerPublicKey) : new Uint8Array(0),
|
|
825
|
+
tokenName: isSet2(object.tokenName) ? globalThis.String(object.tokenName) : "",
|
|
826
|
+
tokenTicker: isSet2(object.tokenTicker) ? globalThis.String(object.tokenTicker) : "",
|
|
827
|
+
decimals: isSet2(object.decimals) ? globalThis.Number(object.decimals) : 0,
|
|
828
|
+
maxSupply: isSet2(object.maxSupply) ? bytesFromBase64(object.maxSupply) : new Uint8Array(0),
|
|
829
|
+
isFreezable: isSet2(object.isFreezable) ? globalThis.Boolean(object.isFreezable) : false,
|
|
830
|
+
creationEntityPublicKey: isSet2(object.creationEntityPublicKey) ? bytesFromBase64(object.creationEntityPublicKey) : void 0
|
|
831
|
+
};
|
|
832
|
+
},
|
|
833
|
+
toJSON(message) {
|
|
834
|
+
const obj = {};
|
|
835
|
+
if (message.issuerPublicKey.length !== 0) {
|
|
836
|
+
obj.issuerPublicKey = base64FromBytes(message.issuerPublicKey);
|
|
837
|
+
}
|
|
838
|
+
if (message.tokenName !== "") {
|
|
839
|
+
obj.tokenName = message.tokenName;
|
|
840
|
+
}
|
|
841
|
+
if (message.tokenTicker !== "") {
|
|
842
|
+
obj.tokenTicker = message.tokenTicker;
|
|
843
|
+
}
|
|
844
|
+
if (message.decimals !== 0) {
|
|
845
|
+
obj.decimals = Math.round(message.decimals);
|
|
846
|
+
}
|
|
847
|
+
if (message.maxSupply.length !== 0) {
|
|
848
|
+
obj.maxSupply = base64FromBytes(message.maxSupply);
|
|
849
|
+
}
|
|
850
|
+
if (message.isFreezable !== false) {
|
|
851
|
+
obj.isFreezable = message.isFreezable;
|
|
852
|
+
}
|
|
853
|
+
if (message.creationEntityPublicKey !== void 0) {
|
|
854
|
+
obj.creationEntityPublicKey = base64FromBytes(message.creationEntityPublicKey);
|
|
855
|
+
}
|
|
856
|
+
return obj;
|
|
857
|
+
},
|
|
858
|
+
create(base) {
|
|
859
|
+
return TokenCreateInput.fromPartial(base ?? {});
|
|
860
|
+
},
|
|
861
|
+
fromPartial(object) {
|
|
862
|
+
const message = createBaseTokenCreateInput();
|
|
863
|
+
message.issuerPublicKey = object.issuerPublicKey ?? new Uint8Array(0);
|
|
864
|
+
message.tokenName = object.tokenName ?? "";
|
|
865
|
+
message.tokenTicker = object.tokenTicker ?? "";
|
|
866
|
+
message.decimals = object.decimals ?? 0;
|
|
867
|
+
message.maxSupply = object.maxSupply ?? new Uint8Array(0);
|
|
868
|
+
message.isFreezable = object.isFreezable ?? false;
|
|
869
|
+
message.creationEntityPublicKey = object.creationEntityPublicKey ?? void 0;
|
|
704
870
|
return message;
|
|
705
871
|
}
|
|
706
872
|
};
|
|
@@ -711,7 +877,8 @@ function createBaseTokenOutput() {
|
|
|
711
877
|
revocationCommitment: void 0,
|
|
712
878
|
withdrawBondSats: void 0,
|
|
713
879
|
withdrawRelativeBlockLocktime: void 0,
|
|
714
|
-
tokenPublicKey:
|
|
880
|
+
tokenPublicKey: void 0,
|
|
881
|
+
tokenIdentifier: void 0,
|
|
715
882
|
tokenAmount: new Uint8Array(0)
|
|
716
883
|
};
|
|
717
884
|
}
|
|
@@ -732,9 +899,12 @@ var TokenOutput = {
|
|
|
732
899
|
if (message.withdrawRelativeBlockLocktime !== void 0) {
|
|
733
900
|
writer.uint32(40).uint64(message.withdrawRelativeBlockLocktime);
|
|
734
901
|
}
|
|
735
|
-
if (message.tokenPublicKey
|
|
902
|
+
if (message.tokenPublicKey !== void 0) {
|
|
736
903
|
writer.uint32(50).bytes(message.tokenPublicKey);
|
|
737
904
|
}
|
|
905
|
+
if (message.tokenIdentifier !== void 0) {
|
|
906
|
+
writer.uint32(66).bytes(message.tokenIdentifier);
|
|
907
|
+
}
|
|
738
908
|
if (message.tokenAmount.length !== 0) {
|
|
739
909
|
writer.uint32(58).bytes(message.tokenAmount);
|
|
740
910
|
}
|
|
@@ -742,7 +912,7 @@ var TokenOutput = {
|
|
|
742
912
|
},
|
|
743
913
|
decode(input, length) {
|
|
744
914
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
745
|
-
|
|
915
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
746
916
|
const message = createBaseTokenOutput();
|
|
747
917
|
while (reader.pos < end) {
|
|
748
918
|
const tag = reader.uint32();
|
|
@@ -789,6 +959,13 @@ var TokenOutput = {
|
|
|
789
959
|
message.tokenPublicKey = reader.bytes();
|
|
790
960
|
continue;
|
|
791
961
|
}
|
|
962
|
+
case 8: {
|
|
963
|
+
if (tag !== 66) {
|
|
964
|
+
break;
|
|
965
|
+
}
|
|
966
|
+
message.tokenIdentifier = reader.bytes();
|
|
967
|
+
continue;
|
|
968
|
+
}
|
|
792
969
|
case 7: {
|
|
793
970
|
if (tag !== 58) {
|
|
794
971
|
break;
|
|
@@ -811,7 +988,8 @@ var TokenOutput = {
|
|
|
811
988
|
revocationCommitment: isSet2(object.revocationCommitment) ? bytesFromBase64(object.revocationCommitment) : void 0,
|
|
812
989
|
withdrawBondSats: isSet2(object.withdrawBondSats) ? globalThis.Number(object.withdrawBondSats) : void 0,
|
|
813
990
|
withdrawRelativeBlockLocktime: isSet2(object.withdrawRelativeBlockLocktime) ? globalThis.Number(object.withdrawRelativeBlockLocktime) : void 0,
|
|
814
|
-
tokenPublicKey: isSet2(object.tokenPublicKey) ? bytesFromBase64(object.tokenPublicKey) :
|
|
991
|
+
tokenPublicKey: isSet2(object.tokenPublicKey) ? bytesFromBase64(object.tokenPublicKey) : void 0,
|
|
992
|
+
tokenIdentifier: isSet2(object.tokenIdentifier) ? bytesFromBase64(object.tokenIdentifier) : void 0,
|
|
815
993
|
tokenAmount: isSet2(object.tokenAmount) ? bytesFromBase64(object.tokenAmount) : new Uint8Array(0)
|
|
816
994
|
};
|
|
817
995
|
},
|
|
@@ -832,9 +1010,12 @@ var TokenOutput = {
|
|
|
832
1010
|
if (message.withdrawRelativeBlockLocktime !== void 0) {
|
|
833
1011
|
obj.withdrawRelativeBlockLocktime = Math.round(message.withdrawRelativeBlockLocktime);
|
|
834
1012
|
}
|
|
835
|
-
if (message.tokenPublicKey
|
|
1013
|
+
if (message.tokenPublicKey !== void 0) {
|
|
836
1014
|
obj.tokenPublicKey = base64FromBytes(message.tokenPublicKey);
|
|
837
1015
|
}
|
|
1016
|
+
if (message.tokenIdentifier !== void 0) {
|
|
1017
|
+
obj.tokenIdentifier = base64FromBytes(message.tokenIdentifier);
|
|
1018
|
+
}
|
|
838
1019
|
if (message.tokenAmount.length !== 0) {
|
|
839
1020
|
obj.tokenAmount = base64FromBytes(message.tokenAmount);
|
|
840
1021
|
}
|
|
@@ -850,7 +1031,8 @@ var TokenOutput = {
|
|
|
850
1031
|
message.revocationCommitment = object.revocationCommitment ?? void 0;
|
|
851
1032
|
message.withdrawBondSats = object.withdrawBondSats ?? void 0;
|
|
852
1033
|
message.withdrawRelativeBlockLocktime = object.withdrawRelativeBlockLocktime ?? void 0;
|
|
853
|
-
message.tokenPublicKey = object.tokenPublicKey ??
|
|
1034
|
+
message.tokenPublicKey = object.tokenPublicKey ?? void 0;
|
|
1035
|
+
message.tokenIdentifier = object.tokenIdentifier ?? void 0;
|
|
854
1036
|
message.tokenAmount = object.tokenAmount ?? new Uint8Array(0);
|
|
855
1037
|
return message;
|
|
856
1038
|
}
|
|
@@ -867,6 +1049,9 @@ var TokenTransaction = {
|
|
|
867
1049
|
case "transferInput":
|
|
868
1050
|
TokenTransferInput.encode(message.tokenInputs.transferInput, writer.uint32(18).fork()).join();
|
|
869
1051
|
break;
|
|
1052
|
+
case "createInput":
|
|
1053
|
+
TokenCreateInput.encode(message.tokenInputs.createInput, writer.uint32(42).fork()).join();
|
|
1054
|
+
break;
|
|
870
1055
|
}
|
|
871
1056
|
for (const v of message.tokenOutputs) {
|
|
872
1057
|
TokenOutput.encode(v, writer.uint32(26).fork()).join();
|
|
@@ -881,7 +1066,7 @@ var TokenTransaction = {
|
|
|
881
1066
|
},
|
|
882
1067
|
decode(input, length) {
|
|
883
1068
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
884
|
-
|
|
1069
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
885
1070
|
const message = createBaseTokenTransaction();
|
|
886
1071
|
while (reader.pos < end) {
|
|
887
1072
|
const tag = reader.uint32();
|
|
@@ -903,6 +1088,13 @@ var TokenTransaction = {
|
|
|
903
1088
|
};
|
|
904
1089
|
continue;
|
|
905
1090
|
}
|
|
1091
|
+
case 5: {
|
|
1092
|
+
if (tag !== 42) {
|
|
1093
|
+
break;
|
|
1094
|
+
}
|
|
1095
|
+
message.tokenInputs = { $case: "createInput", createInput: TokenCreateInput.decode(reader, reader.uint32()) };
|
|
1096
|
+
continue;
|
|
1097
|
+
}
|
|
906
1098
|
case 3: {
|
|
907
1099
|
if (tag !== 26) {
|
|
908
1100
|
break;
|
|
@@ -934,7 +1126,7 @@ var TokenTransaction = {
|
|
|
934
1126
|
},
|
|
935
1127
|
fromJSON(object) {
|
|
936
1128
|
return {
|
|
937
|
-
tokenInputs: isSet2(object.mintInput) ? { $case: "mintInput", mintInput: TokenMintInput.fromJSON(object.mintInput) } : isSet2(object.transferInput) ? { $case: "transferInput", transferInput: TokenTransferInput.fromJSON(object.transferInput) } : void 0,
|
|
1129
|
+
tokenInputs: isSet2(object.mintInput) ? { $case: "mintInput", mintInput: TokenMintInput.fromJSON(object.mintInput) } : isSet2(object.transferInput) ? { $case: "transferInput", transferInput: TokenTransferInput.fromJSON(object.transferInput) } : isSet2(object.createInput) ? { $case: "createInput", createInput: TokenCreateInput.fromJSON(object.createInput) } : void 0,
|
|
938
1130
|
tokenOutputs: globalThis.Array.isArray(object?.tokenOutputs) ? object.tokenOutputs.map((e) => TokenOutput.fromJSON(e)) : [],
|
|
939
1131
|
sparkOperatorIdentityPublicKeys: globalThis.Array.isArray(object?.sparkOperatorIdentityPublicKeys) ? object.sparkOperatorIdentityPublicKeys.map((e) => bytesFromBase64(e)) : [],
|
|
940
1132
|
network: isSet2(object.network) ? networkFromJSON(object.network) : 0
|
|
@@ -946,6 +1138,8 @@ var TokenTransaction = {
|
|
|
946
1138
|
obj.mintInput = TokenMintInput.toJSON(message.tokenInputs.mintInput);
|
|
947
1139
|
} else if (message.tokenInputs?.$case === "transferInput") {
|
|
948
1140
|
obj.transferInput = TokenTransferInput.toJSON(message.tokenInputs.transferInput);
|
|
1141
|
+
} else if (message.tokenInputs?.$case === "createInput") {
|
|
1142
|
+
obj.createInput = TokenCreateInput.toJSON(message.tokenInputs.createInput);
|
|
949
1143
|
}
|
|
950
1144
|
if (message.tokenOutputs?.length) {
|
|
951
1145
|
obj.tokenOutputs = message.tokenOutputs.map((e) => TokenOutput.toJSON(e));
|
|
@@ -982,6 +1176,15 @@ var TokenTransaction = {
|
|
|
982
1176
|
}
|
|
983
1177
|
break;
|
|
984
1178
|
}
|
|
1179
|
+
case "createInput": {
|
|
1180
|
+
if (object.tokenInputs?.createInput !== void 0 && object.tokenInputs?.createInput !== null) {
|
|
1181
|
+
message.tokenInputs = {
|
|
1182
|
+
$case: "createInput",
|
|
1183
|
+
createInput: TokenCreateInput.fromPartial(object.tokenInputs.createInput)
|
|
1184
|
+
};
|
|
1185
|
+
}
|
|
1186
|
+
break;
|
|
1187
|
+
}
|
|
985
1188
|
}
|
|
986
1189
|
message.tokenOutputs = object.tokenOutputs?.map((e) => TokenOutput.fromPartial(e)) || [];
|
|
987
1190
|
message.sparkOperatorIdentityPublicKeys = object.sparkOperatorIdentityPublicKeys?.map((e) => e) || [];
|
|
@@ -1004,7 +1207,7 @@ var SignatureWithIndex = {
|
|
|
1004
1207
|
},
|
|
1005
1208
|
decode(input, length) {
|
|
1006
1209
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1007
|
-
|
|
1210
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1008
1211
|
const message = createBaseSignatureWithIndex();
|
|
1009
1212
|
while (reader.pos < end) {
|
|
1010
1213
|
const tag = reader.uint32();
|
|
@@ -1072,7 +1275,7 @@ var OperatorSpecificTokenTransactionSignablePayload = {
|
|
|
1072
1275
|
},
|
|
1073
1276
|
decode(input, length) {
|
|
1074
1277
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1075
|
-
|
|
1278
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1076
1279
|
const message = createBaseOperatorSpecificTokenTransactionSignablePayload();
|
|
1077
1280
|
while (reader.pos < end) {
|
|
1078
1281
|
const tag = reader.uint32();
|
|
@@ -1140,7 +1343,7 @@ var OperatorSpecificOwnerSignature = {
|
|
|
1140
1343
|
},
|
|
1141
1344
|
decode(input, length) {
|
|
1142
1345
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1143
|
-
|
|
1346
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1144
1347
|
const message = createBaseOperatorSpecificOwnerSignature();
|
|
1145
1348
|
while (reader.pos < end) {
|
|
1146
1349
|
const tag = reader.uint32();
|
|
@@ -1208,7 +1411,7 @@ var RevocationSecretWithIndex = {
|
|
|
1208
1411
|
},
|
|
1209
1412
|
decode(input, length) {
|
|
1210
1413
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1211
|
-
|
|
1414
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1212
1415
|
const message = createBaseRevocationSecretWithIndex();
|
|
1213
1416
|
while (reader.pos < end) {
|
|
1214
1417
|
const tag = reader.uint32();
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { SparkServiceClient } from '../proto/lrc20.cjs';
|
|
2
2
|
import { WalletConfigService } from './config.cjs';
|
|
3
|
-
import '../spark-
|
|
3
|
+
import '../spark-DbzGfse6.cjs';
|
|
4
4
|
import '@bufbuild/protobuf/wire';
|
|
5
5
|
import 'nice-grpc-common';
|
|
6
6
|
import '@buildonspark/lrc20-sdk';
|
|
7
|
-
import '../RequestLightningSendInput-
|
|
7
|
+
import '../RequestLightningSendInput-2cSh_In4.cjs';
|
|
8
8
|
import '@lightsparkdev/core';
|
|
9
9
|
import '../BitcoinNetwork-TnABML0T.cjs';
|
|
10
|
-
import '../signer-
|
|
10
|
+
import '../signer-BP6F__oR.cjs';
|
|
11
11
|
import '@scure/bip32';
|
|
12
|
+
import '../types-C-Rp0Oo7.cjs';
|
|
12
13
|
import '@scure/btc-signer';
|
|
13
14
|
import 'bitcoinjs-lib';
|
|
14
15
|
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
15
|
-
import '../network-
|
|
16
|
+
import '../network-Css46DAz.cjs';
|
|
16
17
|
import './wallet-config.cjs';
|
|
17
18
|
|
|
18
19
|
declare class Lrc20ConnectionManager {
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { SparkServiceClient } from '../proto/lrc20.js';
|
|
2
2
|
import { WalletConfigService } from './config.js';
|
|
3
|
-
import '../spark-
|
|
3
|
+
import '../spark-DbzGfse6.js';
|
|
4
4
|
import '@bufbuild/protobuf/wire';
|
|
5
5
|
import 'nice-grpc-common';
|
|
6
6
|
import '@buildonspark/lrc20-sdk';
|
|
7
|
-
import '../RequestLightningSendInput-
|
|
7
|
+
import '../RequestLightningSendInput-CN6BNg_g.js';
|
|
8
8
|
import '@lightsparkdev/core';
|
|
9
9
|
import '../BitcoinNetwork-TnABML0T.js';
|
|
10
|
-
import '../signer-
|
|
10
|
+
import '../signer-BVZJXcq7.js';
|
|
11
11
|
import '@scure/bip32';
|
|
12
|
+
import '../types-C-Rp0Oo7.js';
|
|
12
13
|
import '@scure/btc-signer';
|
|
13
14
|
import 'bitcoinjs-lib';
|
|
14
15
|
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
15
|
-
import '../network-
|
|
16
|
+
import '../network-hynb7iTZ.js';
|
|
16
17
|
import './wallet-config.js';
|
|
17
18
|
|
|
18
19
|
declare class Lrc20ConnectionManager {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Lrc20ConnectionManager
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-UBT6EDVJ.js";
|
|
3
|
+
} from "../chunk-HHNQ3ZHC.js";
|
|
4
|
+
import "../chunk-NTFKFRQ2.js";
|
|
5
|
+
import "../chunk-OFCJFZ4I.js";
|
|
7
6
|
import "../chunk-GSI4OLXZ.js";
|
|
7
|
+
import "../chunk-BGGEVUJK.js";
|
|
8
8
|
import "../chunk-MVRQ5US7.js";
|
|
9
9
|
export {
|
|
10
10
|
Lrc20ConnectionManager
|