@wireapp/core 42.26.0 → 42.26.1

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.
@@ -20,6 +20,7 @@ export declare const E2EIStorage: {
20
20
  certificateData: () => boolean;
21
21
  };
22
22
  remove: {
23
+ initialData: () => void;
23
24
  temporaryData: () => void;
24
25
  certificateData: () => void;
25
26
  all: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"E2EIStorage.d.ts","sourceRoot":"","sources":["../../../../../src/messagingProtocols/mls/E2EIdentityService/Storage/E2EIStorage.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,QAAQ,EAAkB,WAAW,EAAqB,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAuFzG,eAAO,MAAM,WAAW;;yBA3EK,MAAM;yBAEN,QAAQ;0BADP,SAAS;4BAEP,WAAW;4BACX,MAAM;;;2BA0BX,WAAW;+BAoBP,MAAM;;wBA9BJ,QAAQ;yBAoBP,SAAS;;;;;;;;;;;;CA4D1C,CAAC"}
1
+ {"version":3,"file":"E2EIStorage.d.ts","sourceRoot":"","sources":["../../../../../src/messagingProtocols/mls/E2EIdentityService/Storage/E2EIStorage.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,QAAQ,EAAkB,WAAW,EAAqB,SAAS,EAAC,MAAM,sBAAsB,CAAC;AA2FzG,eAAO,MAAM,WAAW;;yBA/EK,MAAM;yBAEN,QAAQ;0BADP,SAAS;4BAEP,WAAW;4BACX,MAAM;;;2BA0BX,WAAW;+BAoBP,MAAM;;wBA9BJ,QAAQ;yBAoBP,SAAS;;;;;;;;;;;;;CAiE1C,CAAC"}
@@ -79,11 +79,13 @@ const getCertificateData = () => {
79
79
  const atob = window.atob(data);
80
80
  return atob;
81
81
  };
82
+ const removeInitialData = () => {
83
+ storage.remove(InitialDataKey);
84
+ };
82
85
  const removeTemporaryData = () => {
83
86
  storage.remove(HandleKey);
84
87
  storage.remove(AuthDataKey);
85
88
  storage.remove(OderDataKey);
86
- storage.remove(InitialDataKey);
87
89
  };
88
90
  const removeCertificateData = () => {
89
91
  storage.remove(CertificateDataKey);
@@ -91,6 +93,7 @@ const removeCertificateData = () => {
91
93
  const removeAll = () => {
92
94
  removeTemporaryData();
93
95
  removeCertificateData();
96
+ removeInitialData();
94
97
  };
95
98
  exports.E2EIStorage = {
96
99
  store: {
@@ -113,6 +116,7 @@ exports.E2EIStorage = {
113
116
  certificateData: hasCertificateData,
114
117
  },
115
118
  remove: {
119
+ initialData: removeInitialData,
116
120
  temporaryData: removeTemporaryData,
117
121
  certificateData: removeCertificateData,
118
122
  all: removeAll,
package/package.json CHANGED
@@ -61,6 +61,6 @@
61
61
  "test:coverage": "jest --coverage",
62
62
  "watch": "tsc --watch"
63
63
  },
64
- "version": "42.26.0",
65
- "gitHead": "1e08169f812d1b037c67b3dd715df3ead3dfb683"
64
+ "version": "42.26.1",
65
+ "gitHead": "ddfa3bafa658dcbb46e005fc691d32b3dde172ae"
66
66
  }