@multiplatform.one/keycloak 0.3.17 → 0.3.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplatform.one/keycloak",
3
- "version": "0.3.17",
3
+ "version": "0.3.19",
4
4
  "description": "keycloak client for multiplatform.one ecosystem",
5
5
  "main": "dist/lib",
6
6
  "module": "dist/esm",
@@ -67,7 +67,7 @@
67
67
  "@types/lodash.camelcase": "^4.3.7",
68
68
  "@types/lodash.startcase": "^4.4.7",
69
69
  "@types/react": "^18.2.7",
70
- "@types/react-native": "^0.72.1",
70
+ "@types/react-native": "^0.72.2",
71
71
  "@typescript-eslint/eslint-plugin": "^5.59.7",
72
72
  "@typescript-eslint/parser": "^5.59.7",
73
73
  "babel-plugin-fully-specified": "^1.3.0",
@@ -83,7 +83,7 @@
83
83
  "jest-sonar-reporter": "^2.0.0",
84
84
  "lockfile-lint": "^4.10.5",
85
85
  "multiplatform.one": "^0.5.41",
86
- "next": "^13.4.3",
86
+ "next": "^13.4.4",
87
87
  "prettier": "^2.8.8",
88
88
  "react": "^18.2.0",
89
89
  "react-native": "~0.71.8",
@@ -115,8 +115,8 @@
115
115
  },
116
116
  "dependencies": {
117
117
  "@bitspur/keycloak-js": "^21.1.2",
118
- "@bitspur/react-keycloak-ssr": "^4.0.11",
119
- "@bitspur/react-keycloak-web": "^4.0.11",
118
+ "@bitspur/react-keycloak-ssr": "^4.0.13",
119
+ "@bitspur/react-keycloak-web": "^4.0.13",
120
120
  "core-js-pure": "^3.30.2",
121
121
  "expo-auth-session": "^4.1.0",
122
122
  "solito": "^3.2.6"
@@ -4,7 +4,7 @@
4
4
  * File Created: 08-11-2022 06:04:59
5
5
  * Author: Clay Risser
6
6
  * -----
7
- * Last Modified: 15-05-2023 18:10:07
7
+ * Last Modified: 25-05-2023 17:10:05
8
8
  * Modified By: Clay Risser
9
9
  * -----
10
10
  * Risser Labs LLC (c) Copyright 2021 - 2022
@@ -41,6 +41,6 @@ export function useKeycloak() {
41
41
  const { keycloak, initialized } = useReactKeycloak();
42
42
  return {
43
43
  ...keycloak,
44
- authenticated: initialized ? keycloak.authenticated : undefined,
44
+ authenticated: initialized ? keycloak?.authenticated : undefined,
45
45
  } as IKeycloak;
46
46
  }
@@ -256,7 +256,7 @@ export function KeycloakProvider({
256
256
  </SSRKeycloakProvider>
257
257
  );
258
258
  }
259
- if (!keycloak) return <>{children}</>;
259
+ if (!keycloak) return <LoadingComponent />;
260
260
  return (
261
261
  <ReactKeycloakProvider
262
262
  LoadingComponent={<LoadingComponent />}