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.js
CHANGED
|
@@ -4953,6 +4953,7 @@ const AcademeAuthProvider = ({ realm, hubUrl, children, clientId, keycloakUrl, a
|
|
|
4953
4953
|
onSigninCallback: () => {
|
|
4954
4954
|
window.history.replaceState({}, document.title, window.location.pathname);
|
|
4955
4955
|
},
|
|
4956
|
+
automaticSilentRenew: true,
|
|
4956
4957
|
};
|
|
4957
4958
|
return (jsxRuntime.jsx(AuthProvider, { ...oidcConfig, children: jsxRuntime.jsx(SecurityProvider, { hubUrl: hubUrl, apiBaseUrl: apiBaseUrl, skipApiUserFetch: skipApiUserFetch, children: children }) }));
|
|
4958
4959
|
};
|
|
@@ -4970,6 +4971,7 @@ const SecurityContext = React2.createContext({
|
|
|
4970
4971
|
services: null,
|
|
4971
4972
|
accessToken: undefined,
|
|
4972
4973
|
});
|
|
4974
|
+
console.log("hey!!");
|
|
4973
4975
|
// Função pura fora do componente - sem re-criação
|
|
4974
4976
|
const decodeAccessToken = (token) => {
|
|
4975
4977
|
if (!token)
|