@equinor/mad-auth 0.7.0 → 0.8.0

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,22 @@
1
1
  # @equinor/mad-auth
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6a0179e: Updating minor versions since we are upgrading to Expo 57
8
+
9
+ ### Patch Changes
10
+
11
+ - 030b1d0: jest plugin preset updated
12
+ - 030b1d0: Packages upgraded to support expo 57
13
+ - fd0806d: Root Modal component updated
14
+ - Updated dependencies [030b1d0]
15
+ - Updated dependencies [030b1d0]
16
+ - Updated dependencies [fd0806d]
17
+ - Updated dependencies [6a0179e]
18
+ - @equinor/mad-components@0.26.0
19
+
3
20
  ## 0.7.0
4
21
 
5
22
  ### Minor Changes
@@ -1,14 +1,17 @@
1
- import "../chunk-2DUW4YVG.js";
2
- import {
3
- LoginButton
4
- } from "../chunk-PXGI4IWV.js";
1
+ import "../chunk-DKMZBOMM.js";
5
2
  import {
6
3
  useAccount
7
4
  } from "../chunk-CD2D2YCX.js";
5
+ import "../chunk-NP4GJ5X5.js";
6
+ import {
7
+ CorruptRefreshToken
8
+ } from "../chunk-PNCY5HPP.js";
9
+ import {
10
+ LoginButton
11
+ } from "../chunk-PXGI4IWV.js";
8
12
  import {
9
13
  useAuthenticate
10
14
  } from "../chunk-JRUTRXI6.js";
11
- import "../chunk-NP4GJ5X5.js";
12
15
  import {
13
16
  authenticate,
14
17
  authenticateInteractively,
@@ -29,9 +32,6 @@ import "../chunk-4YDX5Z52.js";
29
32
  import "../chunk-7NSJ6UAV.js";
30
33
  import "../chunk-ESTJUQRT.js";
31
34
  import "../chunk-LAMIO5KV.js";
32
- import {
33
- CorruptRefreshToken
34
- } from "../chunk-PNCY5HPP.js";
35
35
  import {
36
36
  getAllTokens,
37
37
  getConfig,
package/dist/index.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import "./chunk-6F4PWJZI.js";
2
2
  import {
3
3
  Expo_AuthSession_exports
4
- } from "./chunk-2DUW4YVG.js";
5
- import "./chunk-PXGI4IWV.js";
4
+ } from "./chunk-DKMZBOMM.js";
6
5
  import "./chunk-CD2D2YCX.js";
7
- import "./chunk-JRUTRXI6.js";
8
6
  import "./chunk-NP4GJ5X5.js";
7
+ import "./chunk-PNCY5HPP.js";
8
+ import "./chunk-PXGI4IWV.js";
9
+ import "./chunk-JRUTRXI6.js";
9
10
  import "./chunk-NIB4SJNW.js";
10
11
  import "./chunk-MVOBRSKE.js";
11
12
  import "./chunk-IGJODDKF.js";
@@ -16,7 +17,6 @@ import "./chunk-4YDX5Z52.js";
16
17
  import "./chunk-7NSJ6UAV.js";
17
18
  import "./chunk-ESTJUQRT.js";
18
19
  import "./chunk-LAMIO5KV.js";
19
- import "./chunk-PNCY5HPP.js";
20
20
  import "./chunk-26ZZDCTT.js";
21
21
  import "./chunk-AF7VKFEK.js";
22
22
  import "./chunk-CWMXXUWU.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@equinor/mad-auth",
3
3
  "description": "An authentication library that uses expo-auth-session (mobile) and @azure/msal-browser (web) under the hood",
4
- "version": "0.7.0",
4
+ "version": "0.8.0",
5
5
  "author": {
6
6
  "name": "Equinor Mobile App Delivery team (MAD)"
7
7
  },
@@ -12,7 +12,7 @@
12
12
  "@types/aes-js": "^3.1.4",
13
13
  "aes-js": "^3.1.2",
14
14
  "core-js": "^3.37.0",
15
- "expo-secure-store": "~55.0.14",
15
+ "expo-secure-store": "~57.0.3",
16
16
  "jwt-decode": "^4.0.0",
17
17
  "react-native-get-random-values": "^1.11.0",
18
18
  "zustand": "^4.5.2"
@@ -21,15 +21,16 @@
21
21
  "@babel/core": "^7.25.2",
22
22
  "@equinor/eslint-config-mad": "*",
23
23
  "@equinor/mad-tsconfig": "*",
24
+ "@react-native/jest-preset": "~0.86.3",
24
25
  "@testing-library/jest-native": "^5.4.3",
25
26
  "@testing-library/react": "^14.0.0",
26
27
  "@testing-library/react-native": "^12.3.0",
27
28
  "@types/showdown": "^2.0.0",
28
29
  "eslint": "^8.46.0",
29
- "expo-auth-session": "~55.0.15",
30
+ "expo-auth-session": "~57.0.11",
30
31
  "jest": "^29.7.0",
31
- "jest-expo": "~55.0.16",
32
- "react-test-renderer": "19.0.0",
32
+ "jest-expo": "~57.0.5",
33
+ "react-test-renderer": "19.2.3",
33
34
  "tsup": "^8.3.5"
34
35
  },
35
36
  "files": [
@@ -49,11 +50,11 @@
49
50
  "main": "./dist/index.js",
50
51
  "peerDependencies": {
51
52
  "@azure/msal-browser": "^3.30.0",
52
- "expo-auth-session": "~55.0.15",
53
- "expo-crypto": "~55.0.14",
53
+ "expo-auth-session": "~57.0.11",
54
+ "expo-crypto": "~57.0.2",
54
55
  "react": "^19.2.0",
55
56
  "react-dom": "^19.2.0",
56
- "react-native": "~0.83.6"
57
+ "react-native": "~0.86.3"
57
58
  },
58
59
  "scripts": {
59
60
  "build": "tsup-node && echo '\n ⚙️ Generating typescript declarations..' && tsc --project tsconfig.json --emitDeclarationOnly --declaration",
@@ -1,9 +1,12 @@
1
- import {
2
- LoginButton
3
- } from "./chunk-PXGI4IWV.js";
4
1
  import {
5
2
  useAccount
6
3
  } from "./chunk-CD2D2YCX.js";
4
+ import {
5
+ CorruptRefreshToken
6
+ } from "./chunk-PNCY5HPP.js";
7
+ import {
8
+ LoginButton
9
+ } from "./chunk-PXGI4IWV.js";
7
10
  import {
8
11
  useAuthenticate
9
12
  } from "./chunk-JRUTRXI6.js";
@@ -19,9 +22,6 @@ import {
19
22
  import {
20
23
  getAccountWeb
21
24
  } from "./chunk-IGJODDKF.js";
22
- import {
23
- CorruptRefreshToken
24
- } from "./chunk-PNCY5HPP.js";
25
25
  import {
26
26
  getAllTokens,
27
27
  getConfig,