@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 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
- // hasExpoAuthSession()
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* () {
@@ -2,7 +2,7 @@ import {
2
2
  createCoreStackNavigator,
3
3
  createNativeStackCoreNavigator,
4
4
  createStackCoreNavigator
5
- } from "../chunk-PA36224F.js";
5
+ } from "../chunk-RTP2P665.js";
6
6
  import "../chunk-6JM64RKR.js";
7
7
  import "../chunk-AK7PA4BE.js";
8
8
  import "../chunk-RSHKFTQY.js";
@@ -2,7 +2,7 @@ import {
2
2
  createCoreStackNavigator,
3
3
  createNativeStackCoreNavigator,
4
4
  createStackCoreNavigator
5
- } from "../chunk-PA36224F.js";
5
+ } from "../chunk-RTP2P665.js";
6
6
  import "../chunk-6JM64RKR.js";
7
7
  import "../chunk-AK7PA4BE.js";
8
8
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CreateIncidentScreen
3
- } from "../../../chunk-PA36224F.js";
3
+ } from "../../../chunk-RTP2P665.js";
4
4
  import "../../../chunk-6JM64RKR.js";
5
5
  import "../../../chunk-AK7PA4BE.js";
6
6
  import "../../../chunk-RSHKFTQY.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createIncident
3
- } from "../../../chunk-PA36224F.js";
3
+ } from "../../../chunk-RTP2P665.js";
4
4
  import "../../../chunk-6JM64RKR.js";
5
5
  import "../../../chunk-AK7PA4BE.js";
6
6
  import "../../../chunk-RSHKFTQY.js";
package/dist/index.js CHANGED
@@ -20,7 +20,7 @@ import {
20
20
  trackCustom,
21
21
  trackLongTerm,
22
22
  trackShortTerm
23
- } from "./chunk-PA36224F.js";
23
+ } from "./chunk-RTP2P665.js";
24
24
  import "./chunk-6JM64RKR.js";
25
25
  import "./chunk-AK7PA4BE.js";
26
26
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createMadCoreNativeStackNavigator,
3
3
  createMadCoreStackNavigator
4
- } from "../chunk-PA36224F.js";
4
+ } from "../chunk-RTP2P665.js";
5
5
  import "../chunk-6JM64RKR.js";
6
6
  import "../chunk-AK7PA4BE.js";
7
7
  import "../chunk-RSHKFTQY.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@equinor/mad-core",
3
3
  "description": "Core library for the Mobile App Delivery team",
4
- "version": "0.16.5",
4
+ "version": "0.16.7",
5
5
  "author": {
6
6
  "name": "Equinor Mobile App Delivery team (MAD)"
7
7
  },