@joai/react 1.0.5 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -1723,7 +1723,7 @@ function createLazyContentClient(env, team, apiToken) {
1723
1723
  },
1724
1724
  set onUnauthorized(value) {
1725
1725
  unauthorized = value;
1726
- if (real) real.http.onUnauthorized = value;
1726
+ if (real && value) real.http.onUnauthorized = value;
1727
1727
  }
1728
1728
  },
1729
1729
  content: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joai/react",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Reusable React building blocks for JoAi applications",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,8 +21,8 @@
21
21
  "test": "jest"
22
22
  },
23
23
  "dependencies": {
24
- "@joai/core": "^5.4.0",
25
- "@joai/sdk": "^13.0.0"
24
+ "@joai/core": "^5.4.6",
25
+ "@joai/sdk": "^14.0.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=18.0.0"