@odus/checkout 0.16.0 → 0.17.0
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/checkout.d.ts +10 -0
- package/dist/checkout.es.js +6428 -2357
- package/dist/package.json +2 -1
- package/package.json +2 -1
package/dist/checkout.d.ts
CHANGED
|
@@ -217,6 +217,7 @@ export declare class OdusCheckout {
|
|
|
217
217
|
private apiService;
|
|
218
218
|
private formManager;
|
|
219
219
|
private stateManager;
|
|
220
|
+
private sessionId;
|
|
220
221
|
constructor(config: CheckoutConfig);
|
|
221
222
|
private validateConfig;
|
|
222
223
|
mount(containerId: string): this;
|
|
@@ -224,6 +225,7 @@ export declare class OdusCheckout {
|
|
|
224
225
|
private handleSubmit;
|
|
225
226
|
private handlePaymentResponse;
|
|
226
227
|
private handleAuthorizationError;
|
|
228
|
+
private getPaymentMethod;
|
|
227
229
|
associatePayment(paymentId: string, checkoutKey: string): Promise<void>;
|
|
228
230
|
}
|
|
229
231
|
|
|
@@ -289,6 +291,14 @@ export declare const ptLocale: {
|
|
|
289
291
|
}
|
|
290
292
|
};
|
|
291
293
|
|
|
294
|
+
export declare const pushError: (error: Error, context?: Record<string, string>) => void;
|
|
295
|
+
|
|
296
|
+
export declare const pushEvent: (name: string, attributes?: Record<string, string>) => void;
|
|
297
|
+
|
|
298
|
+
export declare const pushLog: (message: string, level?: "info" | "warn" | "error", context?: Record<string, string>) => void;
|
|
299
|
+
|
|
300
|
+
export declare const pushMeasurement: (name: string, value: number, unit?: string, context?: Record<string, string>) => void;
|
|
301
|
+
|
|
292
302
|
export declare const trLocale: {
|
|
293
303
|
"email": "E-posta",
|
|
294
304
|
"cardholderNameLabel": "Kart sahibinin adı",
|