@paynext/sdk 0.0.30 → 0.0.32
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.d.ts +8 -8
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -82,14 +82,6 @@ declare interface CheckoutConfig_2 {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
export declare class CheckoutJS {
|
|
86
|
-
private readonly parent;
|
|
87
|
-
private readonly core;
|
|
88
|
-
constructor(parent: HTMLElement);
|
|
89
|
-
mount(config: PayNextConfig): Promise<void>;
|
|
90
|
-
unmount(): Promise<void>;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
85
|
declare class CheckoutModule {
|
|
94
86
|
private readonly config;
|
|
95
87
|
private readonly component;
|
|
@@ -259,6 +251,14 @@ declare enum PaymentType {
|
|
|
259
251
|
Card = "CARD"
|
|
260
252
|
}
|
|
261
253
|
|
|
254
|
+
export declare class PayNextCheckout {
|
|
255
|
+
private readonly parent;
|
|
256
|
+
private readonly core;
|
|
257
|
+
constructor(parent: HTMLElement);
|
|
258
|
+
mount(config: PayNextConfig): Promise<void>;
|
|
259
|
+
unmount(): Promise<void>;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
262
|
export declare interface PayNextConfig {
|
|
263
263
|
clientToken: string;
|
|
264
264
|
supportedCardTypes?: CardType[];
|