@equinor/mad-auth 0.8.1 → 0.8.3
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 +27 -0
- package/dist/Expo-AuthSession/authenticationHandler/auth.js +3 -3
- package/dist/Expo-AuthSession/authenticationHandler/index.js +5 -5
- package/dist/Expo-AuthSession/authenticationHandler/web/authWeb.js +2 -2
- package/dist/Expo-AuthSession/authenticationHandler/web/index.js +2 -2
- package/dist/Expo-AuthSession/components/CorruptRefreshTokenButton.js +2 -2
- package/dist/Expo-AuthSession/components/LoginButton.js +7 -7
- package/dist/Expo-AuthSession/hooks/useAccount.js +6 -6
- package/dist/Expo-AuthSession/hooks/useAuthenticate.js +6 -6
- package/dist/Expo-AuthSession/index.js +15 -15
- package/dist/Expo-AuthSession/store/authStore.js +1 -1
- package/dist/Expo-AuthSession/utils/tokenRefresh.js +2 -2
- package/dist/{chunk-NIB4SJNW.js → chunk-3NCBRHAQ.js} +2 -2
- package/dist/{chunk-DKMZBOMM.js → chunk-AG3BX3L2.js} +11 -11
- package/dist/{chunk-IGJODDKF.js → chunk-ECOLSGEN.js} +2 -4
- package/dist/{chunk-26ZZDCTT.js → chunk-IUDKV64Q.js} +2 -1
- package/dist/{chunk-JRUTRXI6.js → chunk-Q64EZIDR.js} +1 -1
- package/dist/{chunk-PNCY5HPP.js → chunk-QVV74MBM.js} +1 -1
- package/dist/{chunk-PXGI4IWV.js → chunk-SWSCVTXM.js} +1 -1
- package/dist/{chunk-4YDX5Z52.js → chunk-U2WQTW7N.js} +2 -2
- package/dist/{chunk-CD2D2YCX.js → chunk-UZCTQZ7O.js} +2 -2
- package/dist/{chunk-LAMIO5KV.js → chunk-XABPO4E2.js} +1 -1
- package/dist/index.js +10 -10
- package/package.json +67 -67
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @equinor/mad-auth
|
|
2
2
|
|
|
3
|
+
## 0.8.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7c94990: eslint peer deps updated to allow apps to use later versions of eslint plugin. Removed
|
|
8
|
+
replace workspace:\* script from release workflow to ensure packages are locked to existing
|
|
9
|
+
versions to maintain backward compatibility. Also changed workspace:\* to workspace:~ which will
|
|
10
|
+
not pin packages and instead allow patch upgrades. v7 and v8 typescript will be supported going
|
|
11
|
+
forward
|
|
12
|
+
- Updated dependencies [7c94990]
|
|
13
|
+
- Updated dependencies [552edef]
|
|
14
|
+
- @equinor/mad-components@0.26.3
|
|
15
|
+
|
|
16
|
+
## 0.8.2
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- 9c0ac83: Migrated from react-native-markdown-display to react-native-enriched-markdown since the
|
|
21
|
+
former is not maintained any longer and includes vulnerabilities. Upgraded eslint libraries to fix
|
|
22
|
+
vulnerabilities as well.
|
|
23
|
+
- 8b4b42a: Fixed an intermittent bug causing a blur UI on Menus and similar components. The issue
|
|
24
|
+
was primarily reported on iOS 27 and seemed to be caused by the way Animation was implemented in
|
|
25
|
+
the PopinContainer component. Made modifications to the animation scaling to fix the bug
|
|
26
|
+
- Updated dependencies [9c0ac83]
|
|
27
|
+
- Updated dependencies [8b4b42a]
|
|
28
|
+
- @equinor/mad-components@0.26.2
|
|
29
|
+
|
|
3
30
|
## 0.8.1
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
initiateAuthenticationClient,
|
|
7
7
|
reset,
|
|
8
8
|
signOut
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-U2WQTW7N.js";
|
|
10
10
|
import "../../chunk-7NSJ6UAV.js";
|
|
11
11
|
import "../../chunk-ESTJUQRT.js";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-XABPO4E2.js";
|
|
13
|
+
import "../../chunk-IUDKV64Q.js";
|
|
14
14
|
import "../../chunk-AF7VKFEK.js";
|
|
15
15
|
import "../../chunk-CWMXXUWU.js";
|
|
16
16
|
export {
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
getAccount,
|
|
7
7
|
initiateAuthenticationClient,
|
|
8
8
|
signOut
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-3NCBRHAQ.js";
|
|
10
10
|
import "../../chunk-MVOBRSKE.js";
|
|
11
11
|
import {
|
|
12
12
|
getAccountWeb
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-ECOLSGEN.js";
|
|
14
14
|
import "../../chunk-PAED4QNA.js";
|
|
15
15
|
import "../../chunk-MWXZHQN3.js";
|
|
16
16
|
import "../../chunk-7SOSXNKP.js";
|
|
17
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-U2WQTW7N.js";
|
|
18
18
|
import "../../chunk-7NSJ6UAV.js";
|
|
19
19
|
import "../../chunk-ESTJUQRT.js";
|
|
20
|
-
import "../../chunk-
|
|
21
|
-
import "../../chunk-
|
|
20
|
+
import "../../chunk-XABPO4E2.js";
|
|
21
|
+
import "../../chunk-IUDKV64Q.js";
|
|
22
22
|
import "../../chunk-AF7VKFEK.js";
|
|
23
23
|
import "../../chunk-CWMXXUWU.js";
|
|
24
24
|
export {
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getAccountWeb,
|
|
8
8
|
initiateAuthenticationClientWeb,
|
|
9
9
|
signOutWeb
|
|
10
|
-
} from "../../../chunk-
|
|
10
|
+
} from "../../../chunk-ECOLSGEN.js";
|
|
11
11
|
import "../../../chunk-PAED4QNA.js";
|
|
12
12
|
import "../../../chunk-MWXZHQN3.js";
|
|
13
13
|
import "../../../chunk-7SOSXNKP.js";
|
|
14
|
-
import "../../../chunk-
|
|
14
|
+
import "../../../chunk-IUDKV64Q.js";
|
|
15
15
|
import "../../../chunk-AF7VKFEK.js";
|
|
16
16
|
import "../../../chunk-CWMXXUWU.js";
|
|
17
17
|
export {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getAccountWeb,
|
|
11
11
|
initiateAuthenticationClientWeb,
|
|
12
12
|
signOutWeb
|
|
13
|
-
} from "../../../chunk-
|
|
13
|
+
} from "../../../chunk-ECOLSGEN.js";
|
|
14
14
|
import "../../../chunk-PAED4QNA.js";
|
|
15
15
|
import {
|
|
16
16
|
Ios_MSALWebviewType,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
MSALPromptType
|
|
19
19
|
} from "../../../chunk-MWXZHQN3.js";
|
|
20
20
|
import "../../../chunk-7SOSXNKP.js";
|
|
21
|
-
import "../../../chunk-
|
|
21
|
+
import "../../../chunk-IUDKV64Q.js";
|
|
22
22
|
import "../../../chunk-AF7VKFEK.js";
|
|
23
23
|
import "../../../chunk-CWMXXUWU.js";
|
|
24
24
|
export {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoginButton
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-SWSCVTXM.js";
|
|
4
|
+
import "../../chunk-Q64EZIDR.js";
|
|
5
|
+
import "../../chunk-3NCBRHAQ.js";
|
|
6
6
|
import "../../chunk-MVOBRSKE.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-ECOLSGEN.js";
|
|
8
8
|
import "../../chunk-PAED4QNA.js";
|
|
9
9
|
import "../../chunk-MWXZHQN3.js";
|
|
10
10
|
import "../../chunk-7SOSXNKP.js";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-U2WQTW7N.js";
|
|
12
12
|
import "../../chunk-7NSJ6UAV.js";
|
|
13
13
|
import "../../chunk-ESTJUQRT.js";
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-XABPO4E2.js";
|
|
15
|
+
import "../../chunk-IUDKV64Q.js";
|
|
16
16
|
import "../../chunk-AF7VKFEK.js";
|
|
17
17
|
import "../../chunk-CWMXXUWU.js";
|
|
18
18
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAccount
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-UZCTQZ7O.js";
|
|
4
|
+
import "../../chunk-3NCBRHAQ.js";
|
|
5
5
|
import "../../chunk-MVOBRSKE.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-ECOLSGEN.js";
|
|
7
7
|
import "../../chunk-PAED4QNA.js";
|
|
8
8
|
import "../../chunk-MWXZHQN3.js";
|
|
9
9
|
import "../../chunk-7SOSXNKP.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-U2WQTW7N.js";
|
|
11
11
|
import "../../chunk-7NSJ6UAV.js";
|
|
12
12
|
import "../../chunk-ESTJUQRT.js";
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-XABPO4E2.js";
|
|
14
|
+
import "../../chunk-IUDKV64Q.js";
|
|
15
15
|
import "../../chunk-AF7VKFEK.js";
|
|
16
16
|
import "../../chunk-CWMXXUWU.js";
|
|
17
17
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAuthenticate
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-Q64EZIDR.js";
|
|
4
|
+
import "../../chunk-3NCBRHAQ.js";
|
|
5
5
|
import "../../chunk-MVOBRSKE.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-ECOLSGEN.js";
|
|
7
7
|
import "../../chunk-PAED4QNA.js";
|
|
8
8
|
import "../../chunk-MWXZHQN3.js";
|
|
9
9
|
import "../../chunk-7SOSXNKP.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-U2WQTW7N.js";
|
|
11
11
|
import "../../chunk-7NSJ6UAV.js";
|
|
12
12
|
import "../../chunk-ESTJUQRT.js";
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-XABPO4E2.js";
|
|
14
|
+
import "../../chunk-IUDKV64Q.js";
|
|
15
15
|
import "../../chunk-AF7VKFEK.js";
|
|
16
16
|
import "../../chunk-CWMXXUWU.js";
|
|
17
17
|
export {
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import "../chunk-
|
|
2
|
-
import {
|
|
3
|
-
useAccount
|
|
4
|
-
} from "../chunk-CD2D2YCX.js";
|
|
5
|
-
import "../chunk-NP4GJ5X5.js";
|
|
6
|
-
import {
|
|
7
|
-
CorruptRefreshToken
|
|
8
|
-
} from "../chunk-PNCY5HPP.js";
|
|
1
|
+
import "../chunk-AG3BX3L2.js";
|
|
9
2
|
import {
|
|
10
3
|
LoginButton
|
|
11
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-SWSCVTXM.js";
|
|
5
|
+
import {
|
|
6
|
+
useAccount
|
|
7
|
+
} from "../chunk-UZCTQZ7O.js";
|
|
12
8
|
import {
|
|
13
9
|
useAuthenticate
|
|
14
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-Q64EZIDR.js";
|
|
11
|
+
import "../chunk-NP4GJ5X5.js";
|
|
15
12
|
import {
|
|
16
13
|
authenticate,
|
|
17
14
|
authenticateInteractively,
|
|
@@ -20,18 +17,21 @@ import {
|
|
|
20
17
|
getAccount,
|
|
21
18
|
initiateAuthenticationClient,
|
|
22
19
|
signOut
|
|
23
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-3NCBRHAQ.js";
|
|
24
21
|
import "../chunk-MVOBRSKE.js";
|
|
25
22
|
import {
|
|
26
23
|
getAccountWeb
|
|
27
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-ECOLSGEN.js";
|
|
28
25
|
import "../chunk-PAED4QNA.js";
|
|
29
26
|
import "../chunk-MWXZHQN3.js";
|
|
30
27
|
import "../chunk-7SOSXNKP.js";
|
|
31
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-U2WQTW7N.js";
|
|
32
29
|
import "../chunk-7NSJ6UAV.js";
|
|
33
30
|
import "../chunk-ESTJUQRT.js";
|
|
34
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-XABPO4E2.js";
|
|
32
|
+
import {
|
|
33
|
+
CorruptRefreshToken
|
|
34
|
+
} from "../chunk-QVV74MBM.js";
|
|
35
35
|
import {
|
|
36
36
|
getAllTokens,
|
|
37
37
|
getConfig,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
setUserData,
|
|
54
54
|
setWebConfig,
|
|
55
55
|
useAuth
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-IUDKV64Q.js";
|
|
57
57
|
import "../chunk-AF7VKFEK.js";
|
|
58
58
|
import "../chunk-CWMXXUWU.js";
|
|
59
59
|
export {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getAccountWeb,
|
|
6
6
|
initiateAuthenticationClientWeb,
|
|
7
7
|
signOutWeb
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ECOLSGEN.js";
|
|
9
9
|
import {
|
|
10
10
|
authenticateInteractively,
|
|
11
11
|
authenticateSilently,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getAccount,
|
|
14
14
|
initiateAuthenticationClient,
|
|
15
15
|
signOut
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-U2WQTW7N.js";
|
|
17
17
|
import {
|
|
18
18
|
__async
|
|
19
19
|
} from "./chunk-CWMXXUWU.js";
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useAccount
|
|
3
|
-
} from "./chunk-CD2D2YCX.js";
|
|
4
|
-
import {
|
|
5
|
-
CorruptRefreshToken
|
|
6
|
-
} from "./chunk-PNCY5HPP.js";
|
|
7
1
|
import {
|
|
8
2
|
LoginButton
|
|
9
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SWSCVTXM.js";
|
|
4
|
+
import {
|
|
5
|
+
useAccount
|
|
6
|
+
} from "./chunk-UZCTQZ7O.js";
|
|
10
7
|
import {
|
|
11
8
|
useAuthenticate
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Q64EZIDR.js";
|
|
13
10
|
import {
|
|
14
11
|
authenticate,
|
|
15
12
|
authenticateInteractively,
|
|
@@ -18,10 +15,13 @@ import {
|
|
|
18
15
|
getAccount,
|
|
19
16
|
initiateAuthenticationClient,
|
|
20
17
|
signOut
|
|
21
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3NCBRHAQ.js";
|
|
22
19
|
import {
|
|
23
20
|
getAccountWeb
|
|
24
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ECOLSGEN.js";
|
|
22
|
+
import {
|
|
23
|
+
CorruptRefreshToken
|
|
24
|
+
} from "./chunk-QVV74MBM.js";
|
|
25
25
|
import {
|
|
26
26
|
getAllTokens,
|
|
27
27
|
getConfig,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
setUserData,
|
|
44
44
|
setWebConfig,
|
|
45
45
|
useAuth
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-IUDKV64Q.js";
|
|
47
47
|
import {
|
|
48
48
|
__export
|
|
49
49
|
} from "./chunk-CWMXXUWU.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
getWebConfig,
|
|
10
10
|
setWebConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IUDKV64Q.js";
|
|
12
12
|
import {
|
|
13
13
|
__async
|
|
14
14
|
} from "./chunk-CWMXXUWU.js";
|
|
@@ -56,9 +56,7 @@ function ensurePcaInitialized() {
|
|
|
56
56
|
if (!pca) {
|
|
57
57
|
throw new Error("Unable to authenticate, authentication client does not exist");
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
initPca = pca.init();
|
|
61
|
-
}
|
|
59
|
+
initPca != null ? initPca : initPca = pca.init();
|
|
62
60
|
return initPca;
|
|
63
61
|
}
|
|
64
62
|
function authenticationClientExistsWeb() {
|
|
@@ -70,12 +70,13 @@ var useAuth = create()(
|
|
|
70
70
|
)
|
|
71
71
|
);
|
|
72
72
|
var getToken = (scopes) => {
|
|
73
|
+
var _a;
|
|
73
74
|
const tokens = useAuth.getState().token;
|
|
74
75
|
const config = getConfig();
|
|
75
76
|
if (!scopes && !config) {
|
|
76
77
|
return tokens && tokens.length > 0 ? tokens[0] : null;
|
|
77
78
|
}
|
|
78
|
-
const currentScopes = scopes ? scopes : (config == null ? void 0 : config.scopes) ?
|
|
79
|
+
const currentScopes = scopes != null ? scopes : (_a = config == null ? void 0 : config.scopes) != null ? _a : [];
|
|
79
80
|
const omittedScopes = ["openid", "profile", "offline_access"];
|
|
80
81
|
const tokenWithScope = tokens ? tokens.find((t) => {
|
|
81
82
|
if (!t.scope) return false;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-ESTJUQRT.js";
|
|
7
7
|
import {
|
|
8
8
|
tokenRefresh
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XABPO4E2.js";
|
|
10
10
|
import {
|
|
11
11
|
getConfig,
|
|
12
12
|
getDiscovery,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
setRefreshToken,
|
|
24
24
|
setToken,
|
|
25
25
|
setUserData
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IUDKV64Q.js";
|
|
27
27
|
import {
|
|
28
28
|
__async,
|
|
29
29
|
__spreadProps,
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "./chunk-6F4PWJZI.js";
|
|
2
2
|
import {
|
|
3
3
|
Expo_AuthSession_exports
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-AG3BX3L2.js";
|
|
5
|
+
import "./chunk-SWSCVTXM.js";
|
|
6
|
+
import "./chunk-UZCTQZ7O.js";
|
|
7
|
+
import "./chunk-Q64EZIDR.js";
|
|
6
8
|
import "./chunk-NP4GJ5X5.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-PXGI4IWV.js";
|
|
9
|
-
import "./chunk-JRUTRXI6.js";
|
|
10
|
-
import "./chunk-NIB4SJNW.js";
|
|
9
|
+
import "./chunk-3NCBRHAQ.js";
|
|
11
10
|
import "./chunk-MVOBRSKE.js";
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-ECOLSGEN.js";
|
|
13
12
|
import "./chunk-PAED4QNA.js";
|
|
14
13
|
import "./chunk-MWXZHQN3.js";
|
|
15
14
|
import "./chunk-7SOSXNKP.js";
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-U2WQTW7N.js";
|
|
17
16
|
import "./chunk-7NSJ6UAV.js";
|
|
18
17
|
import "./chunk-ESTJUQRT.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-XABPO4E2.js";
|
|
19
|
+
import "./chunk-QVV74MBM.js";
|
|
20
|
+
import "./chunk-IUDKV64Q.js";
|
|
21
21
|
import "./chunk-AF7VKFEK.js";
|
|
22
22
|
import "./chunk-CWMXXUWU.js";
|
|
23
23
|
export {
|
package/package.json
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
2
|
+
"name": "@equinor/mad-auth",
|
|
3
|
+
"description": "An authentication library that uses expo-auth-session (mobile) and @azure/msal-browser (web) under the hood",
|
|
4
|
+
"version": "0.8.3",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Equinor Mobile App Delivery team (MAD)"
|
|
7
|
+
},
|
|
8
|
+
"bugs": "https://github.com/equinor/mad/issues",
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@equinor/mad-components": "~0.26.3",
|
|
11
|
+
"@react-native-async-storage/async-storage": "2.2.0",
|
|
12
|
+
"@types/aes-js": "^3.1.4",
|
|
13
|
+
"aes-js": "^3.1.2",
|
|
14
|
+
"core-js": "^3.37.0",
|
|
15
|
+
"expo-secure-store": "~57.0.3",
|
|
16
|
+
"jwt-decode": "^4.0.0",
|
|
17
|
+
"react-native-get-random-values": "^1.11.0",
|
|
18
|
+
"zustand": "^4.5.2"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@babel/core": "^7.25.2",
|
|
22
|
+
"@equinor/eslint-config-mad": "~0.4.3",
|
|
23
|
+
"@equinor/mad-tsconfig": "~0.0.0",
|
|
24
|
+
"@react-native/jest-preset": "~0.86.3",
|
|
25
|
+
"@testing-library/jest-native": "^5.4.3",
|
|
26
|
+
"@testing-library/react": "^14.0.0",
|
|
27
|
+
"@testing-library/react-native": "^12.3.0",
|
|
28
|
+
"@types/showdown": "^2.0.0",
|
|
29
|
+
"eslint": "^8.46.0",
|
|
30
|
+
"expo-auth-session": "~57.0.11",
|
|
31
|
+
"jest": "^29.7.0",
|
|
32
|
+
"jest-expo": "~57.0.5",
|
|
33
|
+
"react-test-renderer": "19.2.3",
|
|
34
|
+
"tsup": "^8.3.5"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"CODE_OF_CONDUCT.md",
|
|
38
|
+
"LICENSE",
|
|
39
|
+
"CHANGELOG.md",
|
|
40
|
+
"dist"
|
|
41
|
+
],
|
|
42
|
+
"homepage": "https://github.com/equinor/mad/",
|
|
43
|
+
"keywords": [
|
|
44
|
+
"authentication",
|
|
45
|
+
"msal",
|
|
46
|
+
"react native",
|
|
47
|
+
"typescript"
|
|
48
|
+
],
|
|
49
|
+
"license": "MIT",
|
|
50
|
+
"main": "./dist/index.js",
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"@azure/msal-browser": "^3.30.0",
|
|
53
|
+
"expo-auth-session": "~57.0.11",
|
|
54
|
+
"expo-crypto": "~57.0.2",
|
|
55
|
+
"react": "^19.2.0",
|
|
56
|
+
"react-dom": "^19.2.0",
|
|
57
|
+
"react-native": "~0.86.3"
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"build": "tsup-node && echo '\n ⚙️ Generating typescript declarations..' && tsc --project tsconfig.json --emitDeclarationOnly --declaration",
|
|
61
|
+
"clean": "rm -rf node_modules dist .turbo",
|
|
62
|
+
"dev": "tsup-node --watch --clean=false",
|
|
63
|
+
"lint": "eslint src/",
|
|
64
|
+
"test": "jest"
|
|
65
|
+
},
|
|
66
|
+
"type": "module",
|
|
67
|
+
"types": "./dist/index.d.ts"
|
|
68
|
+
}
|