@paramms/chat-widget 1.0.25 → 1.0.26
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/dist/connection.d.ts +2 -1
- package/dist/embed.d.ts +35 -0
- package/dist/embed.js +166 -0
- package/dist/embed.js.map +1 -0
- package/dist/index.js +226 -199
- package/dist/index.js.map +1 -1
- package/dist/renderer.d.ts +1 -1
- package/package.json +5 -2
package/dist/renderer.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ export declare class Renderer {
|
|
|
94
94
|
private flushSend;
|
|
95
95
|
private signalTyping;
|
|
96
96
|
render(store: ChatStore): void;
|
|
97
|
-
setConnStatus(status: 'connecting' | 'open' | 'reconnecting'): void;
|
|
97
|
+
setConnStatus(status: 'connecting' | 'open' | 'reconnecting' | 'error', message?: string): void;
|
|
98
98
|
private buildOfflinePanel;
|
|
99
99
|
private buildCsatPanel;
|
|
100
100
|
private subjectBuilt;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paramms/chat-widget",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"description": "Embeddable real-time chat widget for the Relay platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
"dist/uid.js",
|
|
28
28
|
"dist/uid.js.map",
|
|
29
29
|
"dist/uid.d.ts",
|
|
30
|
+
"dist/embed.js",
|
|
31
|
+
"dist/embed.js.map",
|
|
32
|
+
"dist/embed.d.ts",
|
|
30
33
|
"dist/store.d.ts",
|
|
31
34
|
"dist/connection.d.ts",
|
|
32
35
|
"dist/history.d.ts",
|
|
@@ -38,7 +41,7 @@
|
|
|
38
41
|
],
|
|
39
42
|
"type": "module",
|
|
40
43
|
"scripts": {
|
|
41
|
-
"build": "vite build && tsc -p tsconfig.json --emitDeclarationOnly && node build-preview.js",
|
|
44
|
+
"build": "vite build && vite build --config vite.embed.config.ts && tsc -p tsconfig.json --emitDeclarationOnly && node build-preview.js",
|
|
42
45
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
43
46
|
"test": "vitest run",
|
|
44
47
|
"dev": "vite",
|