@etsoo/appscript 1.1.72 → 1.1.73

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.
@@ -154,6 +154,8 @@ class CoreApp {
154
154
  }
155
155
  if (callback)
156
156
  callback(false);
157
+ // Clear device id
158
+ shared_1.StorageUtils.setLocalData(this.deviceIdField, null);
157
159
  return;
158
160
  }
159
161
  this.initCallUpdate(result.data, data.timestamp);
@@ -151,6 +151,8 @@ export class CoreApp {
151
151
  }
152
152
  if (callback)
153
153
  callback(false);
154
+ // Clear device id
155
+ StorageUtils.setLocalData(this.deviceIdField, null);
154
156
  return;
155
157
  }
156
158
  this.initCallUpdate(result.data, data.timestamp);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.1.72",
3
+ "version": "1.1.73",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -658,6 +658,9 @@ export abstract class CoreApp<
658
658
 
659
659
  if (callback) callback(false);
660
660
 
661
+ // Clear device id
662
+ StorageUtils.setLocalData(this.deviceIdField, null);
663
+
661
664
  return;
662
665
  }
663
666