@spot-flow/checkout-inline-js 0.1.49-dev.8 → 0.1.49-dev.9

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.
@@ -49,6 +49,7 @@ declare class Stablecoins {
49
49
  isMaxRetriesReached: boolean;
50
50
  private token;
51
51
  private localCurrency;
52
+ errorText: string;
52
53
  constructor({ container, restartTransactionProcess, amount, currency, customer, callBackUrl, metadata, reference, rdtCode, url, token, retryingPayment, totalAmount, localCurrency, onSuccess, }: Props);
53
54
  get currentStep(): number;
54
55
  set currentStep(step: number);
@@ -25,6 +25,7 @@ type Props = {
25
25
  metadata: Record<string, unknown>;
26
26
  callBackUrl: string;
27
27
  localCurrency: string;
28
+ onStepChange?: (step: number) => void;
28
29
  };
29
30
  export declare class StablecoinsForm {
30
31
  container: HTMLElement | Element;
@@ -53,6 +54,7 @@ export declare class StablecoinsForm {
53
54
  private currency;
54
55
  private paymentResponse;
55
56
  private localCurrency;
57
+ private onStepChange?;
56
58
  private retryingPayment;
57
59
  isMaxRetriesReached: boolean;
58
60
  errorText: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spot-flow/checkout-inline-js",
3
- "version": "0.1.49-dev.8",
3
+ "version": "0.1.49-dev.9",
4
4
  "description": "",
5
5
  "main": "dist/checkout-inline.js",
6
6
  "module": "dist/checkout-inline.es.js",