@equinor/mad-core 0.9.0 → 0.9.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.
Files changed (105) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{chunk-Y57SGV7S.js → chunk-2AKTUI3M.js} +3 -3
  3. package/dist/{chunk-FJQRUO2H.js → chunk-3IIUMOPC.js} +2 -2
  4. package/dist/{chunk-2MSTFOYV.js → chunk-5E7LGWBD.js} +1 -1
  5. package/dist/{chunk-ZB37EIZB.js → chunk-5MQX5LPA.js} +1 -1
  6. package/dist/{chunk-XHIBLTJB.js → chunk-5Q7ZXDFE.js} +1 -1
  7. package/dist/{chunk-XTIPROH6.js → chunk-5SUL6W5R.js} +4 -4
  8. package/dist/{chunk-PLZOLKWV.js → chunk-63EIGFDT.js} +13 -13
  9. package/dist/{chunk-TIFYSLGL.js → chunk-64OQU7W4.js} +1 -1
  10. package/dist/{chunk-ZPP3I32E.js → chunk-6QME5SOM.js} +2 -2
  11. package/dist/{chunk-GHWLQBHQ.js → chunk-AJJ4VFS3.js} +1 -1
  12. package/dist/{chunk-DXJF3A5P.js → chunk-AQXI6FKQ.js} +3 -3
  13. package/dist/{chunk-SFNYXGCW.js → chunk-BPJB3ZGV.js} +1 -1
  14. package/dist/{chunk-V3VT6DL3.js → chunk-C5M5WFBT.js} +1 -1
  15. package/dist/{chunk-UNKQT4NR.js → chunk-CSBIMJ6T.js} +5 -5
  16. package/dist/{chunk-5KTSDIKN.js → chunk-CZAFV2L7.js} +3 -3
  17. package/dist/{chunk-SBABTTM2.js → chunk-FQO4P3OT.js} +3 -3
  18. package/dist/{chunk-DDRZ5T2A.js → chunk-KYZBCK2J.js} +9 -9
  19. package/dist/{chunk-SSSTWTHP.js → chunk-L434TQRF.js} +1 -1
  20. package/dist/{chunk-5WGIXIOJ.js → chunk-OG52JYYV.js} +4 -4
  21. package/dist/{chunk-Q4TXKXO3.js → chunk-QJDKYARO.js} +5 -5
  22. package/dist/{chunk-AGYAICBL.js → chunk-R3DSHL5M.js} +4 -4
  23. package/dist/{chunk-IC4W6HT2.js → chunk-RK5J3MVJ.js} +3 -3
  24. package/dist/{chunk-JMX5U6WW.js → chunk-ROKKC7LJ.js} +5 -5
  25. package/dist/{chunk-3PBVIKXC.js → chunk-RZQJYF22.js} +3 -3
  26. package/dist/{chunk-D2QHSXIY.js → chunk-T22JSZYY.js} +2 -2
  27. package/dist/{chunk-X5ADXHB3.js → chunk-T5FRJCLW.js} +4 -4
  28. package/dist/{chunk-WBZKEXKX.js → chunk-TACEYNQE.js} +5 -5
  29. package/dist/{chunk-6YLWO444.js → chunk-TYHV32QV.js} +1 -1
  30. package/dist/{chunk-TXA7IOCI.js → chunk-U4H7ZBNZ.js} +3 -3
  31. package/dist/{chunk-ZSUFR7LK.js → chunk-WLYQWDPT.js} +1 -1
  32. package/dist/{chunk-3BM4S2GG.js → chunk-WUCGJV35.js} +1 -1
  33. package/dist/{chunk-GZ724MTU.js → chunk-YYNDOD2M.js} +1 -1
  34. package/dist/{chunk-YZEMCMKV.js → chunk-ZPXPIE5I.js} +1 -1
  35. package/dist/{chunk-FW4GVJC7.js → chunk-ZWBWZKYN.js} +1 -1
  36. package/dist/components/EnvironmentBanner.js +3 -3
  37. package/dist/components/EnvironmentProvider.js +3 -3
  38. package/dist/components/ErrorBoundary.js +2 -2
  39. package/dist/components/NavigationContainer.js +2 -2
  40. package/dist/components/ToastEmitter.js +1 -1
  41. package/dist/components/createCoreStackNavigator.d.ts +4 -0
  42. package/dist/components/createCoreStackNavigator.js +34 -34
  43. package/dist/components/index.js +38 -38
  44. package/dist/components/navigation/MadCoreSubHeader.js +9 -9
  45. package/dist/components/navigation/coreRoutes.js +1 -1
  46. package/dist/components/navigation/index.js +10 -10
  47. package/dist/components/navigation/navigation-creators.js +10 -10
  48. package/dist/components/screens/AboutScreen.js +4 -4
  49. package/dist/components/screens/LoginScreen.js +5 -5
  50. package/dist/components/screens/create-incident/CreateIncidentScreen.js +7 -7
  51. package/dist/components/screens/create-incident/UserInfo.js +1 -1
  52. package/dist/components/screens/create-incident/createIncident.js +3 -3
  53. package/dist/components/screens/language/SelectLanguageScreen.js +7 -7
  54. package/dist/components/screens/language/components/SelectLanguageCellGroup.js +3 -3
  55. package/dist/components/screens/release-notes/ChangeLog.js +2 -2
  56. package/dist/components/screens/release-notes/ReleaseNotesScreen.js +10 -10
  57. package/dist/components/screens/release-notes/WhatsNewScreen.js +10 -10
  58. package/dist/components/screens/release-notes/fetchReleaseNotes.js +4 -4
  59. package/dist/components/screens/settings/Section.js +4 -4
  60. package/dist/components/screens/settings/SettingsScreen.js +7 -7
  61. package/dist/components/screens/settings/index.js +7 -7
  62. package/dist/components/screens/settings/renderCell.js +1 -1
  63. package/dist/components/screens/settings/useSignOut.js +4 -4
  64. package/dist/components/service-message/ServiceMessageBanner.js +7 -7
  65. package/dist/components/service-message/ServiceMessageProvider.js +5 -5
  66. package/dist/components/service-message/components/DisableableSwipeable.js +2 -2
  67. package/dist/components/service-message/components/ExpansionToggle.js +1 -1
  68. package/dist/components/service-message/hooks/useFetchServiceMessage.js +4 -4
  69. package/dist/components/service-message/utils/resolveMessageFromServiceMessage.js +1 -1
  70. package/dist/hooks/UseReleaseNotes.js +6 -6
  71. package/dist/hooks/index.js +7 -7
  72. package/dist/hooks/useAccountOrDemoAccount.js +3 -3
  73. package/dist/hooks/useCoreStackNavigation.js +1 -1
  74. package/dist/hooks/useNavigateFromLanguageSelectScreen.js +4 -4
  75. package/dist/hooks/useNavigateFromLoginScreen.js +4 -4
  76. package/dist/hooks/useNavigateFromWhatsNewScreen.js +4 -4
  77. package/dist/hooks/useScreenTitleFromDictionary.js +4 -4
  78. package/dist/index.js +42 -42
  79. package/dist/language/useDictionary.js +2 -2
  80. package/dist/store/demo-mode/demo-mode.js +1 -1
  81. package/dist/store/demo-mode/index.js +1 -1
  82. package/dist/store/index.js +2 -2
  83. package/dist/store/language/index.js +2 -2
  84. package/dist/store/language/language.js +2 -2
  85. package/dist/store/mad-config/hooks.js +2 -2
  86. package/dist/store/mad-config/index.js +2 -2
  87. package/dist/store/mad-config/mad-config.js +2 -2
  88. package/dist/store/release-notes/index.js +1 -1
  89. package/dist/store/release-notes/release-notes.js +1 -1
  90. package/dist/store/storage.js +1 -1
  91. package/dist/utils/createEnvironmentProxy.js +2 -2
  92. package/dist/utils/createMadCoreNavigator.js +27 -27
  93. package/dist/utils/dateUtils.js +1 -1
  94. package/dist/utils/getDefaultScreenOptionsForLoginScreen.js +1 -1
  95. package/dist/utils/getFinalSettingsConfig.js +1 -1
  96. package/dist/utils/getNavigationRouteForLoginScreen.js +1 -1
  97. package/dist/utils/getNavigationRouteForSelectLanguageScreen.js +1 -1
  98. package/dist/utils/getNavigationRouteForWhatsNewScreen.js +1 -1
  99. package/dist/utils/getPremadeSettings.js +1 -1
  100. package/dist/utils/getRedirectUriFromAuthConfig.js +1 -1
  101. package/dist/utils/getTopOffsetForToast.js +1 -1
  102. package/dist/utils/initiateAuthenticationClient.js +3 -3
  103. package/dist/utils/madCommonUtils.js +2 -2
  104. package/package.json +13 -13
  105. /package/dist/{chunk-WEAGW6MQ.js → chunk-LOPKRCGI.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @equinor/mad-core
2
2
 
3
+ ## 0.9.2
4
+
5
+ ### Patch Changes
6
+
7
+ - c9f698e: updated mad api base url
8
+ - Updated dependencies [dab732c]
9
+ - Updated dependencies [dab732c]
10
+ - Updated dependencies [00e6e0a]
11
+ - Updated dependencies [dab732c]
12
+ - Updated dependencies [00e6e0a]
13
+ - @equinor/mad-components@0.14.12
14
+ - @equinor/mad-auth@0.2.4
15
+ - @equinor/mad-toast@0.1.1
16
+ - @equinor/mad-insights@0.1.3
17
+ - @equinor/mad-navigation@0.3.1
18
+
19
+ ## 0.9.1
20
+
21
+ ### Patch Changes
22
+
23
+ - ff2a015: Fixed incident request url for the feedback screen
24
+
3
25
  ## 0.9.0
4
26
 
5
27
  ### Minor Changes
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-3WUJAVUO.js";
4
4
  import {
5
5
  createIncident
6
- } from "./chunk-AGYAICBL.js";
6
+ } from "./chunk-R3DSHL5M.js";
7
7
  import {
8
8
  useAccountOrDemoAccount
9
- } from "./chunk-GZ724MTU.js";
9
+ } from "./chunk-YYNDOD2M.js";
10
10
  import {
11
11
  useEnvironment,
12
12
  useServiceNow
13
- } from "./chunk-XHIBLTJB.js";
13
+ } from "./chunk-5Q7ZXDFE.js";
14
14
 
