@wireapp/core 42.26.1 → 42.26.2
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.
|
@@ -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;
|
|
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;;;2BAwBX,WAAW;+BAkBP,MAAM;;wBA3BJ,QAAQ;yBAkBP,SAAS;;;;;;;;;;;;;CAgE1C,CAAC"}
|
|
@@ -40,7 +40,6 @@ const getAndVerifyHandle = () => {
|
|
|
40
40
|
if (!handle) {
|
|
41
41
|
throw new Error('ACME: No handle found');
|
|
42
42
|
}
|
|
43
|
-
storage.remove(HandleKey);
|
|
44
43
|
const atob = window.atob(handle);
|
|
45
44
|
return atob;
|
|
46
45
|
};
|
|
@@ -49,7 +48,6 @@ const getAndVerifyAuthData = () => {
|
|
|
49
48
|
if (!data) {
|
|
50
49
|
throw new Error('ACME: AuthData not found');
|
|
51
50
|
}
|
|
52
|
-
storage.remove(AuthDataKey);
|
|
53
51
|
const atob = window.atob(data);
|
|
54
52
|
return E2EIStorage_schema_1.AuthDataSchema.parse(JSON.parse(atob));
|
|
55
53
|
};
|
|
@@ -58,7 +56,6 @@ const getInitialData = () => {
|
|
|
58
56
|
if (!data) {
|
|
59
57
|
throw new Error('ACME: InitialData not found');
|
|
60
58
|
}
|
|
61
|
-
storage.remove(InitialDataKey);
|
|
62
59
|
const atob = window.atob(data);
|
|
63
60
|
return E2EIStorage_schema_1.InitialDataSchema.parse(JSON.parse(atob));
|
|
64
61
|
};
|
|
@@ -67,7 +64,6 @@ const getAndVerifyOrderData = () => {
|
|
|
67
64
|
if (!data) {
|
|
68
65
|
throw new Error('ACME: OrderData not found');
|
|
69
66
|
}
|
|
70
|
-
storage.remove(OderDataKey);
|
|
71
67
|
const atob = window.atob(data);
|
|
72
68
|
return JSON.parse(atob);
|
|
73
69
|
};
|
package/package.json
CHANGED