@bizzsv/bizz-payment 1.4.2-dev → 1.4.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.
- package/dist/index.cjs +25 -37
- package/dist/index.d.ts +0 -16
- package/dist/index.global.js +25 -37
- package/dist/index.js +83 -339
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ export declare class BizzPaymentForm {
|
|
|
19
19
|
private currentAmount;
|
|
20
20
|
private currentValues;
|
|
21
21
|
private pointsPaymentContext;
|
|
22
|
-
private nakaPollingInterval;
|
|
23
22
|
constructor(config: PaymentFormConfig);
|
|
24
23
|
/**
|
|
25
24
|
* Subscribe to host-side events.
|
|
@@ -43,9 +42,6 @@ export declare class BizzPaymentForm {
|
|
|
43
42
|
private sendReadyEmitter;
|
|
44
43
|
private sendSizingEmitter;
|
|
45
44
|
private sendSuccess;
|
|
46
|
-
private handleCryptoPayment;
|
|
47
|
-
private startNakaPolling;
|
|
48
|
-
private stopNakaPolling;
|
|
49
45
|
destroy(): void;
|
|
50
46
|
}
|
|
51
47
|
|
|
@@ -59,8 +55,6 @@ declare interface FormCustomHeader {
|
|
|
59
55
|
date?: boolean;
|
|
60
56
|
}
|
|
61
57
|
|
|
62
|
-
declare type NakaTransactionStatus = 'IN_PROGRESS' | 'SUCCESS' | 'EXPIRED' | 'UNDERPAID' | 'OVERPAID' | 'CANCELED';
|
|
63
|
-
|
|
64
58
|
export declare interface PaymentFormConfig {
|
|
65
59
|
iframeTarget: string;
|
|
66
60
|
i18n?: PaymentFormI18n;
|
|
@@ -149,17 +143,7 @@ export declare type PaymentFormMessage = {
|
|
|
149
143
|
default: string;
|
|
150
144
|
points: string;
|
|
151
145
|
installments: string;
|
|
152
|
-
crypto?: string;
|
|
153
146
|
};
|
|
154
|
-
} | {
|
|
155
|
-
type: 'payment-form:naka-checkout';
|
|
156
|
-
redirectUrl: string;
|
|
157
|
-
chargeId: string;
|
|
158
|
-
} | {
|
|
159
|
-
type: 'payment-form:naka-status';
|
|
160
|
-
status: NakaTransactionStatus;
|
|
161
|
-
} | {
|
|
162
|
-
type: 'payment-form:load-crypto-countries';
|
|
163
147
|
} | {
|
|
164
148
|
type: 'payment-form:sizing';
|
|
165
149
|
width: number;
|