@paynext/sdk 0.0.129 → 0.0.131
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 -1
- package/dist/index.es.js +22838 -3164
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +545 -48
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ export declare interface CheckoutError {
|
|
|
91
91
|
declare class CheckoutModule {
|
|
92
92
|
private readonly config;
|
|
93
93
|
private component;
|
|
94
|
+
private sentry;
|
|
94
95
|
constructor(config: CheckoutConfig_2);
|
|
95
96
|
init(): Promise<void>;
|
|
96
97
|
mount(): Promise<HTMLElement>;
|
|
@@ -601,10 +602,16 @@ declare interface TransactionConfig {
|
|
|
601
602
|
};
|
|
602
603
|
}
|
|
603
604
|
|
|
605
|
+
declare interface TransactionConfigResponse extends TransactionConfig {
|
|
606
|
+
code: number;
|
|
607
|
+
success: boolean;
|
|
608
|
+
error?: string;
|
|
609
|
+
}
|
|
610
|
+
|
|
604
611
|
declare class TransactionState extends State<TransactionConfig | null> {
|
|
605
612
|
private clientToken;
|
|
606
613
|
constructor(state?: TransactionConfig);
|
|
607
|
-
updateTransaction(clientToken: string, environment: TEnvironment, apiVersion: string): Promise<
|
|
614
|
+
updateTransaction(clientToken: string, environment: TEnvironment, apiVersion: string): Promise<TransactionConfigResponse>;
|
|
608
615
|
}
|
|
609
616
|
|
|
610
617
|
declare class TranslateState extends State<CheckoutTranslateState> {
|