@bootpay/client-js 4.0.7 → 4.0.8

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.
@@ -9,8 +9,8 @@ export interface RequestPaymentModel {
9
9
  sdk_version?: string;
10
10
  sdk_type?: number;
11
11
  application_id?: string;
12
- pg: string;
13
- method: string | Array<string>;
12
+ pg?: string;
13
+ method?: string | Array<string>;
14
14
  order_name: string;
15
15
  price: number;
16
16
  tax_free?: number;
@@ -68,11 +68,11 @@ export interface RequestAuthenticationModel {
68
68
  * @date: 2021-04-13
69
69
  */
70
70
  export interface UserModel {
71
- id: string | undefined;
72
- username: string;
73
- email: string;
74
- addr: string;
75
- phone: string;
71
+ id?: string | undefined;
72
+ username?: string;
73
+ email?: string;
74
+ addr?: string;
75
+ phone?: string;
76
76
  }
77
77
  /**
78
78
  * Item Model
@@ -80,8 +80,8 @@ export interface UserModel {
80
80
  * @date: 2021-04-13
81
81
  */
82
82
  export interface ItemModel {
83
- id?: string;
84
- code: string;
83
+ id: string;
84
+ code?: string;
85
85
  name: string;
86
86
  price: number;
87
87
  img?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bootpay/client-js",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {