@breeztech/breez-sdk-spark 0.1.2 → 0.1.3

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.
Binary file
@@ -354,16 +354,16 @@ export interface BitcoinAddressDetails {
354
354
  source: PaymentRequestSource;
355
355
  }
356
356
 
357
- export interface SatsPayment {
357
+ export interface SatsPaymentDetails {
358
358
  amount?: number;
359
359
  }
360
360
 
361
- export interface TokensPayment {
361
+ export interface TokensPaymentDetails {
362
362
  tokenIdentifier?: string;
363
363
  amount?: number;
364
364
  }
365
365
 
366
- export type SparkAddressPaymentType = ({ type: "tokensPayment" } & TokensPayment) | ({ type: "satsPayment" } & SatsPayment);
366
+ export type SparkAddressPaymentType = ({ type: "tokensPayment" } & TokensPaymentDetails) | ({ type: "satsPayment" } & SatsPaymentDetails);
367
367
 
368
368
  export interface SparkInvoiceFields {
369
369
  id: string;
@@ -354,16 +354,16 @@ export interface BitcoinAddressDetails {
354
354
  source: PaymentRequestSource;
355
355
  }
356
356
 
357
- export interface SatsPayment {
357
+ export interface SatsPaymentDetails {
358
358
  amount?: number;
359
359
  }
360
360
 
361
- export interface TokensPayment {
361
+ export interface TokensPaymentDetails {
362
362
  tokenIdentifier?: string;
363
363
  amount?: number;
364
364
  }
365
365
 
366
- export type SparkAddressPaymentType = ({ type: "tokensPayment" } & TokensPayment) | ({ type: "satsPayment" } & SatsPayment);
366
+ export type SparkAddressPaymentType = ({ type: "tokensPayment" } & TokensPaymentDetails) | ({ type: "satsPayment" } & SatsPaymentDetails);
367
367
 
368
368
  export interface SparkInvoiceFields {
369
369
  id: string;
Binary file
@@ -354,16 +354,16 @@ export interface BitcoinAddressDetails {
354
354
  source: PaymentRequestSource;
355
355
  }
356
356
 
357
- export interface SatsPayment {
357
+ export interface SatsPaymentDetails {
358
358
  amount?: number;
359
359
  }
360
360
 
361
- export interface TokensPayment {
361
+ export interface TokensPaymentDetails {
362
362
  tokenIdentifier?: string;
363
363
  amount?: number;
364
364
  }
365
365
 
366
- export type SparkAddressPaymentType = ({ type: "tokensPayment" } & TokensPayment) | ({ type: "satsPayment" } & SatsPayment);
366
+ export type SparkAddressPaymentType = ({ type: "tokensPayment" } & TokensPaymentDetails) | ({ type: "satsPayment" } & SatsPaymentDetails);
367
367
 
368
368
  export interface SparkInvoiceFields {
369
369
  id: string;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breeztech/breez-sdk-spark",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Breez Spark SDK",
5
5
  "repository": "https://github.com/breez/spark-sdk",
6
6
  "author": "Breez <contact@breez.technology> (https://github.com/breez)",
@@ -354,16 +354,16 @@ export interface BitcoinAddressDetails {
354
354
  source: PaymentRequestSource;
355
355
  }
356
356
 
357
- export interface SatsPayment {
357
+ export interface SatsPaymentDetails {
358
358
  amount?: number;
359
359
  }
360
360
 
361
- export interface TokensPayment {
361
+ export interface TokensPaymentDetails {
362
362
  tokenIdentifier?: string;
363
363
  amount?: number;
364
364
  }
365
365
 
366
- export type SparkAddressPaymentType = ({ type: "tokensPayment" } & TokensPayment) | ({ type: "satsPayment" } & SatsPayment);
366
+ export type SparkAddressPaymentType = ({ type: "tokensPayment" } & TokensPaymentDetails) | ({ type: "satsPayment" } & SatsPaymentDetails);
367
367
 
368
368
  export interface SparkInvoiceFields {
369
369
  id: string;
Binary file