@iblai/web-utils 1.1.2 → 1.1.3

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 (113) hide show
  1. package/dist/data-layer/src/core/index.d.ts +7 -1
  2. package/dist/data-layer/src/features/analytics/constants.d.ts +6 -6
  3. package/dist/data-layer/src/features/analytics/types.d.ts +9 -0
  4. package/dist/data-layer/src/features/api-keys/api-slice.d.ts +72 -24
  5. package/dist/data-layer/src/features/apps/api-slice.d.ts +72 -24
  6. package/dist/data-layer/src/features/artifacts/api-slice.d.ts +1798 -0
  7. package/dist/data-layer/src/features/artifacts/constants.d.ts +42 -0
  8. package/dist/data-layer/src/features/artifacts/types.d.ts +37 -0
  9. package/dist/data-layer/src/features/auth/types.d.ts +1 -1
  10. package/dist/data-layer/src/features/billing/api-slice.d.ts +15 -5
  11. package/dist/data-layer/src/features/billing/constants.d.ts +16 -0
  12. package/dist/data-layer/src/features/billing/custom-api-slice.d.ts +634 -0
  13. package/dist/data-layer/src/features/billing/types.d.ts +35 -0
  14. package/dist/data-layer/src/features/career/api-slice.d.ts +342 -114
  15. package/dist/data-layer/src/features/catalog/api-slice.d.ts +1050 -317
  16. package/dist/data-layer/src/features/chat/api-slice.d.ts +204 -68
  17. package/dist/data-layer/src/features/chat-history/api-slice.d.ts +202 -60
  18. package/dist/data-layer/src/features/core/api-slice.d.ts +1143 -134
  19. package/dist/data-layer/src/features/core/custom-public-image-asset-api-slice.d.ts +60 -20
  20. package/dist/data-layer/src/features/credentials/api-slice.d.ts +3706 -146
  21. package/dist/data-layer/src/features/credentials/constants.d.ts +9 -1
  22. package/dist/data-layer/src/features/credentials/custom-api-slice.d.ts +535 -2
  23. package/dist/data-layer/src/features/credentials/types.d.ts +14 -0
  24. package/dist/data-layer/src/features/datasets/api-slice.d.ts +60 -197
  25. package/dist/data-layer/src/features/llms/api-slice.d.ts +60 -20
  26. package/dist/data-layer/src/features/mcp/api-slice.d.ts +2613 -0
  27. package/dist/data-layer/src/features/mcp/constants.d.ts +57 -0
  28. package/dist/data-layer/src/features/mcp/types.d.ts +176 -0
  29. package/dist/data-layer/src/features/memory/types.d.ts +1 -0
  30. package/dist/data-layer/src/features/mentor/api-slice.d.ts +1789 -473
  31. package/dist/data-layer/src/features/mentor/constants.d.ts +7 -1
  32. package/dist/data-layer/src/features/mentor/custom-api-slice.d.ts +162 -1
  33. package/dist/data-layer/src/features/mentor/types.d.ts +7 -1
  34. package/dist/data-layer/src/features/mentor-categories/api-slice.d.ts +117 -39
  35. package/dist/data-layer/src/features/moderation-logs/api-slice.d.ts +705 -0
  36. package/dist/data-layer/src/features/notifications/api-slice.d.ts +214 -86
  37. package/dist/data-layer/src/features/per-learner/api-slice.d.ts +174 -58
  38. package/dist/data-layer/src/features/platform/api-slice.d.ts +1568 -293
  39. package/dist/data-layer/src/features/platform/types.d.ts +13 -0
  40. package/dist/data-layer/src/features/prompts/api-slice.d.ts +249 -83
  41. package/dist/data-layer/src/features/reports/api-slice.d.ts +145 -41
  42. package/dist/data-layer/src/features/search/ai-search-api-slice.d.ts +399 -1
  43. package/dist/data-layer/src/features/search/api-slice.d.ts +117 -39
  44. package/dist/data-layer/src/features/search/constants.d.ts +10 -0
  45. package/dist/data-layer/src/features/search/types.d.ts +72 -0
  46. package/dist/data-layer/src/features/sessions/api-slice.d.ts +440 -46
  47. package/dist/data-layer/src/features/skills/api-slice.d.ts +231 -77
  48. package/dist/data-layer/src/features/tenant/api-slice.d.ts +123 -41
  49. package/dist/data-layer/src/features/tools/api-slice.d.ts +60 -20
  50. package/dist/data-layer/src/features/training-documents/api-slice.d.ts +141 -47
  51. package/dist/data-layer/src/features/user-invitations/api-slice.d.ts +66 -22
  52. package/dist/data-layer/src/index.d.ts +6 -0
  53. package/dist/index.d.ts +367 -33
  54. package/dist/index.esm.js +7619 -3934
  55. package/dist/index.esm.js.map +1 -1
  56. package/dist/index.js +7644 -3931
  57. package/dist/index.js.map +1 -1
  58. package/dist/package.json +22 -12
  59. package/dist/web-utils/src/__tests__/index.mobile.test.d.ts +7 -0
  60. package/dist/web-utils/src/__tests__/index.web.test.d.ts +8 -0
  61. package/dist/web-utils/src/constants/__tests__/chat.test.d.ts +1 -0
  62. package/dist/web-utils/src/constants/chat.d.ts +1 -1
  63. package/dist/web-utils/src/features/chat/__tests__/slice.test.d.ts +1 -0
  64. package/dist/web-utils/src/features/chat/slice.d.ts +37 -2
  65. package/dist/web-utils/src/features/csv/combine-csv.d.ts +35 -0
  66. package/dist/web-utils/src/features/csv/index.d.ts +1 -0
  67. package/dist/web-utils/src/features/files/__tests__/filesSlice.test.d.ts +1 -0
  68. package/dist/web-utils/src/features/index.d.ts +1 -0
  69. package/dist/web-utils/src/hoc/index.d.ts +2 -0
  70. package/dist/web-utils/src/hoc/with-permissions.d.ts +44 -0
  71. package/dist/web-utils/src/hooks/__tests__/use-mentor-settings.test.d.ts +1 -0
  72. package/dist/web-utils/src/hooks/chat/ollama-client.d.ts +57 -0
  73. package/dist/web-utils/src/hooks/chat/use-advanced-chat.d.ts +10 -4
  74. package/dist/web-utils/src/hooks/chat/use-advanced-chat.test.d.ts +1 -0
  75. package/dist/web-utils/src/hooks/chat/use-chat-v2.d.ts +59 -2
  76. package/dist/web-utils/src/hooks/chat/use-chat-v2.test.d.ts +1 -0
  77. package/dist/web-utils/src/hooks/chat/use-chat.d.ts +1 -0
  78. package/dist/web-utils/src/hooks/chat/use-get-chat-details.test.d.ts +1 -0
  79. package/dist/web-utils/src/hooks/chat/use-mentor-tools.d.ts +2 -0
  80. package/dist/web-utils/src/hooks/chat/use-mentor-tools.test.d.ts +1 -0
  81. package/dist/web-utils/src/hooks/index.d.ts +1 -0
  82. package/dist/web-utils/src/hooks/subscription-v2/constants.d.ts +5 -0
  83. package/dist/web-utils/src/hooks/subscription-v2/use-subscription-handler.d.ts +56 -1
  84. package/dist/web-utils/src/hooks/tenant-metadata/__tests__/config-loader.test.d.ts +10 -0
  85. package/dist/web-utils/src/hooks/tenant-metadata/__tests__/use-tenant-metadata.test.d.ts +1 -0
  86. package/dist/web-utils/src/hooks/tenant-metadata/use-tenant-metadata.d.ts +2 -1
  87. package/dist/web-utils/src/index.d.ts +1 -0
  88. package/dist/web-utils/src/index.mobile.d.ts +130 -10
  89. package/dist/web-utils/src/index.web.d.ts +174 -12
  90. package/dist/web-utils/src/providers/__tests__/mentor-provider.test.d.ts +1 -0
  91. package/dist/web-utils/src/providers/__tests__/tenant-provider.test.d.ts +1 -0
  92. package/dist/web-utils/src/providers/auth-provider.d.ts +5 -2
  93. package/dist/web-utils/src/providers/mentor-provider.d.ts +2 -1
  94. package/dist/web-utils/src/providers/tenant-provider.d.ts +7 -2
  95. package/dist/web-utils/src/types/index.d.ts +1 -0
  96. package/dist/web-utils/src/types/subscription.d.ts +21 -0
  97. package/dist/web-utils/src/utils/__tests__/auth.test.d.ts +1 -0
  98. package/dist/web-utils/src/utils/__tests__/constants.test.d.ts +1 -0
  99. package/dist/web-utils/src/utils/__tests__/helpers.test.d.ts +1 -0
  100. package/dist/web-utils/src/utils/__tests__/platform.test.d.ts +1 -0
  101. package/dist/web-utils/src/utils/constants.d.ts +1 -0
  102. package/dist/web-utils/src/utils/data/__tests__/advanced-tab.test.d.ts +1 -0
  103. package/dist/web-utils/src/utils/helpers.d.ts +6 -0
  104. package/dist/web-utils/src/utils/index.d.ts +1 -0
  105. package/dist/web-utils/src/utils/platform.d.ts +1 -0
  106. package/dist/web-utils/tests/hooks/chat/use-mentor-tools.test.d.ts +1 -0
  107. package/dist/web-utils/tests/hooks/subscription-v2/use-subscription-handler.test.d.ts +1 -0
  108. package/dist/web-utils/tests/hooks/use-mentor-settings.test.d.ts +1 -0
  109. package/dist/web-utils/tests/providers/mentor-provider.test.d.ts +1 -0
  110. package/dist/web-utils/tests/providers/tenant-provider.test.d.ts +1 -0
  111. package/dist/web-utils/tests/utils/helpers.test.d.ts +1 -0
  112. package/dist/web-utils/tsconfig.tsbuildinfo +1 -1
  113. package/package.json +22 -12