15
15
  // src/components/screens/create-incident/CreateIncidentScreen.tsx
16
16
  import React, { useState } from "react";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ServiceMessageBanner
3
- } from "./chunk-TXA7IOCI.js";
3
+ } from "./chunk-U4H7ZBNZ.js";
4
4
  import {
5
5
  EnvironmentBanner
6
- } from "./chunk-2MSTFOYV.js";
6
+ } from "./chunk-5E7LGWBD.js";
7
7
 
8
8
  // src/components/navigation/MadCoreSubHeader.tsx
9
9
  import React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useEnvironment
3
- } from "./chunk-XHIBLTJB.js";
3
+ } from "./chunk-5Q7ZXDFE.js";
4
4
 
5
5
  // src/components/EnvironmentBanner.tsx
6
6
  import React from "react";
@@ -6,7 +6,7 @@ var scopesRecord = {
6
6
  prod: ["0a429637-3fe1-4452-bd95-c87923ba340b/user_impersonation"]
7
7
  };
8
8
  var getMadCommonScopes = (env) => scopesRecord[env];
9
- var getMadCommonBaseUrl = (env) => `https://api-mad-api-${env.toLowerCase()}.radix.equinor.com/api/v1.1`;
9
+ var getMadCommonBaseUrl = (env) => `https://api-mad-api-${env}.radix.equinor.com/api/v1.1/`;
10
10
 
