@spot-flow/checkout-inline-js 0.1.47 → 0.1.49-dev.1

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.
@@ -1,39 +0,0 @@
1
- import { PaymentAPIResponse } from '../../api';
2
- import { PaymentResponseData } from '../../types/types';
3
-
4
- type Props = {
5
- container: HTMLDivElement;
6
- onAction: (_val: number) => void;
7
- ref: string;
8
- token: string;
9
- rdtCode?: string;
10
- url?: string;
11
- onSuccess: (_val: any) => void;
12
- callBackUrl: string;
13
- setPaymentResponses: (data: PaymentResponseData, headers: Headers) => void;
14
- };
15
- export declare class ConfirmationProgress {
16
- container: HTMLDivElement;
17
- onAction: (_val: number) => void;
18
- private onSuccess;
19
- private ref;
20
- private token;
21
- initialTime: number;
22
- abortController: AbortController;
23
- private timeLeft;
24
- private timer;
25
- timerId: null | number;
26
- private rdtCode?;
27
- private url?;
28
- private callBackUrl;
29
- setPaymentResponses: (data: PaymentResponseData, headers: Headers) => void;
30
- constructor(props: Props);
31
- attachListeners(): void;
32
- verifyCardPayment(token: string, initialInterval: number, onSuccess: (data: PaymentAPIResponse) => void, onError: (data: PaymentAPIResponse) => void): Promise<void>;
33
- private redirectTo;
34
- private startTimer;
35
- private stopTimer;
36
- renderComponent(): void;
37
- render(): string;
38
- }
39
- export {};
@@ -1,13 +0,0 @@
1
- type Props = {
2
- container: HTMLDivElement;
3
- onAction: (_val: number) => void;
4
- };
5
- export declare class TransferConfirmatioOne {
6
- container: HTMLDivElement;
7
- onAction: (_val: number) => void;
8
- constructor(props: Props);
9
- attachListeners(): void;
10
- renderComponent(): void;
11
- render(): string;
12
- }
13
- export {};
@@ -1,15 +0,0 @@
1
- type Props = {
2
- container: HTMLDivElement;
3
- onClose: () => void;
4
- onAction: (_val: number) => void;
5
- };
6
- export declare class TransferConfirmationTwo {
7
- container: HTMLDivElement;
8
- onClose: () => void;
9
- onAction: (_val: number) => void;
10
- constructor(props: Props);
11
- attachListeners(): void;
12
- renderComponent(): void;
13
- render(): string;
14
- }
15
- export {};