package/package.json CHANGED
@@ -1,38 +1,43 @@
1
1
  {
2
2
  "name": "@iblai/web-utils",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "files": [
8
8
  "dist"
9
9
  ],
10
+ "engines": {
11
+ "node": "25.3.0"
12
+ },
10
13
  "keywords": [],
11
14
  "author": "",
12
15
  "license": "ISC",
13
16
  "description": "IBL Web Utils",
14
17
  "devDependencies": {
15
- "@eslint/js": "^9.39.1",
18
+ "@eslint/js": "^9.39.2",
16
19
  "@rollup/plugin-commonjs": "^28.0.9",
17
20
  "@rollup/plugin-json": "^6.1.0",
18
21
  "@rollup/plugin-node-resolve": "^16.0.3",
19
22
  "@rollup/plugin-typescript": "^12.3.0",
23
+ "@tauri-apps/api": "^2.9.1",
20
24
  "@testing-library/jest-dom": "6.6.3",
21
25
  "@testing-library/react": "16.3.0",
22
26
  "@types/jest": "29.5.14",
23
- "@types/node": "^22.19.0",
27
+ "@types/node": "^22.19.6",
24
28
  "@types/react": "19.1.17",
25
- "@typescript-eslint/eslint-plugin": "^8.46.3",
26
- "@typescript-eslint/parser": "^8.46.3",
29
+ "@typescript-eslint/eslint-plugin": "^8.53.0",
30
+ "@typescript-eslint/parser": "^8.53.0",
31
+ "@vitest/coverage-istanbul": "^3.2.4",
27
32
  "@vitest/coverage-v8": "^3.2.4",
28
- "autoprefixer": "^10.4.21",
29
- "eslint": "^9.39.1",
33
+ "autoprefixer": "^10.4.23",
34
+ "eslint": "^9.39.2",
30
35
  "eslint-config-prettier": "10.1.2",
31
36
  "globals": "^16.5.0",
32
37
  "jest": "29.7.0",
33
38
  "jest-environment-jsdom": "29.7.0",
34
39
  "jsdom": "^25.0.1",
35
- "rollup-plugin-dts": "^6.2.3",
40
+ "rollup-plugin-dts": "^6.3.0",
36
41
  "rollup-plugin-peer-deps-external": "^2.2.4",
37
42
  "rollup-plugin-strip-code": "^0.2.8",
38
43
  "rollup-plugin-typescript2": "^0.36.0",
@@ -41,20 +46,25 @@
41
46
  "vitest": "^3.2.4"
42
47
  },
43
48
  "dependencies": {
44
- "@reduxjs/toolkit": "^2.10.0",
45
- "axios": "^1.13.1",
49
+ "@reduxjs/toolkit": "^2.11.2",
50
+ "axios": "^1.13.2",
46
51
  "dayjs": "^1.11.19",
47
52
  "jwt-decode": "^4.0.0",
48
53
  "react-redux": "^9.2.0",
49
- "rollup": "^4.52.5",
54
+ "rollup": "^4.55.1",
50
55
  "rollup-plugin-copy": "^3.5.0",
51
56
  "zod": "3.24.2"
52
57
  },
53
58
  "peerDependencies": {
54
59
  "@iblai/data-layer": "^1.1.2",
55
- "@iblai/iblai-api": "4.95.5-ai",
60
+ "@iblai/iblai-api": "4.166.0-ai",
56
61
  "react": "19.1.0"
57
62
  },
63
+ "peerDependenciesMeta": {
64
+ "@tauri-apps/api": {
65
+ "optional": true
66
+ }
67
+ },
58
68
  "publishConfig": {
59
69
  "access": "public",
60
70
  "registry": "https://registry.npmjs.org/"