11
11
  export {
12
12
  getMadCommonScopes,
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  __export,
12
12
  __spreadValues
13
- } from "./chunk-WEAGW6MQ.js";
13
+ } from "./chunk-LOPKRCGI.js";
14
14
 
15
15
  // src/store/mad-config/mad-config.ts
16
16
  import { create } from "zustand";
@@ -9,15 +9,15 @@ import {
9
9
  enableDemoMode,
10
10
  getIsDemoModeEnabled
11
11
  } from "./chunk-UZ6YMQV2.js";
12
+ import {
13
+ useCoreStackNavigation
14
+ } from "./chunk-BIMOM43W.js";
12
15
  import {
13
16
  useAppVersion,
14
17
  useLanguage,
15
18
  useMadConfig,
16
19
  useNavigateToMainRoute
17
- } from "./chunk-XHIBLTJB.js";
18
- import {
19
- useCoreStackNavigation
20
- } from "./chunk-BIMOM43W.js";
20
+ } from "./chunk-5Q7ZXDFE.js";
21
21
 
22
22
  // src/hooks/useNavigateFromLoginScreen.ts
23
23
  var useNavigateFromLoginScreen = () => {
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  SelectLanguageScreen
3
- } from "./chunk-5WGIXIOJ.js";
3
+ } from "./chunk-OG52JYYV.js";
4
4
  import {
5
5
  ReleaseNotesScreen
6
- } from "./chunk-SBABTTM2.js";
6
+ } from "./chunk-FQO4P3OT.js";
7
7
  import {
8
8
  WhatsNewScreen
9
- } from "./chunk-DDRZ5T2A.js";
9
+ } from "./chunk-KYZBCK2J.js";
10
10
  import {
11
11
  CreateIncidentScreen
12
- } from "./chunk-Y57SGV7S.js";
12
+ } from "./chunk-2AKTUI3M.js";
13
13
  import {
14
14
  LoginScreen
15
- } from "./chunk-DXJF3A5P.js";
15
+ } from "./chunk-AQXI6FKQ.js";
16
16
  import {
17
17
  ServiceMessageProvider
18
- } from "./chunk-SFNYXGCW.js";
18
+ } from "./chunk-BPJB3ZGV.js";
19
19
  import {
20
20
  AboutScreen
21
- } from "./chunk-D2QHSXIY.js";
21
+ } from "./chunk-T22JSZYY.js";
22
22
  import {
23
23
  getDefaultScreenOptionsForLoginScreen
24
24
  } from "./chunk-RGJ4RWVB.js";
