@etsoo/appscript 1.2.6 → 1.2.7
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 +7 -2
- package/lib/mjs/app/CoreApp.js +7 -2
- package/package.json +1 -1
- package/src/app/CoreApp.ts +10 -2
package/lib/cjs/app/CoreApp.js
CHANGED
|
@@ -149,8 +149,13 @@ class CoreApp {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
else {
|
|
152
|
-
//
|
|
153
|
-
|
|
152
|
+
// Duplicate tab, session data copied
|
|
153
|
+
// Remove the token, deviceId, and passphrase
|
|
154
|
+
this.storage.clear([
|
|
155
|
+
CoreApp.devicePassphraseField,
|
|
156
|
+
CoreApp.headerTokenField,
|
|
157
|
+
CoreApp.serversideDeviceIdField
|
|
158
|
+
], false);
|
|
154
159
|
this.passphrase = '';
|
|
155
160
|
}
|
|
156
161
|
}
|
package/lib/mjs/app/CoreApp.js
CHANGED
|
@@ -146,8 +146,13 @@ export class CoreApp {
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
else {
|
|
149
|
-
//
|
|
150
|
-
|
|
149
|
+
// Duplicate tab, session data copied
|
|
150
|
+
// Remove the token, deviceId, and passphrase
|
|
151
|
+
this.storage.clear([
|
|
152
|
+
CoreApp.devicePassphraseField,
|
|
153
|
+
CoreApp.headerTokenField,
|
|
154
|
+
CoreApp.serversideDeviceIdField
|
|
155
|
+
], false);
|
|
151
156
|
this.passphrase = '';
|
|
152
157
|
}
|
|
153
158
|
}
|
package/package.json
CHANGED
package/src/app/CoreApp.ts
CHANGED
|
@@ -690,8 +690,16 @@ export abstract class CoreApp<
|
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
} else {
|
|
693
|
-
//
|
|
694
|
-
|
|
693
|
+
// Duplicate tab, session data copied
|
|
694
|
+
// Remove the token, deviceId, and passphrase
|
|
695
|
+
this.storage.clear(
|
|
696
|
+
[
|
|
697
|
+
CoreApp.devicePassphraseField,
|
|
698
|
+
CoreApp.headerTokenField,
|
|
699
|
+
CoreApp.serversideDeviceIdField
|
|
700
|
+
],
|
|
701
|
+
false
|
|
702
|
+
);
|
|
695
703
|
this.passphrase = '';
|
|
696
704
|
}
|
|
697
705
|
}
|