@equinor/mad-core 0.16.5 → 0.16.6

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,13 @@
1
1
  # @equinor/mad-core
2
2
 
3
+ ## 0.16.6
4
+
5
+ ### Patch Changes
6
+
7
+ - fafc79b: Refresh Token expiry bug fix
8
+ - Updated dependencies [fafc79b]
9
+ - @equinor/mad-auth@0.5.6
10
+
3
11
  ## 0.16.5
4
12
 
5
13
  ### Patch Changes
@@ -285,26 +285,14 @@ 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
- );
288
+ var authenticateSilently = (scopes) => ExpoAuthSession.authenticateSilently(scopes);
292
289
  var getAccount = () => __async(null, null, function* () {
293
- return (
294
- // hasExpoAuthSession() ?
295
- Promise.resolve(ExpoAuthSession.getAccount())
296
- );
290
+ return Promise.resolve(ExpoAuthSession.getAccount());
297
291
  });
298
292
  var signOut = () => __async(null, null, function* () {
299
- return (
300
- // hasExpoAuthSession() ?
301
- ExpoAuthSession.signOut()
302
- );
293
+ return ExpoAuthSession.signOut();
303
294
  });
304
- var authenticateInteractively = (scopes) => (
305
- // hasExpoAuthSession()
306
- ExpoAuthSession.authenticateInteractively(scopes)
307
- );
295
+ var authenticateInteractively = (scopes) => ExpoAuthSession.authenticateInteractively(scopes);
308
296
 
309
297
  // src/components/screens/create-incident/createIncident.ts
310
298
  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-Q2Z4GOVU.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-Q2Z4GOVU.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-Q2Z4GOVU.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-Q2Z4GOVU.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-Q2Z4GOVU.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-Q2Z4GOVU.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.6",
5
5
  "author": {
6
6
  "name": "Equinor Mobile App Delivery team (MAD)"
7
7
  },