analytica.click 0.0.223 → 0.0.224

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1364,7 +1364,7 @@ var CognitoAuthProvider = ({
1364
1364
  (0, import_react7.useEffect)(() => {
1365
1365
  var _a2;
1366
1366
  const newT = (_a2 = user == null ? void 0 : user.jwt) == null ? void 0 : _a2.id_token;
1367
- if (newT !== idToken) {
1367
+ if (!!newT && !!idToken && newT !== idToken) {
1368
1368
  setIdToken(newT || "");
1369
1369
  }
1370
1370
  }, [idToken, setIdToken, user, (_a = user == null ? void 0 : user.jwt) == null ? void 0 : _a.id_token]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "analytica.click",
3
- "version": "0.0.223",
3
+ "version": "0.0.224",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",