@equinor/mad-core 0.16.5 → 0.16.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/CHANGELOG.md +16 -0
- package/dist/{chunk-PA36224F.js → chunk-RTP2P665.js} +4 -18
- package/dist/components/createCoreStackNavigator.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/screens/create-incident/CreateIncidentScreen.js +1 -1
- package/dist/components/screens/create-incident/createIncident.js +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/createMadCoreNavigator.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @equinor/mad-core
|
|
2
2
|
|
|
3
|
+
## 0.16.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b2bf467: get account web function bug fix
|
|
8
|
+
- Updated dependencies [b2bf467]
|
|
9
|
+
- @equinor/mad-auth@0.5.7
|
|
10
|
+
|
|
11
|
+
## 0.16.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- fafc79b: Refresh Token expiry bug fix
|
|
16
|
+
- Updated dependencies [fafc79b]
|
|
17
|
+
- @equinor/mad-auth@0.5.6
|
|
18
|
+
|
|
3
19
|
## 0.16.5
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -285,26 +285,12 @@ import {
|
|
|
285
285
|
import { addToast, ToastTypes, ToastType } from "@equinor/mad-toast";
|
|
286
286
|
import { MadAccount, MadAuthenticationResult } from "@equinor/mad-auth";
|
|
287
287
|
import { ExpoAuthSession } from "@equinor/mad-auth";
|
|
288
|
-
var authenticateSilently = (scopes) => (
|
|
289
|
-
|
|
290
|
-
ExpoAuthSession.authenticateSilently(scopes)
|
|
291
|
-
);
|
|
292
|
-
var getAccount = () => __async(null, null, function* () {
|
|
293
|
-
return (
|
|
294
|
-
// hasExpoAuthSession() ?
|
|
295
|
-
Promise.resolve(ExpoAuthSession.getAccount())
|
|
296
|
-
);
|
|
297
|
-
});
|
|
288
|
+
var authenticateSilently = (scopes) => ExpoAuthSession.authenticateSilently(scopes);
|
|
289
|
+
var getAccount = () => ExpoAuthSession.getAccount();
|
|
298
290
|
var signOut = () => __async(null, null, function* () {
|
|
299
|
-
return (
|
|
300
|
-
// hasExpoAuthSession() ?
|
|
301
|
-
ExpoAuthSession.signOut()
|
|
302
|
-
);
|
|
291
|
+
return ExpoAuthSession.signOut();
|
|
303
292
|
});
|
|
304
|
-
var authenticateInteractively = (scopes) => (
|
|
305
|
-
// hasExpoAuthSession()
|
|
306
|
-
ExpoAuthSession.authenticateInteractively(scopes)
|
|
307
|
-
);
|
|
293
|
+
var authenticateInteractively = (scopes) => ExpoAuthSession.authenticateInteractively(scopes);
|
|
308
294
|
|
|
309
295
|
// src/components/screens/create-incident/createIncident.ts
|
|
310
296
|
var createIncident = (data, env, serviceNow) => __async(null, null, function* () {
|
package/dist/components/index.js
CHANGED
package/dist/index.js
CHANGED