@breeztech/breez-sdk-spark 0.7.1 → 0.7.2
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/breez-sdk-spark.tgz +0 -0
- package/bundler/breez_sdk_spark_wasm.d.ts +5 -5
- package/bundler/breez_sdk_spark_wasm_bg.js +2 -2
- package/bundler/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/deno/breez_sdk_spark_wasm.d.ts +5 -5
- package/deno/breez_sdk_spark_wasm.js +2 -2
- package/deno/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/nodejs/breez_sdk_spark_wasm.d.ts +5 -5
- package/nodejs/breez_sdk_spark_wasm.js +2 -2
- package/nodejs/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/web/breez_sdk_spark_wasm.d.ts +5 -5
- package/web/breez_sdk_spark_wasm.js +2 -2
- package/web/breez_sdk_spark_wasm_bg.wasm +0 -0
package/breez-sdk-spark.tgz
CHANGED
|
Binary file
|
|
@@ -87,7 +87,7 @@ export interface ListUnclaimedDepositsResponse {
|
|
|
87
87
|
deposits: DepositInfo[];
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export type ReceivePaymentMethod = { type: "sparkAddress" } | { type: "sparkInvoice"; amount?:
|
|
90
|
+
export type ReceivePaymentMethod = { type: "sparkAddress" } | { type: "sparkInvoice"; amount?: string; tokenIdentifier?: string; expiryTime?: number; description?: string; senderPublicKey?: string } | { type: "bitcoinAddress" } | { type: "bolt11Invoice"; description: string; amountSats?: number; expirySecs?: number };
|
|
91
91
|
|
|
92
92
|
export interface SparkHtlcDetails {
|
|
93
93
|
paymentHash: string;
|
|
@@ -132,7 +132,7 @@ export interface CurrencyInfo {
|
|
|
132
132
|
localeOverrides: LocaleOverrides[];
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
export type SendPaymentMethod = { type: "bitcoinAddress"; address: BitcoinAddressDetails; feeQuote: SendOnchainFeeQuote } | { type: "bolt11Invoice"; invoiceDetails: Bolt11InvoiceDetails; sparkTransferFeeSats?: number; lightningFeeSats: number } | { type: "sparkAddress"; address: string; fee:
|
|
135
|
+
export type SendPaymentMethod = { type: "bitcoinAddress"; address: BitcoinAddressDetails; feeQuote: SendOnchainFeeQuote } | { type: "bolt11Invoice"; invoiceDetails: Bolt11InvoiceDetails; sparkTransferFeeSats?: number; lightningFeeSats: number } | { type: "sparkAddress"; address: string; fee: string; tokenIdentifier?: string } | { type: "sparkInvoice"; sparkInvoiceDetails: SparkInvoiceDetails; fee: string; tokenIdentifier?: string };
|
|
136
136
|
|
|
137
137
|
export interface CheckLightningAddressRequest {
|
|
138
138
|
username: string;
|
|
@@ -163,7 +163,7 @@ export interface TokenMetadata {
|
|
|
163
163
|
name: string;
|
|
164
164
|
ticker: string;
|
|
165
165
|
decimals: number;
|
|
166
|
-
maxSupply:
|
|
166
|
+
maxSupply: string;
|
|
167
167
|
isFreezable: boolean;
|
|
168
168
|
}
|
|
169
169
|
|
|
@@ -395,7 +395,7 @@ export interface RecordChange {
|
|
|
395
395
|
export interface TokenConversionInfo {
|
|
396
396
|
poolId: string;
|
|
397
397
|
paymentId?: string;
|
|
398
|
-
fee?:
|
|
398
|
+
fee?: string;
|
|
399
399
|
refundIdentifier?: string;
|
|
400
400
|
}
|
|
401
401
|
|
|
@@ -715,7 +715,7 @@ export interface SparkInvoiceDetails {
|
|
|
715
715
|
invoice: string;
|
|
716
716
|
identityPublicKey: string;
|
|
717
717
|
network: BitcoinNetwork;
|
|
718
|
-
amount?:
|
|
718
|
+
amount?: string;
|
|
719
719
|
tokenIdentifier?: string;
|
|
720
720
|
expiryTime?: number;
|
|
721
721
|
description?: string;
|
|
@@ -2355,12 +2355,12 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
2355
2355
|
return ret;
|
|
2356
2356
|
};
|
|
2357
2357
|
|
|
2358
|
-
export function
|
|
2358
|
+
export function __wbindgen_closure_wrapper11144(arg0, arg1, arg2) {
|
|
2359
2359
|
const ret = makeMutClosure(arg0, arg1, 812, __wbg_adapter_64);
|
|
2360
2360
|
return ret;
|
|
2361
2361
|
};
|
|
2362
2362
|
|
|
2363
|
-
export function
|
|
2363
|
+
export function __wbindgen_closure_wrapper13050(arg0, arg1, arg2) {
|
|
2364
2364
|
const ret = makeMutClosure(arg0, arg1, 1048, __wbg_adapter_67);
|
|
2365
2365
|
return ret;
|
|
2366
2366
|
};
|
|
Binary file
|
|
@@ -87,7 +87,7 @@ export interface ListUnclaimedDepositsResponse {
|
|
|
87
87
|
deposits: DepositInfo[];
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export type ReceivePaymentMethod = { type: "sparkAddress" } | { type: "sparkInvoice"; amount?:
|
|
90
|
+
export type ReceivePaymentMethod = { type: "sparkAddress" } | { type: "sparkInvoice"; amount?: string; tokenIdentifier?: string; expiryTime?: number; description?: string; senderPublicKey?: string } | { type: "bitcoinAddress" } | { type: "bolt11Invoice"; description: string; amountSats?: number; expirySecs?: number };
|
|
91
91
|
|
|
92
92
|
export interface SparkHtlcDetails {
|
|
93
93
|
paymentHash: string;
|
|
@@ -132,7 +132,7 @@ export interface CurrencyInfo {
|
|
|
132
132
|
localeOverrides: LocaleOverrides[];
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
export type SendPaymentMethod = { type: "bitcoinAddress"; address: BitcoinAddressDetails; feeQuote: SendOnchainFeeQuote } | { type: "bolt11Invoice"; invoiceDetails: Bolt11InvoiceDetails; sparkTransferFeeSats?: number; lightningFeeSats: number } | { type: "sparkAddress"; address: string; fee:
|
|
135
|
+
export type SendPaymentMethod = { type: "bitcoinAddress"; address: BitcoinAddressDetails; feeQuote: SendOnchainFeeQuote } | { type: "bolt11Invoice"; invoiceDetails: Bolt11InvoiceDetails; sparkTransferFeeSats?: number; lightningFeeSats: number } | { type: "sparkAddress"; address: string; fee: string; tokenIdentifier?: string } | { type: "sparkInvoice"; sparkInvoiceDetails: SparkInvoiceDetails; fee: string; tokenIdentifier?: string };
|
|
136
136
|
|
|
137
137
|
export interface CheckLightningAddressRequest {
|
|
138
138
|
username: string;
|
|
@@ -163,7 +163,7 @@ export interface TokenMetadata {
|
|
|
163
163
|
name: string;
|
|
164
164
|
ticker: string;
|
|
165
165
|
decimals: number;
|
|
166
|
-
maxSupply:
|
|
166
|
+
maxSupply: string;
|
|
167
167
|
isFreezable: boolean;
|
|
168
168
|
}
|
|
169
169
|
|
|
@@ -395,7 +395,7 @@ export interface RecordChange {
|
|
|
395
395
|
export interface TokenConversionInfo {
|
|
396
396
|
poolId: string;
|
|
397
397
|
paymentId?: string;
|
|
398
|
-
fee?:
|
|
398
|
+
fee?: string;
|
|
399
399
|
refundIdentifier?: string;
|
|
400
400
|
}
|
|
401
401
|
|
|
@@ -715,7 +715,7 @@ export interface SparkInvoiceDetails {
|
|
|
715
715
|
invoice: string;
|
|
716
716
|
identityPublicKey: string;
|
|
717
717
|
network: BitcoinNetwork;
|
|
718
|
-
amount?:
|
|
718
|
+
amount?: string;
|
|
719
719
|
tokenIdentifier?: string;
|
|
720
720
|
expiryTime?: number;
|
|
721
721
|
description?: string;
|
|
@@ -2155,11 +2155,11 @@ const imports = {
|
|
|
2155
2155
|
const ret = false;
|
|
2156
2156
|
return ret;
|
|
2157
2157
|
},
|
|
2158
|
-
|
|
2158
|
+
__wbindgen_closure_wrapper11144: function(arg0, arg1, arg2) {
|
|
2159
2159
|
const ret = makeMutClosure(arg0, arg1, 812, __wbg_adapter_64);
|
|
2160
2160
|
return ret;
|
|
2161
2161
|
},
|
|
2162
|
-
|
|
2162
|
+
__wbindgen_closure_wrapper13050: function(arg0, arg1, arg2) {
|
|
2163
2163
|
const ret = makeMutClosure(arg0, arg1, 1048, __wbg_adapter_67);
|
|
2164
2164
|
return ret;
|
|
2165
2165
|
},
|
|
Binary file
|
|
@@ -87,7 +87,7 @@ export interface ListUnclaimedDepositsResponse {
|
|
|
87
87
|
deposits: DepositInfo[];
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export type ReceivePaymentMethod = { type: "sparkAddress" } | { type: "sparkInvoice"; amount?:
|
|
90
|
+
export type ReceivePaymentMethod = { type: "sparkAddress" } | { type: "sparkInvoice"; amount?: string; tokenIdentifier?: string; expiryTime?: number; description?: string; senderPublicKey?: string } | { type: "bitcoinAddress" } | { type: "bolt11Invoice"; description: string; amountSats?: number; expirySecs?: number };
|
|
91
91
|
|
|
92
92
|
export interface SparkHtlcDetails {
|
|
93
93
|
paymentHash: string;
|
|
@@ -132,7 +132,7 @@ export interface CurrencyInfo {
|
|
|
132
132
|
localeOverrides: LocaleOverrides[];
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
export type SendPaymentMethod = { type: "bitcoinAddress"; address: BitcoinAddressDetails; feeQuote: SendOnchainFeeQuote } | { type: "bolt11Invoice"; invoiceDetails: Bolt11InvoiceDetails; sparkTransferFeeSats?: number; lightningFeeSats: number } | { type: "sparkAddress"; address: string; fee:
|
|
135
|
+
export type SendPaymentMethod = { type: "bitcoinAddress"; address: BitcoinAddressDetails; feeQuote: SendOnchainFeeQuote } | { type: "bolt11Invoice"; invoiceDetails: Bolt11InvoiceDetails; sparkTransferFeeSats?: number; lightningFeeSats: number } | { type: "sparkAddress"; address: string; fee: string; tokenIdentifier?: string } | { type: "sparkInvoice"; sparkInvoiceDetails: SparkInvoiceDetails; fee: string; tokenIdentifier?: string };
|
|
136
136
|
|
|
137
137
|
export interface CheckLightningAddressRequest {
|
|
138
138
|
username: string;
|
|
@@ -163,7 +163,7 @@ export interface TokenMetadata {
|
|
|
163
163
|
name: string;
|
|
164
164
|
ticker: string;
|
|
165
165
|
decimals: number;
|
|
166
|
-
maxSupply:
|
|
166
|
+
maxSupply: string;
|
|
167
167
|
isFreezable: boolean;
|
|
168
168
|
}
|
|
169
169
|
|
|
@@ -395,7 +395,7 @@ export interface RecordChange {
|
|
|
395
395
|
export interface TokenConversionInfo {
|
|
396
396
|
poolId: string;
|
|
397
397
|
paymentId?: string;
|
|
398
|
-
fee?:
|
|
398
|
+
fee?: string;
|
|
399
399
|
refundIdentifier?: string;
|
|
400
400
|
}
|
|
401
401
|
|
|
@@ -715,7 +715,7 @@ export interface SparkInvoiceDetails {
|
|
|
715
715
|
invoice: string;
|
|
716
716
|
identityPublicKey: string;
|
|
717
717
|
network: BitcoinNetwork;
|
|
718
|
-
amount?:
|
|
718
|
+
amount?: string;
|
|
719
719
|
tokenIdentifier?: string;
|
|
720
720
|
expiryTime?: number;
|
|
721
721
|
description?: string;
|
|
@@ -2358,12 +2358,12 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
2358
2358
|
return ret;
|
|
2359
2359
|
};
|
|
2360
2360
|
|
|
2361
|
-
module.exports.
|
|
2361
|
+
module.exports.__wbindgen_closure_wrapper11144 = function(arg0, arg1, arg2) {
|
|
2362
2362
|
const ret = makeMutClosure(arg0, arg1, 812, __wbg_adapter_64);
|
|
2363
2363
|
return ret;
|
|
2364
2364
|
};
|
|
2365
2365
|
|
|
2366
|
-
module.exports.
|
|
2366
|
+
module.exports.__wbindgen_closure_wrapper13050 = function(arg0, arg1, arg2) {
|
|
2367
2367
|
const ret = makeMutClosure(arg0, arg1, 1048, __wbg_adapter_67);
|
|
2368
2368
|
return ret;
|
|
2369
2369
|
};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -87,7 +87,7 @@ export interface ListUnclaimedDepositsResponse {
|
|
|
87
87
|
deposits: DepositInfo[];
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export type ReceivePaymentMethod = { type: "sparkAddress" } | { type: "sparkInvoice"; amount?:
|
|
90
|
+
export type ReceivePaymentMethod = { type: "sparkAddress" } | { type: "sparkInvoice"; amount?: string; tokenIdentifier?: string; expiryTime?: number; description?: string; senderPublicKey?: string } | { type: "bitcoinAddress" } | { type: "bolt11Invoice"; description: string; amountSats?: number; expirySecs?: number };
|
|
91
91
|
|
|
92
92
|
export interface SparkHtlcDetails {
|
|
93
93
|
paymentHash: string;
|
|
@@ -132,7 +132,7 @@ export interface CurrencyInfo {
|
|
|
132
132
|
localeOverrides: LocaleOverrides[];
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
export type SendPaymentMethod = { type: "bitcoinAddress"; address: BitcoinAddressDetails; feeQuote: SendOnchainFeeQuote } | { type: "bolt11Invoice"; invoiceDetails: Bolt11InvoiceDetails; sparkTransferFeeSats?: number; lightningFeeSats: number } | { type: "sparkAddress"; address: string; fee:
|
|
135
|
+
export type SendPaymentMethod = { type: "bitcoinAddress"; address: BitcoinAddressDetails; feeQuote: SendOnchainFeeQuote } | { type: "bolt11Invoice"; invoiceDetails: Bolt11InvoiceDetails; sparkTransferFeeSats?: number; lightningFeeSats: number } | { type: "sparkAddress"; address: string; fee: string; tokenIdentifier?: string } | { type: "sparkInvoice"; sparkInvoiceDetails: SparkInvoiceDetails; fee: string; tokenIdentifier?: string };
|
|
136
136
|
|
|
137
137
|
export interface CheckLightningAddressRequest {
|
|
138
138
|
username: string;
|
|
@@ -163,7 +163,7 @@ export interface TokenMetadata {
|
|
|
163
163
|
name: string;
|
|
164
164
|
ticker: string;
|
|
165
165
|
decimals: number;
|
|
166
|
-
maxSupply:
|
|
166
|
+
maxSupply: string;
|
|
167
167
|
isFreezable: boolean;
|
|
168
168
|
}
|
|
169
169
|
|
|
@@ -395,7 +395,7 @@ export interface RecordChange {
|
|
|
395
395
|
export interface TokenConversionInfo {
|
|
396
396
|
poolId: string;
|
|
397
397
|
paymentId?: string;
|
|
398
|
-
fee?:
|
|
398
|
+
fee?: string;
|
|
399
399
|
refundIdentifier?: string;
|
|
400
400
|
}
|
|
401
401
|
|
|
@@ -715,7 +715,7 @@ export interface SparkInvoiceDetails {
|
|
|
715
715
|
invoice: string;
|
|
716
716
|
identityPublicKey: string;
|
|
717
717
|
network: BitcoinNetwork;
|
|
718
|
-
amount?:
|
|
718
|
+
amount?: string;
|
|
719
719
|
tokenIdentifier?: string;
|
|
720
720
|
expiryTime?: number;
|
|
721
721
|
description?: string;
|
|
@@ -2196,11 +2196,11 @@ function __wbg_get_imports() {
|
|
|
2196
2196
|
const ret = false;
|
|
2197
2197
|
return ret;
|
|
2198
2198
|
};
|
|
2199
|
-
imports.wbg.
|
|
2199
|
+
imports.wbg.__wbindgen_closure_wrapper11144 = function(arg0, arg1, arg2) {
|
|
2200
2200
|
const ret = makeMutClosure(arg0, arg1, 812, __wbg_adapter_64);
|
|
2201
2201
|
return ret;
|
|
2202
2202
|
};
|
|
2203
|
-
imports.wbg.
|
|
2203
|
+
imports.wbg.__wbindgen_closure_wrapper13050 = function(arg0, arg1, arg2) {
|
|
2204
2204
|
const ret = makeMutClosure(arg0, arg1, 1048, __wbg_adapter_67);
|
|
2205
2205
|
return ret;
|
|
2206
2206
|
};
|
|
Binary file
|