25
25
  import {
26
26
  EnvironmentProvider
27
- } from "./chunk-TIFYSLGL.js";
28
- import {
29
- ToastEmitter
30
- } from "./chunk-DEVBLCRV.js";
27
+ } from "./chunk-64OQU7W4.js";
31
28
  import {
32
29
  useMadConfig
33
- } from "./chunk-XHIBLTJB.js";
30
+ } from "./chunk-5Q7ZXDFE.js";
34
31
  import {
35
32
  CoreRoutes
36
33
  } from "./chunk-UKAZW3CQ.js";
34
+ import {
35
+ ToastEmitter
36
+ } from "./chunk-DEVBLCRV.js";
37
37
  import {
38
38
  __spreadProps,
39
39
  __spreadValues
40
- } from "./chunk-WEAGW6MQ.js";
40
+ } from "./chunk-LOPKRCGI.js";
41
41
 
42
42
  // src/utils/createMadCoreNavigator.tsx
43
43
  import React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useEnvironment
3
- } from "./chunk-XHIBLTJB.js";
3
+ } from "./chunk-5Q7ZXDFE.js";
4
4
 
5
5
  // src/components/EnvironmentProvider.tsx
6
6
  import { EnvironmentProvider as ProvideEnvironment } from "@equinor/mad-components";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getMadCommonBaseUrl
3
- } from "./chunk-ZB37EIZB.js";
3
+ } from "./chunk-5MQX5LPA.js";
4
4
  import {
5
5
  getConfig
6
- } from "./chunk-XHIBLTJB.js";
6
+ } from "./chunk-5Q7ZXDFE.js";
7
7
 
8
8
  // src/components/service-message/hooks/useFetchServiceMessage.ts
9
9
  import { useEffect, useRef, useState } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./chunk-WEAGW6MQ.js";
3
+ } from "./chunk-LOPKRCGI.js";
4
4
 
5
5
  // src/static/mock-data/whats-new.json
6
6
  var whats_new_exports = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  useNavigateFromLoginScreen
