@evelan/jexity-widget 0.26.0 → 0.27.0-canary.63

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 (68) hide show
  1. package/dist/index.mjs +2955 -2835
  2. package/dist/index.mjs.map +1 -1
  3. package/dist/loader.js +2 -2
  4. package/dist/loader.js.map +1 -1
  5. package/dist/react.mjs +2850 -2728
  6. package/dist/react.mjs.map +1 -1
  7. package/dist/types/entries/react.d.ts.map +1 -1
  8. package/dist/types/features/chat/components/ChatScreen.d.ts +3 -1
  9. package/dist/types/features/chat/components/ChatScreen.d.ts.map +1 -1
  10. package/dist/types/features/chat/components/MarkdownContent.d.ts.map +1 -1
  11. package/dist/types/features/chat/components/MessageList.d.ts.map +1 -1
  12. package/dist/types/features/chat/components/magicline/ContractCreationForm.d.ts.map +1 -1
  13. package/dist/types/features/chat/components/magicline/magiclineConstants.d.ts +1 -1
  14. package/dist/types/features/chat/components/magicline/magiclineConstants.d.ts.map +1 -1
  15. package/dist/types/features/chat/components/magicline/useContractCreationState.d.ts +5 -0
  16. package/dist/types/features/chat/components/magicline/useContractCreationState.d.ts.map +1 -1
  17. package/dist/types/features/chat/components/magicline/useTrialBookingState.d.ts.map +1 -1
  18. package/dist/types/features/chat/composer/components/ChatInput.d.ts +6 -2
  19. package/dist/types/features/chat/composer/components/ChatInput.d.ts.map +1 -1
  20. package/dist/types/features/chat/composer/components/SessionErrorNotice.d.ts +15 -1
  21. package/dist/types/features/chat/composer/components/SessionErrorNotice.d.ts.map +1 -1
  22. package/dist/types/features/chat/composer/hooks/useComposerInput.d.ts +3 -3
  23. package/dist/types/features/chat/composer/hooks/useComposerInput.d.ts.map +1 -1
  24. package/dist/types/features/chat/composer/hooks/useSendMessage.d.ts.map +1 -1
  25. package/dist/types/features/chat/hooks/useConversation.d.ts +1 -1
  26. package/dist/types/features/chat/hooks/useConversation.d.ts.map +1 -1
  27. package/dist/types/features/chat/hooks/useConvexSession.d.ts.map +1 -1
  28. package/dist/types/features/chat/hooks/useEnterWaiting.d.ts.map +1 -1
  29. package/dist/types/features/chat/hooks/useEscalation.d.ts +4 -4
  30. package/dist/types/features/chat/hooks/useHandoff.d.ts +4 -4
  31. package/dist/types/features/chat/hooks/useMagicline.d.ts +3 -3
  32. package/dist/types/features/chat/hooks/useMaintenance.d.ts +16 -0
  33. package/dist/types/features/chat/hooks/useMaintenance.d.ts.map +1 -0
  34. package/dist/types/features/chat/hooks/useUnreadTitleFlash.d.ts.map +1 -1
  35. package/dist/types/features/chat/hooks/useVisitorHeartbeat.d.ts.map +1 -1
  36. package/dist/types/features/chat/state/maintenance-error.d.ts +15 -0
  37. package/dist/types/features/chat/state/maintenance-error.d.ts.map +1 -0
  38. package/dist/types/features/chat/state/session-error.d.ts +4 -1
  39. package/dist/types/features/chat/state/session-error.d.ts.map +1 -1
  40. package/dist/types/features/home/components/HomeScreen.d.ts.map +1 -1
  41. package/dist/types/i18n/index.d.ts +1 -1
  42. package/dist/types/i18n/locales/de.d.ts +238 -237
  43. package/dist/types/i18n/locales/de.d.ts.map +1 -1
  44. package/dist/types/i18n/locales/en.d.ts +234 -232
  45. package/dist/types/i18n/locales/en.d.ts.map +1 -1
  46. package/dist/types/lib/convex-provider.d.ts +19 -0
  47. package/dist/types/lib/convex-provider.d.ts.map +1 -0
  48. package/dist/types/lib/logger.d.ts.map +1 -1
  49. package/dist/types/lib/widgetBootstrap.d.ts +7 -0
  50. package/dist/types/lib/widgetBootstrap.d.ts.map +1 -1
  51. package/dist/types/module/screens/ScreenRouter.d.ts +4 -1
  52. package/dist/types/module/screens/ScreenRouter.d.ts.map +1 -1
  53. package/dist/types/module/shell/WidgetShell.d.ts.map +1 -1
  54. package/dist/types/module/shell/hooks/useBootstrap.d.ts +2 -1
  55. package/dist/types/module/shell/hooks/useBootstrap.d.ts.map +1 -1
  56. package/dist/types/module/shell/hooks/usePathGuard.d.ts.map +1 -1
  57. package/dist/types/module/shell/mount.d.ts.map +1 -1
  58. package/dist/types/module/shell/shell.state.d.ts +8 -0
  59. package/dist/types/module/shell/shell.state.d.ts.map +1 -1
  60. package/dist/types/module/visitor/visitor.state.d.ts +1 -1
  61. package/dist/types/module/visitor/visitor.state.d.ts.map +1 -1
  62. package/dist/types/shared/hooks/useEffectEvent.d.ts +24 -0
  63. package/dist/types/shared/hooks/useEffectEvent.d.ts.map +1 -0
  64. package/dist/types/types.d.ts +7 -0
  65. package/dist/types/types.d.ts.map +1 -1
  66. package/dist/widget.js +36 -32
  67. package/dist/widget.js.map +1 -1
  68. package/package.json +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evelan/jexity-widget",
3
- "version": "0.26.0",
3
+ "version": "0.27.0-canary.63",
4
4
  "description": "Embeddable AI chat widget by Evelan — add customer support chat to any website with a single script tag or npm install",
5
5
  "type": "module",
6
6
  "main": "./dist/widget.js",
@@ -69,8 +69,8 @@
69
69
  "build:types": "tsc --project tsconfig.build.json",
70
70
  "build:types-react": "tsc --project tsconfig.react.json",
71
71
  "serve": "vite preview",
72
- "check-types": "tsc --noEmit",
73
- "test": "vitest run src/module/visitor/visitor.state.runtime.test.ts src/module/screens/screens.state.test.ts src/features/chat/composer/state/draft.test.ts src/features/chat/components/MarkdownContent.test.ts src/features/chat/components/cards.test.ts src/entries/loader.test.ts src/lib/widget-config.test.ts",
72
+ "check-types": "tsc --noEmit -p tsconfig.check.json && tsc --noEmit -p tsconfig.node.json",
73
+ "test": "vitest run src/module/visitor/visitor.state.runtime.test.ts src/module/screens/screens.state.test.ts src/features/chat/composer/state/draft.test.ts src/features/chat/components/MarkdownContent.test.ts src/features/chat/components/cards.test.ts src/entries/loader.test.ts src/lib/widget-config.test.ts src/features/chat/state/maintenance-error.test.ts src/features/chat/composer/components/SessionErrorNotice.test.ts",
74
74
  "lint": "eslint .",
75
75
  "prepublishOnly": "pnpm run build"
76
76
  },