@etsoo/appscript 1.5.73 → 1.5.75

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.
@@ -33,6 +33,7 @@ class AuthApi extends BaseApi_1.BaseApi {
33
33
  */
34
34
  changePassword(oldPassword, password, payload) {
35
35
  const rq = {
36
+ appId: this.app.settings.appId,
36
37
  deviceId: this.app.deviceId,
37
38
  oldPassword: this.app.encrypt(this.app.hash(oldPassword)),
38
39
  password: this.app.encrypt(this.app.hash(password))
@@ -1,4 +1,9 @@
1
1
  export type ChangePasswordRQ = {
2
+ /**
3
+ * Application id
4
+ * 应用编号
5
+ */
6
+ appId: number;
2
7
  /**
3
8
  * Device id
4
9
  * 设备编号
@@ -30,6 +30,7 @@ export class AuthApi extends BaseApi {
30
30
  */
31
31
  changePassword(oldPassword, password, payload) {
32
32
  const rq = {
33
+ appId: this.app.settings.appId,
33
34
  deviceId: this.app.deviceId,
34
35
  oldPassword: this.app.encrypt(this.app.hash(oldPassword)),
35
36
  password: this.app.encrypt(this.app.hash(password))
@@ -1,4 +1,9 @@
1
1
  export type ChangePasswordRQ = {
2
+ /**
3
+ * Application id
4
+ * 应用编号
5
+ */
6
+ appId: number;
2
7
  /**
3
8
  * Device id
4
9
  * 设备编号
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.5.73",
3
+ "version": "1.5.75",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -57,6 +57,7 @@ export class AuthApi extends BaseApi {
57
57
  payload?: ResultPayload
58
58
  ) {
59
59
  const rq: ChangePasswordRQ = {
60
+ appId: this.app.settings.appId,
60
61
  deviceId: this.app.deviceId,
61
62
  oldPassword: this.app.encrypt(this.app.hash(oldPassword)),
62
63
  password: this.app.encrypt(this.app.hash(password))
@@ -1,4 +1,10 @@
1
1
  export type ChangePasswordRQ = {
2
+ /**
3
+ * Application id
4
+ * 应用编号
5
+ */
6
+ appId: number;
7
+
2
8
  /**
3
9
  * Device id
4
10
  * 设备编号