3
- } from "./chunk-XTIPROH6.js";
3
+ } from "./chunk-5SUL6W5R.js";
4
4
  import {
5
5
  getConfig,
6
6
  useAuthConfig,
7
7
  useDictionary,
8
8
  useLoginScreenConfig
9
- } from "./chunk-XHIBLTJB.js";
9
+ } from "./chunk-5Q7ZXDFE.js";
10
10
  import {
11
11
  __spreadProps,
12
12
  __spreadValues
13
- } from "./chunk-WEAGW6MQ.js";
13
+ } from "./chunk-LOPKRCGI.js";
14
14
 
15
15
  // src/components/screens/LoginScreen.tsx
16
16
  import { Button, EDSProvider, EDSStyleSheet, useStyles } from "@equinor/mad-components";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFetchServiceMessage
3
- } from "./chunk-ZPP3I32E.js";
3
+ } from "./chunk-6QME5SOM.js";
4
4
 
5
5
  // src/components/service-message/ServiceMessageProvider.tsx
6
6
  import React, { useContext } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MadCoreSubHeader
3
- } from "./chunk-FJQRUO2H.js";
3
+ } from "./chunk-3IIUMOPC.js";
4
4
 
5
5
  // src/components/navigation/navigation-creators.ts
6
6
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useSignOut
3
- } from "./chunk-WBZKEXKX.js";
3
+ } from "./chunk-TACEYNQE.js";
4
4
  import {
5
5
  SettingsSection
6
6
  } from "./chunk-YKLMUKP4.js";
@@ -9,17 +9,17 @@ import {
9
9
  } from "./chunk-7SJM4NDH.js";
10
10
  import {
11
11
  useScreenTitleFromDictionary
12
- } from "./chunk-5KTSDIKN.js";
12
+ } from "./chunk-CZAFV2L7.js";
13
13
  import {
14
14
  useAccountOrDemoAccount
15
- } from "./chunk-GZ724MTU.js";
15
+ } from "./chunk-YYNDOD2M.js";
16
16
  import {
17
17
  useDictionary,
18
18
  useSettingsScreenPremadeConfig
19
- } from "./chunk-XHIBLTJB.js";
19
+ } from "./chunk-5Q7ZXDFE.js";
20
20
  import {
21
21
  __spreadValues
22
- } from "./chunk-WEAGW6MQ.js";
22
+ } from "./chunk-LOPKRCGI.js";
23
23
 
24
24
  // src/components/screens/settings/SettingsScreen.tsx
25
25
  import React from "react";
@@ -1,9 +1,9 @@
1
- import {
2
- useDictionary
3
- } from "./chunk-XHIBLTJB.js";
4
1
  import {
5
2
  useCoreStackNavigation
6
3
  } from "./chunk-BIMOM43W.js";
4
+ import {
5
+ useDictionary
6
+ } from "./chunk-5Q7ZXDFE.js";
7
7
 
8
8
  // src/hooks/useScreenTitleFromDictionary.ts
9
9
  import { useLayoutEffect } from "react";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ChangeLog
3
- } from "./chunk-YZEMCMKV.js";
3
+ } from "./chunk-ZPXPIE5I.js";
4
4
  import {
5
5
  getShortDate
6
6
  } from "./chunk-OCWASWDK.js";
7
7
  import {
8
8
  useScreenTitleFromDictionary
9
- } from "./chunk-5KTSDIKN.js";
9
+ } from "./chunk-CZAFV2L7.js";
10
10
  import {
11
11
  useReleaseNotes
12
- } from "./chunk-3PBVIKXC.js";
12
+ } from "./chunk-RZQJYF22.js";
13
13
 
14
14
  // src/components/screens/release-notes/ReleaseNotesScreen.tsx
15
15
  import React from "react";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ChangeLog
3
- } from "./chunk-YZEMCMKV.js";
3
+ } from "./chunk-ZPXPIE5I.js";
4
4
  import {
5
5
  getShortDate
6
6
  } from "./chunk-OCWASWDK.js";
7
- import {
8
- useNavigateFromWhatsNewScreen
9
- } from "./chunk-X5ADXHB3.js";
10
7
  import {
11
8
  useScreenTitleFromDictionary
12
- } from "./chunk-5KTSDIKN.js";
9
+ } from "./chunk-CZAFV2L7.js";
13
10
  import {
14
11
  whats_new_exports
15
- } from "./chunk-GHWLQBHQ.js";
12
+ } from "./chunk-AJJ4VFS3.js";
16
13
  import {
17
14
  fetchReleaseNotes
18
- } from "./chunk-IC4W6HT2.js";
15
+ } from "./chunk-RK5J3MVJ.js";
19
16
  import {
20
17
  useReleaseNotesVersion
21
18
  } from "./chunk-5BVQKJQB.js";
