@korpay/sdk 1.0.8 → 1.0.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.
- package/dist/index.cjs +6 -7
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +6 -7
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -53,14 +53,15 @@ interface CardDto {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
declare class KorpaySDK {
|
|
56
|
-
protected readonly isDev: boolean;
|
|
57
56
|
protected baseUrl: string;
|
|
58
57
|
private messageListener;
|
|
59
58
|
private paymentTimeoutId;
|
|
60
59
|
private readonly PAYMENT_TIMEOUT;
|
|
61
60
|
private callbacks;
|
|
62
61
|
private static instance;
|
|
62
|
+
private initialized;
|
|
63
63
|
constructor();
|
|
64
|
+
private ensureInitialized;
|
|
64
65
|
private setBaseUrl;
|
|
65
66
|
payment(baseUrl: string, options: RequestData, callbacks?: PaymentCallbacks): void;
|
|
66
67
|
getEdidate(): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -53,14 +53,15 @@ interface CardDto {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
declare class KorpaySDK {
|
|
56
|
-
protected readonly isDev: boolean;
|
|
57
56
|
protected baseUrl: string;
|
|
58
57
|
private messageListener;
|
|
59
58
|
private paymentTimeoutId;
|
|
60
59
|
private readonly PAYMENT_TIMEOUT;
|
|
61
60
|
private callbacks;
|
|
62
61
|
private static instance;
|
|
62
|
+
private initialized;
|
|
63
63
|
constructor();
|
|
64
|
+
private ensureInitialized;
|
|
64
65
|
private setBaseUrl;
|
|
65
66
|
payment(baseUrl: string, options: RequestData, callbacks?: PaymentCallbacks): void;
|
|
66
67
|
getEdidate(): string;
|