@bizzsv/bizz-payment 1.5.1-dev → 1.5.3-dev
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 +35 -19
- package/dist/index.d.ts +12 -0
- package/dist/index.global.js +35 -19
- package/dist/index.js +515 -418
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare class BizzPaymentForm {
|
|
2
|
+
static readonly version: string;
|
|
2
3
|
private config;
|
|
3
4
|
private iframe;
|
|
4
5
|
private messageHandler;
|
|
@@ -20,6 +21,8 @@ export declare class BizzPaymentForm {
|
|
|
20
21
|
private currentValues;
|
|
21
22
|
private pointsPaymentContext;
|
|
22
23
|
private nakaPollingInterval;
|
|
24
|
+
private pendingAlert;
|
|
25
|
+
private currentCryptoChargeId;
|
|
23
26
|
constructor(config: PaymentFormConfig);
|
|
24
27
|
/**
|
|
25
28
|
* Subscribe to host-side events.
|
|
@@ -105,6 +108,11 @@ export declare interface PaymentFormFieldOverride {
|
|
|
105
108
|
export declare interface PaymentFormI18n {
|
|
106
109
|
fields?: PaymentFormFieldOverride[];
|
|
107
110
|
submitButton?: PaymentFormSubmitButton;
|
|
111
|
+
loading?: PaymentFormLoading;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare interface PaymentFormLoading {
|
|
115
|
+
message?: string;
|
|
108
116
|
}
|
|
109
117
|
|
|
110
118
|
export declare type PaymentFormMessage = {
|
|
@@ -176,6 +184,8 @@ export declare type PaymentFormMessage = {
|
|
|
176
184
|
height: number;
|
|
177
185
|
} | {
|
|
178
186
|
type: 'payment-form:return-initial';
|
|
187
|
+
} | {
|
|
188
|
+
type: 'payment-form:ready';
|
|
179
189
|
};
|
|
180
190
|
|
|
181
191
|
declare interface PaymentFormSizingPayloadEmitter {
|
|
@@ -233,4 +243,6 @@ declare type State = {
|
|
|
233
243
|
short_code: string;
|
|
234
244
|
};
|
|
235
245
|
|
|
246
|
+
export declare const VERSION: string;
|
|
247
|
+
|
|
236
248
|
export { }
|