19
+ import {
20
+ useNavigateFromWhatsNewScreen
21
+ } from "./chunk-T5FRJCLW.js";
22
22
  import {
23
23
  useDemoMode
24
24
  } from "./chunk-UZ6YMQV2.js";
@@ -26,11 +26,11 @@ import {
26
26
  useAppVersion,
27
27
  useEnvironment,
28
28
  useServicePortalName
29
- } from "./chunk-XHIBLTJB.js";
29
+ } from "./chunk-5Q7ZXDFE.js";
30
30
  import {
31
31
  __spreadProps,
32
32
  __spreadValues
33
- } from "./chunk-WEAGW6MQ.js";
33
+ } from "./chunk-LOPKRCGI.js";
34
34
 
35
35
  // src/components/screens/release-notes/WhatsNewScreen.tsx
36
36
  import React, { useEffect, useState } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useLanguage
3
- } from "./chunk-XHIBLTJB.js";
3
+ } from "./chunk-5Q7ZXDFE.js";
4
4
 
5
5
  // src/components/screens/language/components/SelectLanguageCellGroup.tsx
6
6
  import React from "react";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SelectLanguageCellGroup
3
- } from "./chunk-SSSTWTHP.js";
3
+ } from "./chunk-L434TQRF.js";
4
4
  import {
5
5
  useScreenTitleFromDictionary
6
- } from "./chunk-5KTSDIKN.js";
6
+ } from "./chunk-CZAFV2L7.js";
7
7
  import {
8
8
  useNavigateFromLanguageSelectScreen
9
- } from "./chunk-JMX5U6WW.js";
9
+ } from "./chunk-ROKKC7LJ.js";
10
10
  import {
11
11
  useDictionary,
12
12
  useLanguage
13
- } from "./chunk-XHIBLTJB.js";
13
+ } from "./chunk-5Q7ZXDFE.js";
14
14
 
15
15
  // src/components/screens/language/SelectLanguageScreen.tsx
16
16
  import React, { useState } from "react";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  initiateAuthenticationClient
3
- } from "./chunk-3BM4S2GG.js";
3
+ } from "./chunk-WUCGJV35.js";
4
4
  import {
5
5
  createNativeStackNavigator
6
- } from "./chunk-V3VT6DL3.js";
6
+ } from "./chunk-C5M5WFBT.js";
7
7
  import {
8
8
  createMadCoreNavigator
9
- } from "./chunk-PLZOLKWV.js";
9
+ } from "./chunk-63EIGFDT.js";
10
10
  import {
11
11
  setConfig
12
- } from "./chunk-XHIBLTJB.js";
12
+ } from "./chunk-5Q7ZXDFE.js";
13
13
  import {
14
14
  __spreadProps,
15
15
  __spreadValues
16
- } from "./chunk-WEAGW6MQ.js";
16
+ } from "./chunk-LOPKRCGI.js";
17
17
 
18
18
  // src/components/createCoreStackNavigator.tsx
19
19
  var createCoreStackNavigator = (config) => {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getMadCommonBaseUrl,
3
3
  getMadCommonScopes
4
- } from "./chunk-ZB37EIZB.js";
4
+ } from "./chunk-5MQX5LPA.js";
5
5
  import {
6
6
  __async
7
- } from "./chunk-WEAGW6MQ.js";
7
+ } from "./chunk-LOPKRCGI.js";
8
8
 
9
9
  // src/components/screens/create-incident/createIncident.ts
10
10
  import { authenticateSilently } from "@equinor/mad-auth";
