@etsoo/appscript 1.5.94 → 1.5.95

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.
@@ -51,7 +51,8 @@ class AuthApi extends BaseApi_1.BaseApi {
51
51
  const rq = {
52
52
  type,
53
53
  openid: this.app.encrypt(openid),
54
- deviceId: this.app.deviceId
54
+ deviceId: this.app.deviceId,
55
+ region: this.app.region
55
56
  };
56
57
  return this.api.post("Auth/CheckUserIdentifier", rq, payload);
57
58
  }
@@ -19,4 +19,9 @@ export type CheckUserIdentifierRQ = {
19
19
  * 设备编号
20
20
  */
21
21
  deviceId: string;
22
+ /**
23
+ * Region
24
+ * 区域
25
+ */
26
+ region: string;
22
27
  };
@@ -48,7 +48,8 @@ export class AuthApi extends BaseApi {
48
48
  const rq = {
49
49
  type,
50
50
  openid: this.app.encrypt(openid),
51
- deviceId: this.app.deviceId
51
+ deviceId: this.app.deviceId,
52
+ region: this.app.region
52
53
  };
53
54
  return this.api.post("Auth/CheckUserIdentifier", rq, payload);
54
55
  }
@@ -19,4 +19,9 @@ export type CheckUserIdentifierRQ = {
19
19
  * 设备编号
20
20
  */
21
21
  deviceId: string;
22
+ /**
23
+ * Region
24
+ * 区域
25
+ */
26
+ region: string;
22
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.5.94",
3
+ "version": "1.5.95",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -42,10 +42,10 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@babel/cli": "^7.26.4",
45
- "@babel/core": "^7.26.0",
45
+ "@babel/core": "^7.26.7",
46
46
  "@babel/plugin-transform-runtime": "^7.25.9",
47
- "@babel/preset-env": "^7.26.0",
48
- "@babel/runtime-corejs3": "^7.26.0",
47
+ "@babel/preset-env": "^7.26.7",
48
+ "@babel/runtime-corejs3": "^7.26.7",
49
49
  "@types/crypto-js": "^4.2.2",
50
50
  "@vitejs/plugin-react": "^4.3.4",
51
51
  "jsdom": "^26.0.0",
@@ -81,7 +81,8 @@ export class AuthApi extends BaseApi {
81
81
  const rq: CheckUserIdentifierRQ = {
82
82
  type,
83
83
  openid: this.app.encrypt(openid),
84
- deviceId: this.app.deviceId
84
+ deviceId: this.app.deviceId,
85
+ region: this.app.region
85
86
  };
86
87
  return this.api.post("Auth/CheckUserIdentifier", rq, payload);
87
88
  }
@@ -22,4 +22,10 @@ export type CheckUserIdentifierRQ = {
22
22
  * 设备编号
23
23
  */
24
24
  deviceId: string;
25
+
26
+ /**
27
+ * Region
28
+ * 区域
29
+ */
30
+ region: string;
25
31
  };