@evelan/jexity-widget 0.29.0 → 0.30.0
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.
- package/README.md +6 -0
- package/dist/index.mjs +4614 -3345
- package/dist/index.mjs.map +1 -1
- package/dist/loader.js +6 -6
- package/dist/loader.js.map +1 -1
- package/dist/react.mjs +5007 -3696
- package/dist/react.mjs.map +1 -1
- package/dist/types/entries/esm.d.ts +6 -0
- package/dist/types/entries/esm.d.ts.map +1 -1
- package/dist/types/entries/react.d.ts +8 -0
- package/dist/types/entries/react.d.ts.map +1 -1
- package/dist/types/features/chat/components/EscalationFormScreen.d.ts.map +1 -1
- package/dist/types/features/chat/components/FormMessage.d.ts.map +1 -1
- package/dist/types/features/chat/components/MessageList.d.ts.map +1 -1
- package/dist/types/features/chat/components/SourcesRow.d.ts +4 -3
- package/dist/types/features/chat/components/SourcesRow.d.ts.map +1 -1
- package/dist/types/features/chat/composer/components/SessionErrorNotice.d.ts.map +1 -1
- package/dist/types/features/chat/composer/hooks/useAttachmentUpload.d.ts.map +1 -1
- package/dist/types/features/chat/composer/hooks/useSendMessage.d.ts.map +1 -1
- package/dist/types/features/chat/hooks/useConversation.d.ts.map +1 -1
- package/dist/types/features/chat/hooks/useConvexSession.d.ts.map +1 -1
- package/dist/types/features/chat/hooks/useEscalation.d.ts +8 -10
- package/dist/types/features/chat/hooks/useEscalation.d.ts.map +1 -1
- package/dist/types/features/chat/hooks/useSignedInContact.d.ts +12 -0
- package/dist/types/features/chat/hooks/useSignedInContact.d.ts.map +1 -0
- package/dist/types/features/chat/lib/chatOfAnotherUser.d.ts +14 -0
- package/dist/types/features/chat/lib/chatOfAnotherUser.d.ts.map +1 -0
- package/dist/types/features/chat/state/session-error.d.ts +5 -1
- package/dist/types/features/chat/state/session-error.d.ts.map +1 -1
- package/dist/types/features/home/components/ChatList.d.ts +18 -0
- package/dist/types/features/home/components/ChatList.d.ts.map +1 -0
- package/dist/types/features/home/components/DeleteChatsSheet.d.ts +20 -0
- package/dist/types/features/home/components/DeleteChatsSheet.d.ts.map +1 -0
- package/dist/types/features/home/components/HomeScreen.d.ts +7 -1
- package/dist/types/features/home/components/HomeScreen.d.ts.map +1 -1
- package/dist/types/i18n/index.d.ts +6 -0
- package/dist/types/i18n/index.d.ts.map +1 -1
- package/dist/types/i18n/locales/de-formal.d.ts +293 -0
- package/dist/types/i18n/locales/de-formal.d.ts.map +1 -0
- package/dist/types/i18n/locales/de.d.ts +30 -1
- package/dist/types/i18n/locales/de.d.ts.map +1 -1
- package/dist/types/i18n/locales/en.d.ts +62 -1
- package/dist/types/i18n/locales/en.d.ts.map +1 -1
- package/dist/types/lib/refreshBootstrap.d.ts +1 -1
- package/dist/types/lib/refreshBootstrap.d.ts.map +1 -1
- package/dist/types/lib/userToken.d.ts +49 -0
- package/dist/types/lib/userToken.d.ts.map +1 -0
- package/dist/types/lib/widget-config.d.ts +19 -1
- package/dist/types/lib/widget-config.d.ts.map +1 -1
- package/dist/types/lib/widgetBootstrap.d.ts +19 -2
- package/dist/types/lib/widgetBootstrap.d.ts.map +1 -1
- package/dist/types/module/screens/ScreenRouter.d.ts +5 -1
- package/dist/types/module/screens/ScreenRouter.d.ts.map +1 -1
- package/dist/types/module/screens/screens.state.d.ts +5 -1
- package/dist/types/module/screens/screens.state.d.ts.map +1 -1
- package/dist/types/module/shell/WidgetShell.d.ts.map +1 -1
- package/dist/types/module/shell/hooks/useBootstrap.d.ts +3 -1
- package/dist/types/module/shell/hooks/useBootstrap.d.ts.map +1 -1
- package/dist/types/module/shell/mount.d.ts.map +1 -1
- package/dist/types/module/shell/shell.state.d.ts +16 -1
- package/dist/types/module/shell/shell.state.d.ts.map +1 -1
- package/dist/types/module/shell/widget-instance.d.ts.map +1 -1
- package/dist/types/module/visitor/idle-lock.d.ts +6 -0
- package/dist/types/module/visitor/idle-lock.d.ts.map +1 -1
- package/dist/types/module/visitor/visitor.state.d.ts +17 -0
- package/dist/types/module/visitor/visitor.state.d.ts.map +1 -1
- package/dist/types/types.d.ts +23 -0
- package/dist/types/types.d.ts.map +1 -1
- package/dist/widget.js +38 -38
- package/dist/widget.js.map +1 -1
- package/package.json +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evelan/jexity-widget",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
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",
|
|
@@ -70,14 +70,14 @@
|
|
|
70
70
|
"build:types-react": "tsc --project tsconfig.react.json",
|
|
71
71
|
"serve": "vite preview",
|
|
72
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/i18n/resolve-widget-locale.test.ts src/features/chat/state/maintenance-error.test.ts src/features/chat/composer/components/SessionErrorNotice.test.ts src/features/chat/composer/lib/dictation.test.ts src/features/chat/composer/state/attachments.test.ts",
|
|
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/i18n/resolve-widget-locale.test.ts src/features/chat/state/maintenance-error.test.ts src/features/chat/composer/components/SessionErrorNotice.test.ts src/features/chat/composer/lib/dictation.test.ts src/features/chat/composer/state/attachments.test.ts src/i18n/address-form.test.ts src/lib/userToken.test.ts src/module/visitor/idle-lock.test.ts src/lib/refreshBootstrap.test.ts src/entries/logout.test.ts",
|
|
74
74
|
"lint": "eslint .",
|
|
75
75
|
"prepublishOnly": "pnpm run build"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@preact/signals": "2.9.2",
|
|
79
79
|
"convex": "catalog:",
|
|
80
|
-
"dompurify": "3.4.
|
|
80
|
+
"dompurify": "3.4.17",
|
|
81
81
|
"lucide-preact": "0.563.0",
|
|
82
82
|
"marked": "18.0.5",
|
|
83
83
|
"preact": "10.29.3"
|