@@ -14,11 +14,11 @@ var createIncident = (data, env, serviceNow) => __async(void 0, null, function*
14
14
  const authenticationResponse = yield authenticateSilently(scopes);
15
15
  if (!authenticationResponse)
16
16
  throw new Error("Unable to authenticate silently");
17
- const fetchResponse = yield fetch(`${baseUrl}ServiceNow/apps/${serviceNow}/incidents`, {
17
+ const fetchResponse = yield fetch(`${baseUrl}/ServiceNow/apps/${serviceNow}/incidents`, {
18
18
  method: "POST",
19
19
  body: JSON.stringify(data),
20
20
  headers: new Headers({
21
- "Accept": "application/json",
21
+ Accept: "application/json",
22
22
  "Content-Type": "application/json",
23
23
  Authorization: `Bearer ${authenticationResponse.accessToken}`
24
24
  })
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  getMadCommonBaseUrl,
3
3
  getMadCommonScopes
4
- } from "./chunk-ZB37EIZB.js";
4
+ } from "./chunk-5MQX5LPA.js";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-XHIBLTJB.js";
7
+ } from "./chunk-5Q7ZXDFE.js";
8
8
  import {
9
9
  __async
10
- } from "./chunk-WEAGW6MQ.js";
10
+ } from "./chunk-LOPKRCGI.js";
11
11
 
12
12
  // src/components/screens/release-notes/fetchReleaseNotes.ts
13
13
  import { authenticateSilently, ExpoAuthSession } from "@equinor/mad-auth";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  getNavigationRouteForSelectLanguageScreen
3
3
  } from "./chunk-ZWS33QDE.js";
4
+ import {
5
+ useCoreStackNavigation,
6
+ useCoreStackRoute
7
+ } from "./chunk-BIMOM43W.js";
4
8
  import {
5
9
  useNavigateToMainRoute
6
- } from "./chunk-XHIBLTJB.js";
10
+ } from "./chunk-5Q7ZXDFE.js";
7
11
  import {
8
12
  CoreRoutes
9
13
  } from "./chunk-UKAZW3CQ.js";
10
- import {
11
- useCoreStackNavigation,
12
- useCoreStackRoute
13
- } from "./chunk-BIMOM43W.js";
14
14
 
15
15
  // src/hooks/useNavigateFromLanguageSelectScreen.ts
16
16
  var useNavigateFromLanguageSelectScreen = () => {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  whats_new_exports
3
- } from "./chunk-GHWLQBHQ.js";
3
+ } from "./chunk-AJJ4VFS3.js";
4
4
  import {
5
5
  fetchAllReleaseNotes
6
- } from "./chunk-IC4W6HT2.js";
6
+ } from "./chunk-RK5J3MVJ.js";
7
7
  import {
8
8
  useDemoMode
9
9
  } from "./chunk-UZ6YMQV2.js";
10
10
  import {
11
11
  useEnvironment,
12
12
  useServicePortalName
13
- } from "./chunk-XHIBLTJB.js";
13
+ } from "./chunk-5Q7ZXDFE.js";
14
14
 
15
15
  // src/hooks/UseReleaseNotes.tsx
16
16
  import { useEffect, useMemo, useState } from "react";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getMadCommonBaseUrl
3
- } from "./chunk-ZB37EIZB.js";
3
+ } from "./chunk-5MQX5LPA.js";
4
4
  import {
5
5
  useAbout,
6
6
  useAppVersion,
7
7
  useEnvironment,
8
8
  useExperimentalFeatures
9
- } from "./chunk-XHIBLTJB.js";
9
+ } from "./chunk-5Q7ZXDFE.js";
10
10
 
11
11
  // src/components/screens/AboutScreen.tsx
12
12
  import React from "react";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  getNavigationRouteForWhatsNewScreen
3
3
  } from "./chunk-3JJAYLEH.js";
4
+ import {
5
+ useCoreStackNavigation
6
+ } from "./chunk-BIMOM43W.js";
4
7
  import {
5
8
  useLanguage,
6
9
  useMadConfig,
7
10
  useNavigateToMainRoute
8
- } from "./chunk-XHIBLTJB.js";
9
- import {
10
- useCoreStackNavigation
11
- } from "./chunk-BIMOM43W.js";
11
+ } from "./chunk-5Q7ZXDFE.js";
12
12
 
13
13
  // src/hooks/useNavigateFromWhatsNewScreen.ts
