@vanira/sdk 0.0.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.
- package/README.md +85 -0
- package/dist/api/services/ChatService.d.ts +23 -0
- package/dist/api/services/ConfigService.d.ts +5 -0
- package/dist/cdn.d.ts +1 -0
- package/dist/core/SessionManager.d.ts +78 -0
- package/dist/core/VaniraAI.d.ts +141 -0
- package/dist/core/WebRTCClient.d.ts +62 -0
- package/dist/index.d.ts +9 -0
- package/dist/types.d.ts +43 -0
- package/dist/ui/VaniraWidget.d.ts +16 -0
- package/dist/ui/abstraction/AbstractWidgetProvider.d.ts +11 -0
- package/dist/ui/abstraction/interfaces.d.ts +11 -0
- package/dist/ui/adapters/VaniraChatAdapter.d.ts +7 -0
- package/dist/ui/components/AvatarView.d.ts +8 -0
- package/dist/ui/components/ChatWindow.d.ts +32 -0
- package/dist/ui/components/FloatingButton.d.ts +17 -0
- package/dist/ui/components/FloatingWelcomeChips.d.ts +15 -0
- package/dist/ui/components/Panel.d.ts +25 -0
- package/dist/ui/components/VoiceOrb.d.ts +6 -0
- package/dist/ui/components/VoiceOverlay.d.ts +45 -0
- package/dist/ui/components/index.d.ts +7 -0
- package/dist/ui/factory/WidgetFactory.d.ts +10 -0
- package/dist/ui/icons_data.d.ts +2 -0
- package/dist/ui/providers/VaniraInternalProvider.d.ts +67 -0
- package/dist/ui/styles/index.d.ts +22 -0
- package/dist/ui/styles/keyframes.d.ts +1 -0
- package/dist/ui/styles/theme.d.ts +26 -0
- package/dist/ui/styles/widget.css.d.ts +1 -0
- package/dist/ui/views/AbstractChatView.d.ts +23 -0
- package/dist/ui/views/AbstractVoiceView.d.ts +18 -0
- package/dist/ui/views/AvatarOnlyView.d.ts +11 -0
- package/dist/ui/views/ChatAvatarView.d.ts +6 -0
- package/dist/ui/views/ChatOnlyView.d.ts +10 -0
- package/dist/ui/views/ChatVoiceView.d.ts +5 -0
- package/dist/ui/views/VoiceOnlyView.d.ts +6 -0
- package/dist/ui/views/index.d.ts +5 -0
- package/dist/vanira-sdk.es.js +1110 -0
- package/dist/vanira-sdk.js +1111 -0
- package/dist/vanira-sdk.js.map +1 -0
- package/package.json +50 -0
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vanira/sdk",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Vanira Voice & Chat Widget SDK — embed conversational AI into any website with one script tag",
|
|
5
|
+
"author": "Vanira <developers@vanira.io>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "https://vanira.io",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"voice-ai",
|
|
10
|
+
"chatbot",
|
|
11
|
+
"widget",
|
|
12
|
+
"sdk",
|
|
13
|
+
"webrtc",
|
|
14
|
+
"ai-assistant",
|
|
15
|
+
"vanira"
|
|
16
|
+
],
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/vanira-ai/sdk"
|
|
20
|
+
},
|
|
21
|
+
"type": "module",
|
|
22
|
+
"main": "./dist/vanira-sdk.umd.js",
|
|
23
|
+
"module": "./dist/vanira-sdk.es.js",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"import": "./dist/vanira-sdk.es.js",
|
|
28
|
+
"require": "./dist/vanira-sdk.umd.js",
|
|
29
|
+
"types": "./dist/index.d.ts"
|
|
30
|
+
},
|
|
31
|
+
"./style.css": "./dist/style.css"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"dev": "vite",
|
|
38
|
+
"build": "tsc && vite build && vite build -c vite.cdn.config.ts",
|
|
39
|
+
"preview": "vite preview"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"react": ">=16",
|
|
43
|
+
"react-dom": ">=16"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"typescript": "^5.0.0",
|
|
47
|
+
"vite": "^5.0.0",
|
|
48
|
+
"vite-plugin-dts": "^3.0.0"
|
|
49
|
+
}
|
|
50
|
+
}
|