@iblai/iblai-js 1.22.5 → 1.22.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.
@@ -141391,8 +141391,7 @@ function PoliciesTab({ tenant }) {
141391
141391
  const [showUserSearch, setShowUserSearch] = useState(false);
141392
141392
  const [showGroupSearch, setShowGroupSearch] = useState(false);
141393
141393
  const [deletingPolicyId, setDeletingPolicyId] = useState(null);
141394
- // Fetch policy details when editing
141395
- const { data: policyDetails } = useGetRbacPolicyDetailsQuery({ id: editingPolicyId, platform_key: tenant }, { skip: !editingPolicyId });
141394
+ const { currentData: policyDetails } = useGetRbacPolicyDetailsQuery({ id: editingPolicyId, platform_key: tenant }, { skip: !editingPolicyId });
141396
141395
  // Debounce role search and query the roles endpoint with the search term
141397
141396
  useEffect(() => {
141398
141397
  const handler = setTimeout(() => {
@@ -176217,8 +176217,7 @@ function PoliciesTab({ tenant }) {
176217
176217
  const [showUserSearch, setShowUserSearch] = useState(false);
176218
176218
  const [showGroupSearch, setShowGroupSearch] = useState(false);
176219
176219
  const [deletingPolicyId, setDeletingPolicyId] = useState(null);
176220
- // Fetch policy details when editing
176221
- const { data: policyDetails } = useGetRbacPolicyDetailsQuery({ id: editingPolicyId, platform_key: tenant }, { skip: !editingPolicyId });
176220
+ const { currentData: policyDetails } = useGetRbacPolicyDetailsQuery({ id: editingPolicyId, platform_key: tenant }, { skip: !editingPolicyId });
176222
176221
  // Debounce role search and query the roles endpoint with the search term
176223
176222
  useEffect(() => {
176224
176223
  const handler = setTimeout(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-js",
3
- "version": "1.22.5",
3
+ "version": "1.22.6",
4
4
  "description": "Unified JavaScript SDK for IBL.ai — re-exports data-layer, web-containers, and web-utils under a single package",
5
5
  "type": "module",
6
6
  "engines": {
@@ -68,8 +68,8 @@
68
68
  "winston": "3.19.0",
69
69
  "@iblai/data-layer": "1.9.2",
70
70
  "@iblai/mcp": "1.7.8",
71
- "@iblai/web-containers": "1.12.2",
72
- "@iblai/web-utils": "1.11.12"
71
+ "@iblai/web-utils": "1.11.12",
72
+ "@iblai/web-containers": "1.12.3"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "@radix-ui/react-dialog": "^1.1.7",