@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bootpay/client-js",
3
- "version": "4.0.3",
3
+ "version": "4.0.6",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
@@ -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;