@buildonspark/spark-sdk 0.1.45 → 0.1.47
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 +22 -0
- package/dist/{chunk-I54FARY2.js → chunk-EAP3U3CW.js} +14 -14
- package/dist/chunk-GWFQ7EBA.js +3773 -0
- package/dist/{chunk-J2IE4Z7Y.js → chunk-NNX4OK44.js} +3487 -934
- package/dist/{RequestLightningSendInput-Du0z7Om7.d.cts → client-CvpTRpcw.d.cts} +422 -212
- package/dist/{RequestLightningSendInput-DEPd_fPO.d.ts → client-D7KgLN44.d.ts} +422 -212
- package/dist/graphql/objects/index.d.cts +5 -9
- package/dist/graphql/objects/index.d.ts +5 -9
- package/dist/graphql/objects/index.js +1 -1
- package/dist/index.cjs +20461 -23377
- package/dist/index.d.cts +15 -769
- package/dist/index.d.ts +15 -769
- package/dist/index.js +81 -71
- package/dist/index.node.cjs +21994 -25018
- package/dist/index.node.d.cts +312 -34
- package/dist/index.node.d.ts +312 -34
- package/dist/index.node.js +82 -176
- package/dist/native/index.cjs +22847 -25841
- package/dist/native/index.d.cts +974 -1138
- package/dist/native/index.d.ts +974 -1138
- package/dist/native/index.js +10604 -13592
- package/dist/proto/lrc20.d.cts +2 -2
- package/dist/proto/lrc20.d.ts +2 -2
- package/dist/proto/lrc20.js +3098 -46
- package/dist/proto/spark.d.cts +1 -1
- package/dist/proto/spark.d.ts +1 -1
- package/dist/proto/spark_token.d.cts +1 -1
- package/dist/proto/spark_token.d.ts +1 -1
- package/dist/{sdk-types-Cc4l4kb1.d.ts → sdk-types-BGCeea0G.d.ts} +1 -1
- package/dist/{sdk-types-B0SwjolI.d.cts → sdk-types-XUeQMLFP.d.cts} +1 -1
- package/dist/{spark-dM7EYXYQ.d.cts → spark-BbUrbvZz.d.cts} +1 -1
- package/dist/{spark-dM7EYXYQ.d.ts → spark-BbUrbvZz.d.ts} +1 -1
- package/dist/spark-wallet-BAFPpPtY.d.cts +923 -0
- package/dist/spark-wallet-CJkQW8pK.d.ts +923 -0
- package/dist/spark_bindings/native/index.d.cts +1 -1
- package/dist/spark_bindings/native/index.d.ts +1 -1
- package/dist/spark_bindings/wasm/index.d.cts +1 -1
- package/dist/spark_bindings/wasm/index.d.ts +1 -1
- package/dist/{services/index.cjs → tests/test-utils.cjs} +2512 -4380
- package/dist/tests/test-utils.d.cts +79 -0
- package/dist/tests/test-utils.d.ts +79 -0
- package/dist/tests/test-utils.js +85 -0
- package/dist/types/index.d.cts +5 -9
- package/dist/types/index.d.ts +5 -9
- package/dist/types/index.js +5 -5
- package/dist/{types-C-Rp0Oo7.d.cts → types-BADxR3bm.d.cts} +1 -1
- package/dist/{types-C-Rp0Oo7.d.ts → types-BADxR3bm.d.ts} +1 -1
- package/package.json +7 -35
- package/src/graphql/client.ts +59 -20
- package/src/index.node.ts +28 -2
- package/src/index.ts +31 -1
- package/src/native/index.ts +16 -2
- package/src/services/config.ts +4 -6
- package/src/services/connection.ts +131 -64
- package/src/services/lightning.ts +1 -2
- package/src/services/token-transactions.ts +7 -7
- package/src/services/transfer.ts +1 -1
- package/src/services/tree-creation.ts +1 -1
- package/src/services/wallet-config.ts +18 -10
- package/src/signer/signer.react-native.ts +2 -5
- package/src/signer/signer.ts +138 -64
- package/src/signer/types.ts +52 -0
- package/src/spark-wallet/spark-wallet.ts +79 -36
- package/src/spark-wallet/types.ts +4 -4
- package/src/tests/integration/coop-exit.test.ts +2 -1
- package/src/tests/integration/lightning.test.ts +2 -2
- package/src/tests/integration/swap.test.ts +1 -1
- package/src/tests/integration/transfer.test.ts +5 -5
- package/src/tests/integration/tree-creation.test.ts +1 -1
- package/src/tests/integration/wallet.test.ts +1 -0
- package/src/tests/isHermeticTest.ts +3 -24
- package/src/tests/{test-util.ts → test-utils.ts} +3 -7
- package/src/tests/wrapWithOtelSpan.test.ts +1 -1
- package/src/{address → utils}/address.ts +1 -1
- package/src/utils/crypto.ts +19 -9
- package/src/utils/index.ts +2 -0
- package/src/utils/network.ts +17 -0
- package/src/utils/secret-sharing.ts +1 -2
- package/src/utils/signing.ts +1 -1
- package/src/utils/token-transactions.ts +3 -3
- package/src/utils/unilateral-exit.ts +32 -0
- package/src/utils/xchain-address.ts +1 -1
- package/dist/BitcoinNetwork-TnABML0T.d.cts +0 -18
- package/dist/BitcoinNetwork-TnABML0T.d.ts +0 -18
- package/dist/LightningSendFeeEstimateInput-BgOhEAI-.d.cts +0 -10
- package/dist/LightningSendFeeEstimateInput-BgOhEAI-.d.ts +0 -10
- package/dist/address/index.cjs +0 -458
- package/dist/address/index.d.cts +0 -32
- package/dist/address/index.d.ts +0 -32
- package/dist/address/index.js +0 -17
- package/dist/chunk-5FUB65LX.js +0 -838
- package/dist/chunk-6264CGDM.js +0 -113
- package/dist/chunk-7V6N75CC.js +0 -24
- package/dist/chunk-C2S227QR.js +0 -2336
- package/dist/chunk-GSI4OLXZ.js +0 -117
- package/dist/chunk-GZ5IPPJ2.js +0 -170
- package/dist/chunk-HWJWKEIU.js +0 -75
- package/dist/chunk-KMUMFYFX.js +0 -137
- package/dist/chunk-L3EHBOUX.js +0 -0
- package/dist/chunk-NSJF5F5O.js +0 -325
- package/dist/chunk-NTFKFRQ2.js +0 -3146
- package/dist/chunk-PQN3C2MF.js +0 -1122
- package/dist/chunk-QNNSEJ4P.js +0 -232
- package/dist/chunk-R5PXJZQS.js +0 -277
- package/dist/chunk-VTUGIIWI.js +0 -0
- package/dist/chunk-YUPMXTCJ.js +0 -622
- package/dist/chunk-Z5HIAYFT.js +0 -84
- package/dist/index-B2AwKW5J.d.cts +0 -214
- package/dist/index-CJDi1HWc.d.ts +0 -214
- package/dist/network-BTJl-Sul.d.ts +0 -46
- package/dist/network-CqgsdUF2.d.cts +0 -46
- package/dist/services/config.cjs +0 -2354
- package/dist/services/config.d.cts +0 -42
- package/dist/services/config.d.ts +0 -42
- package/dist/services/config.js +0 -17
- package/dist/services/connection.cjs +0 -17691
- package/dist/services/connection.d.cts +0 -95
- package/dist/services/connection.d.ts +0 -95
- package/dist/services/connection.js +0 -11
- package/dist/services/index.d.cts +0 -21
- package/dist/services/index.d.ts +0 -21
- package/dist/services/index.js +0 -58
- package/dist/services/lrc-connection.cjs +0 -4713
- package/dist/services/lrc-connection.d.cts +0 -34
- package/dist/services/lrc-connection.d.ts +0 -34
- package/dist/services/lrc-connection.js +0 -11
- package/dist/services/token-transactions.cjs +0 -2877
- package/dist/services/token-transactions.d.cts +0 -75
- package/dist/services/token-transactions.d.ts +0 -75
- package/dist/services/token-transactions.js +0 -15
- package/dist/services/wallet-config.cjs +0 -340
- package/dist/services/wallet-config.d.cts +0 -56
- package/dist/services/wallet-config.d.ts +0 -56
- package/dist/services/wallet-config.js +0 -33
- package/dist/signer/signer.cjs +0 -2004
- package/dist/signer/signer.d.cts +0 -10
- package/dist/signer/signer.d.ts +0 -10
- package/dist/signer/signer.js +0 -24
- package/dist/signer-BocS_J6B.d.ts +0 -187
- package/dist/signer-DKS0AJkw.d.cts +0 -187
- package/dist/utils/index.cjs +0 -2947
- package/dist/utils/index.d.cts +0 -18
- package/dist/utils/index.d.ts +0 -18
- package/dist/utils/index.js +0 -157
- package/src/address/index.ts +0 -1
- package/src/services/lrc-connection.ts +0 -215
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { Channel } from 'nice-grpc';
|
|
2
|
-
import { Channel as Channel$1 } from 'nice-grpc-web';
|
|
3
|
-
import { E as Empty, g as SparkServiceClient } from '../spark-dM7EYXYQ.cjs';
|
|
4
|
-
import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
|
|
5
|
-
import { CallOptions } from 'nice-grpc-common';
|
|
6
|
-
import { WalletConfigService } from './config.cjs';
|
|
7
|
-
import { SparkTokenServiceClient } from '../proto/spark_token.cjs';
|
|
8
|
-
import '@buildonspark/lrc20-sdk';
|
|
9
|
-
import '../RequestLightningSendInput-Du0z7Om7.cjs';
|
|
10
|
-
import '@lightsparkdev/core';
|
|
11
|
-
import '../BitcoinNetwork-TnABML0T.cjs';
|
|
12
|
-
import '../signer-DKS0AJkw.cjs';
|
|
13
|
-
import '@scure/bip32';
|
|
14
|
-
import '../types-C-Rp0Oo7.cjs';
|
|
15
|
-
import '@scure/btc-signer';
|
|
16
|
-
import 'bitcoinjs-lib';
|
|
17
|
-
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
18
|
-
import '../network-CqgsdUF2.cjs';
|
|
19
|
-
import './wallet-config.cjs';
|
|
20
|
-
|
|
21
|
-
declare enum InterruptTransferRequest_InterruptTransferAction {
|
|
22
|
-
NONE = 0,
|
|
23
|
-
INTERRUPT = 1,
|
|
24
|
-
RESUME = 2,
|
|
25
|
-
UNRECOGNIZED = -1
|
|
26
|
-
}
|
|
27
|
-
interface CleanUpPreimageShareRequest {
|
|
28
|
-
paymentHash: Uint8Array;
|
|
29
|
-
}
|
|
30
|
-
declare const CleanUpPreimageShareRequest: MessageFns<CleanUpPreimageShareRequest>;
|
|
31
|
-
interface InterruptTransferRequest {
|
|
32
|
-
action: InterruptTransferRequest_InterruptTransferAction;
|
|
33
|
-
}
|
|
34
|
-
declare const InterruptTransferRequest: MessageFns<InterruptTransferRequest>;
|
|
35
|
-
interface UpdateNodesStatusRequest {
|
|
36
|
-
nodeIds: string[];
|
|
37
|
-
status: string;
|
|
38
|
-
}
|
|
39
|
-
declare const UpdateNodesStatusRequest: MessageFns<UpdateNodesStatusRequest>;
|
|
40
|
-
interface MockServiceClient<CallOptionsExt = {}> {
|
|
41
|
-
clean_up_preimage_share(request: DeepPartial<CleanUpPreimageShareRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
42
|
-
interrupt_transfer(request: DeepPartial<InterruptTransferRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
43
|
-
update_nodes_status(request: DeepPartial<UpdateNodesStatusRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
44
|
-
}
|
|
45
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
46
|
-
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 {
|
|
47
|
-
$case: string;
|
|
48
|
-
} ? {
|
|
49
|
-
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
50
|
-
} & {
|
|
51
|
-
$case: T["$case"];
|
|
52
|
-
} : T extends {} ? {
|
|
53
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
54
|
-
} : Partial<T>;
|
|
55
|
-
interface MessageFns<T> {
|
|
56
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
57
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
58
|
-
fromJSON(object: any): T;
|
|
59
|
-
toJSON(message: T): unknown;
|
|
60
|
-
create(base?: DeepPartial<T>): T;
|
|
61
|
-
fromPartial(object: DeepPartial<T>): T;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
declare class ConnectionManager {
|
|
65
|
-
private config;
|
|
66
|
-
private clients;
|
|
67
|
-
private tokenClients;
|
|
68
|
-
private streamClients;
|
|
69
|
-
constructor(config: WalletConfigService);
|
|
70
|
-
createClients(): Promise<void>;
|
|
71
|
-
closeConnections(): Promise<void>;
|
|
72
|
-
createMockClient(address: string): Promise<MockServiceClient & {
|
|
73
|
-
close: () => void;
|
|
74
|
-
}>;
|
|
75
|
-
private createChannelWithTLS;
|
|
76
|
-
createSparkStreamClient(address: string, certPath?: string): Promise<SparkServiceClient & {
|
|
77
|
-
close?: () => void;
|
|
78
|
-
}>;
|
|
79
|
-
createSparkClient(address: string, certPath?: string): Promise<SparkServiceClient & {
|
|
80
|
-
close?: () => void;
|
|
81
|
-
}>;
|
|
82
|
-
createSparkTokenClient(address: string, certPath?: string): Promise<SparkTokenServiceClient & {
|
|
83
|
-
close?: () => void;
|
|
84
|
-
}>;
|
|
85
|
-
getStreamChannel(address: string): Promise<Channel | Channel$1 | undefined>;
|
|
86
|
-
private authenticate;
|
|
87
|
-
private createSparkAuthnGrpcConnection;
|
|
88
|
-
private createAuthnMiddleware;
|
|
89
|
-
private createMiddleware;
|
|
90
|
-
private createNodeMiddleware;
|
|
91
|
-
private createBrowserMiddleware;
|
|
92
|
-
private createGrpcClient;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export { ConnectionManager };
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { Channel } from 'nice-grpc';
|
|
2
|
-
import { Channel as Channel$1 } from 'nice-grpc-web';
|
|
3
|
-
import { E as Empty, g as SparkServiceClient } from '../spark-dM7EYXYQ.js';
|
|
4
|
-
import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
|
|
5
|
-
import { CallOptions } from 'nice-grpc-common';
|
|
6
|
-
import { WalletConfigService } from './config.js';
|
|
7
|
-
import { SparkTokenServiceClient } from '../proto/spark_token.js';
|
|
8
|
-
import '@buildonspark/lrc20-sdk';
|
|
9
|
-
import '../RequestLightningSendInput-DEPd_fPO.js';
|
|
10
|
-
import '@lightsparkdev/core';
|
|
11
|
-
import '../BitcoinNetwork-TnABML0T.js';
|
|
12
|
-
import '../signer-BocS_J6B.js';
|
|
13
|
-
import '@scure/bip32';
|
|
14
|
-
import '../types-C-Rp0Oo7.js';
|
|
15
|
-
import '@scure/btc-signer';
|
|
16
|
-
import 'bitcoinjs-lib';
|
|
17
|
-
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
18
|
-
import '../network-BTJl-Sul.js';
|
|
19
|
-
import './wallet-config.js';
|
|
20
|
-
|
|
21
|
-
declare enum InterruptTransferRequest_InterruptTransferAction {
|
|
22
|
-
NONE = 0,
|
|
23
|
-
INTERRUPT = 1,
|
|
24
|
-
RESUME = 2,
|
|
25
|
-
UNRECOGNIZED = -1
|
|
26
|
-
}
|
|
27
|
-
interface CleanUpPreimageShareRequest {
|
|
28
|
-
paymentHash: Uint8Array;
|
|
29
|
-
}
|
|
30
|
-
declare const CleanUpPreimageShareRequest: MessageFns<CleanUpPreimageShareRequest>;
|
|
31
|
-
interface InterruptTransferRequest {
|
|
32
|
-
action: InterruptTransferRequest_InterruptTransferAction;
|
|
33
|
-
}
|
|
34
|
-
declare const InterruptTransferRequest: MessageFns<InterruptTransferRequest>;
|
|
35
|
-
interface UpdateNodesStatusRequest {
|
|
36
|
-
nodeIds: string[];
|
|
37
|
-
status: string;
|
|
38
|
-
}
|
|
39
|
-
declare const UpdateNodesStatusRequest: MessageFns<UpdateNodesStatusRequest>;
|
|
40
|
-
interface MockServiceClient<CallOptionsExt = {}> {
|
|
41
|
-
clean_up_preimage_share(request: DeepPartial<CleanUpPreimageShareRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
42
|
-
interrupt_transfer(request: DeepPartial<InterruptTransferRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
43
|
-
update_nodes_status(request: DeepPartial<UpdateNodesStatusRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
44
|
-
}
|
|
45
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
46
|
-
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 {
|
|
47
|
-
$case: string;
|
|
48
|
-
} ? {
|
|
49
|
-
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
50
|
-
} & {
|
|
51
|
-
$case: T["$case"];
|
|
52
|
-
} : T extends {} ? {
|
|
53
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
54
|
-
} : Partial<T>;
|
|
55
|
-
interface MessageFns<T> {
|
|
56
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
57
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
58
|
-
fromJSON(object: any): T;
|
|
59
|
-
toJSON(message: T): unknown;
|
|
60
|
-
create(base?: DeepPartial<T>): T;
|
|
61
|
-
fromPartial(object: DeepPartial<T>): T;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
declare class ConnectionManager {
|
|
65
|
-
private config;
|
|
66
|
-
private clients;
|
|
67
|
-
private tokenClients;
|
|
68
|
-
private streamClients;
|
|
69
|
-
constructor(config: WalletConfigService);
|
|
70
|
-
createClients(): Promise<void>;
|
|
71
|
-
closeConnections(): Promise<void>;
|
|
72
|
-
createMockClient(address: string): Promise<MockServiceClient & {
|
|
73
|
-
close: () => void;
|
|
74
|
-
}>;
|
|
75
|
-
private createChannelWithTLS;
|
|
76
|
-
createSparkStreamClient(address: string, certPath?: string): Promise<SparkServiceClient & {
|
|
77
|
-
close?: () => void;
|
|
78
|
-
}>;
|
|
79
|
-
createSparkClient(address: string, certPath?: string): Promise<SparkServiceClient & {
|
|
80
|
-
close?: () => void;
|
|
81
|
-
}>;
|
|
82
|
-
createSparkTokenClient(address: string, certPath?: string): Promise<SparkTokenServiceClient & {
|
|
83
|
-
close?: () => void;
|
|
84
|
-
}>;
|
|
85
|
-
getStreamChannel(address: string): Promise<Channel | Channel$1 | undefined>;
|
|
86
|
-
private authenticate;
|
|
87
|
-
private createSparkAuthnGrpcConnection;
|
|
88
|
-
private createAuthnMiddleware;
|
|
89
|
-
private createMiddleware;
|
|
90
|
-
private createNodeMiddleware;
|
|
91
|
-
private createBrowserMiddleware;
|
|
92
|
-
private createGrpcClient;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export { ConnectionManager };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ConnectionManager
|
|
3
|
-
} from "../chunk-PQN3C2MF.js";
|
|
4
|
-
import "../chunk-LHRD2WT6.js";
|
|
5
|
-
import "../chunk-7V6N75CC.js";
|
|
6
|
-
import "../chunk-GSI4OLXZ.js";
|
|
7
|
-
import "../chunk-BGGEVUJK.js";
|
|
8
|
-
import "../chunk-MVRQ5US7.js";
|
|
9
|
-
export {
|
|
10
|
-
ConnectionManager
|
|
11
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export { WalletConfigService } from './config.cjs';
|
|
2
|
-
export { FetchOwnedTokenOutputsParams, QueryTokenTransactionsParams, TokenTransactionService } from './token-transactions.cjs';
|
|
3
|
-
export { ConnectionManager } from './connection.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
|
-
import '@buildonspark/lrc20-sdk';
|
|
6
|
-
import '../RequestLightningSendInput-Du0z7Om7.cjs';
|
|
7
|
-
import '@lightsparkdev/core';
|
|
8
|
-
import '../BitcoinNetwork-TnABML0T.cjs';
|
|
9
|
-
import '../signer-DKS0AJkw.cjs';
|
|
10
|
-
import '@scure/bip32';
|
|
11
|
-
import '../spark-dM7EYXYQ.cjs';
|
|
12
|
-
import '@bufbuild/protobuf/wire';
|
|
13
|
-
import 'nice-grpc-common';
|
|
14
|
-
import '../types-C-Rp0Oo7.cjs';
|
|
15
|
-
import '@scure/btc-signer';
|
|
16
|
-
import 'bitcoinjs-lib';
|
|
17
|
-
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
18
|
-
import '../network-CqgsdUF2.cjs';
|
|
19
|
-
import '../proto/spark_token.cjs';
|
|
20
|
-
import 'nice-grpc';
|
|
21
|
-
import 'nice-grpc-web';
|
package/dist/services/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export { WalletConfigService } from './config.js';
|
|
2
|
-
export { FetchOwnedTokenOutputsParams, QueryTokenTransactionsParams, TokenTransactionService } from './token-transactions.js';
|
|
3
|
-
export { ConnectionManager } from './connection.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
|
-
import '@buildonspark/lrc20-sdk';
|
|
6
|
-
import '../RequestLightningSendInput-DEPd_fPO.js';
|
|
7
|
-
import '@lightsparkdev/core';
|
|
8
|
-
import '../BitcoinNetwork-TnABML0T.js';
|
|
9
|
-
import '../signer-BocS_J6B.js';
|
|
10
|
-
import '@scure/bip32';
|
|
11
|
-
import '../spark-dM7EYXYQ.js';
|
|
12
|
-
import '@bufbuild/protobuf/wire';
|
|
13
|
-
import 'nice-grpc-common';
|
|
14
|
-
import '../types-C-Rp0Oo7.js';
|
|
15
|
-
import '@scure/btc-signer';
|
|
16
|
-
import 'bitcoinjs-lib';
|
|
17
|
-
import '@buildonspark/lrc20-sdk/lrc/types';
|
|
18
|
-
import '../network-BTJl-Sul.js';
|
|
19
|
-
import '../proto/spark_token.js';
|
|
20
|
-
import 'nice-grpc';
|
|
21
|
-
import 'nice-grpc-web';
|
package/dist/services/index.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TokenTransactionService
|
|
3
|
-
} from "../chunk-C2S227QR.js";
|
|
4
|
-
import "../chunk-HWJWKEIU.js";
|
|
5
|
-
import "../chunk-L3EHBOUX.js";
|
|
6
|
-
import "../chunk-KMUMFYFX.js";
|
|
7
|
-
import {
|
|
8
|
-
WalletConfigService
|
|
9
|
-
} from "../chunk-6264CGDM.js";
|
|
10
|
-
import "../chunk-YUPMXTCJ.js";
|
|
11
|
-
import "../chunk-Z5HIAYFT.js";
|
|
12
|
-
import {
|
|
13
|
-
BASE_CONFIG,
|
|
14
|
-
ELECTRS_CREDENTIALS,
|
|
15
|
-
LOCAL_WALLET_CONFIG,
|
|
16
|
-
LOCAL_WALLET_CONFIG_ECDSA,
|
|
17
|
-
LOCAL_WALLET_CONFIG_SCHNORR,
|
|
18
|
-
MAINNET_WALLET_CONFIG,
|
|
19
|
-
REGTEST_WALLET_CONFIG,
|
|
20
|
-
getElectrsUrl,
|
|
21
|
-
getLocalSigningOperators,
|
|
22
|
-
getLrc20NodeUrl,
|
|
23
|
-
getLrc20Url,
|
|
24
|
-
getSspIdentityPublicKey,
|
|
25
|
-
getSspSchemaEndpoint,
|
|
26
|
-
getSspUrl
|
|
27
|
-
} from "../chunk-R5PXJZQS.js";
|
|
28
|
-
import "../chunk-NSJF5F5O.js";
|
|
29
|
-
import "../chunk-QNNSEJ4P.js";
|
|
30
|
-
import "../chunk-HMLOC6TE.js";
|
|
31
|
-
import "../chunk-VTUGIIWI.js";
|
|
32
|
-
import {
|
|
33
|
-
ConnectionManager
|
|
34
|
-
} from "../chunk-PQN3C2MF.js";
|
|
35
|
-
import "../chunk-LHRD2WT6.js";
|
|
36
|
-
import "../chunk-7V6N75CC.js";
|
|
37
|
-
import "../chunk-GSI4OLXZ.js";
|
|
38
|
-
import "../chunk-BGGEVUJK.js";
|
|
39
|
-
import "../chunk-MVRQ5US7.js";
|
|
40
|
-
export {
|
|
41
|
-
BASE_CONFIG,
|
|
42
|
-
ConnectionManager,
|
|
43
|
-
ELECTRS_CREDENTIALS,
|
|
44
|
-
LOCAL_WALLET_CONFIG,
|
|
45
|
-
LOCAL_WALLET_CONFIG_ECDSA,
|
|
46
|
-
LOCAL_WALLET_CONFIG_SCHNORR,
|
|
47
|
-
MAINNET_WALLET_CONFIG,
|
|
48
|
-
REGTEST_WALLET_CONFIG,
|
|
49
|
-
TokenTransactionService,
|
|
50
|
-
WalletConfigService,
|
|
51
|
-
getElectrsUrl,
|
|
52
|
-
getLocalSigningOperators,
|
|
53
|
-
getLrc20NodeUrl,
|
|
54
|
-
getLrc20Url,
|
|
55
|
-
getSspIdentityPublicKey,
|
|
56
|
-
getSspSchemaEndpoint,
|
|
57
|
-
getSspUrl
|
|
58
|
-
};
|