@iblai/web-utils 0.3.0 → 1.1.1

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 (41) hide show
  1. package/README.md +504 -0
  2. package/dist/data-layer/src/features/chat-files/api-slice.d.ts +185 -0
  3. package/dist/data-layer/src/features/chat-files/types.d.ts +32 -0
  4. package/dist/data-layer/src/features/core/api-slice.d.ts +419 -61
  5. package/dist/data-layer/src/features/core/constants.d.ts +3 -0
  6. package/dist/data-layer/src/features/core/custom-api-slice.d.ts +50 -50
  7. package/dist/data-layer/src/features/core/custom-public-image-asset-api-slice.d.ts +333 -0
  8. package/dist/data-layer/src/features/core/types.d.ts +33 -0
  9. package/dist/data-layer/src/features/credentials/api-slice.d.ts +62 -39
  10. package/dist/data-layer/src/features/mentor/api-slice.d.ts +1028 -188
  11. package/dist/data-layer/src/features/notifications/constants.d.ts +6 -0
  12. package/dist/data-layer/src/features/notifications/custom-api-slice.d.ts +43 -43
  13. package/dist/data-layer/src/features/notifications/types.d.ts +25 -2
  14. package/dist/data-layer/src/features/stripe/api-slice.d.ts +22 -0
  15. package/dist/data-layer/src/index.d.ts +3 -0
  16. package/dist/index.d.ts +447 -83
  17. package/dist/index.esm.js +1137 -196
  18. package/dist/index.esm.js.map +1 -1
  19. package/dist/index.js +1167 -193
  20. package/dist/index.js.map +1 -1
  21. package/dist/package.json +4 -2
  22. package/dist/web-utils/src/constants/chat.d.ts +8 -0
  23. package/dist/web-utils/src/features/files/filesSlice.d.ts +20 -0
  24. package/dist/web-utils/src/features/index.d.ts +1 -0
  25. package/dist/web-utils/src/hooks/chat/use-advanced-chat.d.ts +6 -4
  26. package/dist/web-utils/src/hooks/chat/use-chat-v2.d.ts +11 -1
  27. package/dist/web-utils/src/hooks/use-mentor-settings.d.ts +18 -15
  28. package/dist/web-utils/src/index.d.ts +2 -0
  29. package/dist/web-utils/src/index.web.d.ts +14 -12
  30. package/dist/web-utils/src/providers/auth-provider.d.ts +9 -1
  31. package/dist/web-utils/src/providers/mentor-provider.d.ts +2 -1
  32. package/dist/web-utils/src/providers/tenant-provider.d.ts +3 -1
  33. package/dist/web-utils/src/services/__tests__/file-upload.test.d.ts +1 -0
  34. package/dist/web-utils/src/services/file-upload.d.ts +60 -0
  35. package/dist/web-utils/src/services/index.d.ts +1 -0
  36. package/dist/web-utils/src/types/file-upload.d.ts +62 -0
  37. package/dist/web-utils/src/types/index.d.ts +1 -0
  38. package/dist/web-utils/src/utils/auth.d.ts +180 -0
  39. package/dist/web-utils/src/utils/index.d.ts +1 -0
  40. package/package.json +12 -13
  41. package/dist/web-utils/tsconfig.tsbuildinfo +0 -1
package/package.json CHANGED
@@ -1,20 +1,12 @@
1
1
  {
2
2
  "name": "@iblai/web-utils",
3
- "version": "0.3.0",
3
+ "version": "1.1.1",
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
- "scripts": {
11
- "build": "rollup -c",
12
- "watch": "rollup -c -w",
13
- "test": "vitest run",
14
- "test:watch": "vitest",
15
- "test:coverage": "vitest run --coverage",
16
- "typecheck": "tsc --noEmit"
17
- },
18
10
  "keywords": [],
19
11
  "author": "",
20
12
  "license": "ISC",
@@ -49,7 +41,6 @@
49
41
  "vitest": "^3.2.4"
50
42
  },
51
43
  "dependencies": {
52
- "@iblai/data-layer": "workspace:*",
53
44
  "@reduxjs/toolkit": "^2.10.0",
54
45
  "axios": "^1.13.1",
55
46
  "dayjs": "^1.11.19",
@@ -57,15 +48,23 @@
57
48
  "react-redux": "^9.2.0",
58
49
  "rollup": "^4.52.5",
59
50
  "rollup-plugin-copy": "^3.5.0",
60
- "zod": "3.24.2"
51
+ "zod": "3.24.2",
52
+ "@iblai/data-layer": "^1.1.1"
61
53
  },
62
54
  "peerDependencies": {
63
55
  "@iblai/iblai-api": "4.79.0-ai",
64
56
  "react": "19.1.0"
65
57
  },
66
- "packageManager": "pnpm@10.11.0",
67
58
  "publishConfig": {
68
59
  "access": "public",
69
60
  "registry": "https://registry.npmjs.org/"
61
+ },
62
+ "scripts": {
63
+ "build": "rollup -c",
64
+ "watch": "rollup -c -w",
65
+ "test": "vitest run",
66
+ "test:watch": "vitest",
67
+ "test:coverage": "vitest run --coverage",
68
+ "typecheck": "tsc --noEmit"
70
69
  }
71
- }
70
+ }