@etsoo/appscript 1.1.60 → 1.1.61
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/app/CoreApp.js
CHANGED
|
@@ -252,6 +252,10 @@ class CoreApp {
|
|
|
252
252
|
* @returns Enhanced passphrase
|
|
253
253
|
*/
|
|
254
254
|
encryptionEnhance(passphrase) {
|
|
255
|
+
var _a, _b;
|
|
256
|
+
passphrase += passphrase.length;
|
|
257
|
+
if (this.authorized)
|
|
258
|
+
return passphrase + ((_b = (_a = this.userData) === null || _a === void 0 ? void 0 : _a.passphrase) !== null && _b !== void 0 ? _b : '');
|
|
255
259
|
return passphrase;
|
|
256
260
|
}
|
|
257
261
|
/**
|
package/lib/cjs/state/User.d.ts
CHANGED
package/lib/mjs/app/CoreApp.js
CHANGED
|
@@ -249,6 +249,10 @@ export class CoreApp {
|
|
|
249
249
|
* @returns Enhanced passphrase
|
|
250
250
|
*/
|
|
251
251
|
encryptionEnhance(passphrase) {
|
|
252
|
+
var _a, _b;
|
|
253
|
+
passphrase += passphrase.length;
|
|
254
|
+
if (this.authorized)
|
|
255
|
+
return passphrase + ((_b = (_a = this.userData) === null || _a === void 0 ? void 0 : _a.passphrase) !== null && _b !== void 0 ? _b : '');
|
|
252
256
|
return passphrase;
|
|
253
257
|
}
|
|
254
258
|
/**
|
package/lib/mjs/state/User.d.ts
CHANGED
package/package.json
CHANGED
package/src/app/CoreApp.ts
CHANGED
|
@@ -713,6 +713,9 @@ export abstract class CoreApp<
|
|
|
713
713
|
* @returns Enhanced passphrase
|
|
714
714
|
*/
|
|
715
715
|
protected encryptionEnhance(passphrase: string) {
|
|
716
|
+
passphrase += passphrase.length;
|
|
717
|
+
if (this.authorized)
|
|
718
|
+
return passphrase + (this.userData?.passphrase ?? '');
|
|
716
719
|
return passphrase;
|
|
717
720
|
}
|
|
718
721
|
|