@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.
package/lib/cjs/api/AuthApi.js
CHANGED
|
@@ -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))
|
package/lib/mjs/api/AuthApi.js
CHANGED
|
@@ -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))
|
package/package.json
CHANGED
package/src/api/AuthApi.ts
CHANGED
|
@@ -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))
|