14
14
  var useNavigateFromWhatsNewScreen = () => {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useDemoMode
3
3
  } from "./chunk-UZ6YMQV2.js";
4
+ import {
5
+ useCoreStackNavigation
6
+ } from "./chunk-BIMOM43W.js";
4
7
  import {
5
8
  getConfig
6
- } from "./chunk-XHIBLTJB.js";
9
+ } from "./chunk-5Q7ZXDFE.js";
7
10
  import {
8
11
  CoreRoutes
9
12
  } from "./chunk-UKAZW3CQ.js";
10
- import {
11
- useCoreStackNavigation
12
- } from "./chunk-BIMOM43W.js";
13
13
  import {
14
14
  __async
15
- } from "./chunk-WEAGW6MQ.js";
15
+ } from "./chunk-LOPKRCGI.js";
16
16
 
17
17
  // src/components/screens/settings/useSignOut.ts
18
18
  import { useCallback } from "react";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __spreadProps,
3
3
  __spreadValues
4
- } from "./chunk-WEAGW6MQ.js";
4
+ } from "./chunk-LOPKRCGI.js";
5
5
 
6
6
  // src/components/ErrorBoundary.tsx
7
7
  import React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DisableableSwipeable
3
- } from "./chunk-ZSUFR7LK.js";
3
+ } from "./chunk-WLYQWDPT.js";
4
4
  import {
5
5
  ExpansionToggle
6
6
  } from "./chunk-YWPELSTX.js";
@@ -9,11 +9,11 @@ import {
9
9
  } from "./chunk-SHKOH7MA.js";
10
10
  import {
11
11
  useServiceMessageState
12
- } from "./chunk-SFNYXGCW.js";
12
+ } from "./chunk-BPJB3ZGV.js";
13
13
  import {
14
14
  __spreadProps,
15
15
  __spreadValues
16
- } from "./chunk-WEAGW6MQ.js";
16
+ } from "./chunk-LOPKRCGI.js";
17
17
 
18
18
  // src/components/service-message/ServiceMessageBanner.tsx
19
19
  import React from "react";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __objRest,
3
3
  __spreadValues
4
- } from "./chunk-WEAGW6MQ.js";
4
+ } from "./chunk-LOPKRCGI.js";
5
5
 
6
6
  // src/components/service-message/components/DisableableSwipeable.tsx
7
7
  import React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getConfig
3
- } from "./chunk-XHIBLTJB.js";
3
+ } from "./chunk-5Q7ZXDFE.js";
4
4
  import {
5
5
  getRedirectUriFromAuthConfig
6
6
  } from "./chunk-MODG2KVN.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-UZ6YMQV2.js";
4
4
  import {
5
5
  getConfig
6
- } from "./chunk-XHIBLTJB.js";
6
+ } from "./chunk-5Q7ZXDFE.js";
7
7
 
8
8
  // src/hooks/useAccountOrDemoAccount.ts
9
9
  import { ExpoAuthSession, useAccount } from "@equinor/mad-auth";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __spreadProps,
3
3
  __spreadValues
4
- } from "./chunk-WEAGW6MQ.js";
4
+ } from "./chunk-LOPKRCGI.js";
5
5
 
6
6
  // src/components/screens/release-notes/ChangeLog.tsx
7
7
  import React from "react";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __spreadProps,
3
3
  __spreadValues
4
- } from "./chunk-WEAGW6MQ.js";
4
+ } from "./chunk-LOPKRCGI.js";
5
5
 
6
6
  // src/components/NavigationContainer.tsx
7
7
  import React from "react";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  EnvironmentBanner
3
- } from "../chunk-2MSTFOYV.js";
4
- import "../chunk-XHIBLTJB.js";
3
+ } from "../chunk-5E7LGWBD.js";
4
+ import "../chunk-5Q7ZXDFE.js";
5
5
  import "../chunk-E6ZYHW72.js";
6
6
  import "../chunk-UKAZW3CQ.js";
7
7
  import "../chunk-MODG2KVN.js";
8
8
  import "../chunk-2OMVVDBU.js";
9
- import "../chunk-WEAGW6MQ.js";
9
+ import "../chunk-LOPKRCGI.js";
10
10
  export {
11
11
  EnvironmentBanner
12
12
  };