@bootpay/client-js 4.0.3 → 4.0.6
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/README.md +17 -3
- package/bootpay-sdk.js +1 -1
- package/bootpay.d.ts +1 -0
- package/bootpay.js +1 -1
- package/models/bootpay-interface.d.ts +3 -0
- package/package.json +1 -1
- package/support/environment.d.ts +4 -0
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
export interface RequestPaymentModel {
|
|
7
7
|
ver?: string;
|
|
8
8
|
sdk?: boolean;
|
|
9
|
+
sdk_version?: string;
|
|
10
|
+
sdk_type?: number;
|
|
9
11
|
application_id?: string;
|
|
10
12
|
pg: string;
|
|
11
13
|
method: string | Array<string>;
|
|
@@ -176,6 +178,7 @@ export interface ExtraModel {
|
|
|
176
178
|
sim_operator?: string;
|
|
177
179
|
installer_package_name?: string;
|
|
178
180
|
timeout?: number;
|
|
181
|
+
common_event_webhook?: boolean;
|
|
179
182
|
}
|
|
180
183
|
export interface ConfirmModel {
|
|
181
184
|
event: string;
|
package/package.json
CHANGED
package/support/environment.d.ts
CHANGED
|
@@ -4,10 +4,14 @@ export declare const Environment: {
|
|
|
4
4
|
API_URL: any;
|
|
5
5
|
ANALYTICS_URL: any;
|
|
6
6
|
DOOR_URL: any;
|
|
7
|
+
sdkNames: any;
|
|
8
|
+
sdkVersion: string;
|
|
9
|
+
sdkName: number;
|
|
7
10
|
set(env: string): void;
|
|
8
11
|
setApplicationId(applicationId: string | undefined): string | undefined;
|
|
9
12
|
currentApplicationId(applicationId?: string | undefined): string | undefined;
|
|
10
13
|
setDevelopmentHost(host: string): void;
|
|
14
|
+
setVersion(version: string, name: string): void;
|
|
11
15
|
toApi(uri: string): string;
|
|
12
16
|
toDoor(uri: string): string;
|
|
13
17
|
isMobile(): boolean;
|