@breeztech/breez-sdk-spark-react-native 0.13.4 → 0.13.6
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/lib/commonjs/generated/breez_sdk_spark.js +9 -4
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +9 -4
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +7 -7
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +7 -7
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/generated/breez_sdk_spark.ts +16 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breeztech/breez-sdk-spark-react-native",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.6",
|
|
4
4
|
"description": "React Native bindings for the Breez SDK - Nodeless (Spark Implementation)",
|
|
5
5
|
"source": "./src/index.tsx",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"version": "0.49.0"
|
|
198
198
|
},
|
|
199
199
|
"checksums": {
|
|
200
|
-
"android": "
|
|
201
|
-
"ios": "
|
|
200
|
+
"android": "e868021c3354ee8cd4befa461143c18b130b6c834e06a7742dbca1da2a602d33",
|
|
201
|
+
"ios": "5021523a3243cca90169ab646df02b9d67cac919531462f21bb0909846d41eb5"
|
|
202
202
|
}
|
|
203
203
|
}
|
|
@@ -12373,13 +12373,18 @@ export const BuyBitcoinRequest = (() => {
|
|
|
12373
12373
|
|
|
12374
12374
|
type CashApp__interface = {
|
|
12375
12375
|
tag: BuyBitcoinRequest_Tags.CashApp;
|
|
12376
|
-
inner: Readonly<{ amountSats: /*u64*/ bigint
|
|
12376
|
+
inner: Readonly<{ amountSats: /*u64*/ bigint }>;
|
|
12377
12377
|
};
|
|
12378
12378
|
|
|
12379
12379
|
/**
|
|
12380
12380
|
* `CashApp`: Pay via the Lightning Network.
|
|
12381
|
-
* Generates a bolt11 invoice and returns a
|
|
12382
|
-
* Only available on mainnet.
|
|
12381
|
+
* Generates a bolt11 invoice for the given amount and returns a
|
|
12382
|
+
* `cash.app` deep link. Only available on mainnet.
|
|
12383
|
+
*
|
|
12384
|
+
* The amount is required. With an amountless invoice, Cash App only
|
|
12385
|
+
* lets the payer fund from their existing Cash App BTC balance. With
|
|
12386
|
+
* a fixed-amount invoice, Cash App opens up funding via fiat balance
|
|
12387
|
+
* and debit card.
|
|
12383
12388
|
*/
|
|
12384
12389
|
class CashApp_ extends UniffiEnum implements CashApp__interface {
|
|
12385
12390
|
/**
|
|
@@ -12388,11 +12393,11 @@ export const BuyBitcoinRequest = (() => {
|
|
|
12388
12393
|
*/
|
|
12389
12394
|
readonly [uniffiTypeNameSymbol] = 'BuyBitcoinRequest';
|
|
12390
12395
|
readonly tag = BuyBitcoinRequest_Tags.CashApp;
|
|
12391
|
-
readonly inner: Readonly<{ amountSats: /*u64*/ bigint
|
|
12396
|
+
readonly inner: Readonly<{ amountSats: /*u64*/ bigint }>;
|
|
12392
12397
|
constructor(inner: {
|
|
12393
12398
|
/**
|
|
12394
|
-
* Amount in satoshis for the Lightning invoice.
|
|
12395
|
-
*/ amountSats: /*u64*/ bigint
|
|
12399
|
+
* Amount in satoshis for the Lightning invoice. Must be non-zero.
|
|
12400
|
+
*/ amountSats: /*u64*/ bigint;
|
|
12396
12401
|
}) {
|
|
12397
12402
|
super('BuyBitcoinRequest', 'CashApp');
|
|
12398
12403
|
this.inner = Object.freeze(inner);
|
|
@@ -12400,8 +12405,8 @@ export const BuyBitcoinRequest = (() => {
|
|
|
12400
12405
|
|
|
12401
12406
|
static new(inner: {
|
|
12402
12407
|
/**
|
|
12403
|
-
* Amount in satoshis for the Lightning invoice.
|
|
12404
|
-
*/ amountSats: /*u64*/ bigint
|
|
12408
|
+
* Amount in satoshis for the Lightning invoice. Must be non-zero.
|
|
12409
|
+
*/ amountSats: /*u64*/ bigint;
|
|
12405
12410
|
}): CashApp_ {
|
|
12406
12411
|
return new CashApp_(inner);
|
|
12407
12412
|
}
|
|
@@ -12447,7 +12452,7 @@ const FfiConverterTypeBuyBitcoinRequest = (() => {
|
|
|
12447
12452
|
});
|
|
12448
12453
|
case 2:
|
|
12449
12454
|
return new BuyBitcoinRequest.CashApp({
|
|
12450
|
-
amountSats:
|
|
12455
|
+
amountSats: FfiConverterUInt64.read(from),
|
|
12451
12456
|
});
|
|
12452
12457
|
default:
|
|
12453
12458
|
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
@@ -12465,7 +12470,7 @@ const FfiConverterTypeBuyBitcoinRequest = (() => {
|
|
|
12465
12470
|
case BuyBitcoinRequest_Tags.CashApp: {
|
|
12466
12471
|
ordinalConverter.write(2, into);
|
|
12467
12472
|
const inner = value.inner;
|
|
12468
|
-
|
|
12473
|
+
FfiConverterUInt64.write(inner.amountSats, into);
|
|
12469
12474
|
return;
|
|
12470
12475
|
}
|
|
12471
12476
|
default:
|
|
@@ -12487,7 +12492,7 @@ const FfiConverterTypeBuyBitcoinRequest = (() => {
|
|
|
12487
12492
|
case BuyBitcoinRequest_Tags.CashApp: {
|
|
12488
12493
|
const inner = value.inner;
|
|
12489
12494
|
let size = ordinalConverter.allocationSize(2);
|
|
12490
|
-
size +=
|
|
12495
|
+
size += FfiConverterUInt64.allocationSize(inner.amountSats);
|
|
12491
12496
|
return size;
|
|
12492
12497
|
}
|
|
12493
12498
|
default:
|