academe-kit 0.3.4 → 0.3.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/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +15 -15
package/dist/index.esm.js
CHANGED
|
@@ -4951,6 +4951,7 @@ const AcademeAuthProvider = ({ realm, hubUrl, children, clientId, keycloakUrl, a
|
|
|
4951
4951
|
onSigninCallback: () => {
|
|
4952
4952
|
window.history.replaceState({}, document.title, window.location.pathname);
|
|
4953
4953
|
},
|
|
4954
|
+
automaticSilentRenew: true,
|
|
4954
4955
|
};
|
|
4955
4956
|
return (jsx(AuthProvider, { ...oidcConfig, children: jsx(SecurityProvider, { hubUrl: hubUrl, apiBaseUrl: apiBaseUrl, skipApiUserFetch: skipApiUserFetch, children: children }) }));
|
|
4956
4957
|
};
|
|
@@ -4968,6 +4969,7 @@ const SecurityContext = createContext({
|
|
|
4968
4969
|
services: null,
|
|
4969
4970
|
accessToken: undefined,
|
|
4970
4971
|
});
|
|
4972
|
+
console.log("hey!!");
|
|
4971
4973
|
// Função pura fora do componente - sem re-criação
|
|
4972
4974
|
const decodeAccessToken = (token) => {
|
|
4973
4975
|
if (!token)
|