@inploi/plugin-chatbot 3.2.9 → 3.2.11
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/chatbot.d.ts +7 -2
- package/dist/index.d.ts +1 -1
- package/package.json +3 -3
package/dist/chatbot.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { ChatbotDomManager } from './chatbot.dom';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
type RemoveInternal<T extends object> = {
|
|
3
|
+
[P in keyof T as string extends P ? never : P extends `_${string}` ? never : P]: T[P];
|
|
4
|
+
};
|
|
5
|
+
export type ChatbotPlugin = typeof chatbotPlugin;
|
|
6
|
+
export type ChatbotPluginParams = RemoveInternal<Parameters<ChatbotPlugin>[0]>;
|
|
7
|
+
export type Chatbot = ReturnType<ReturnType<ChatbotPlugin>>;
|
|
4
8
|
export declare const chatbotPlugin: ({ _internal_domManager: dom, theme, }: {
|
|
5
9
|
geolocationApiKey?: string | undefined;
|
|
6
10
|
theme: {
|
|
@@ -26,3 +30,4 @@ export declare const chatbotPlugin: ({ _internal_domManager: dom, theme, }: {
|
|
|
26
30
|
}) => Promise<void>;
|
|
27
31
|
closeApplication: () => Promise<void>;
|
|
28
32
|
};
|
|
33
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './chatbot';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-chatbot",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/plugin-chatbot.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"vite-tsconfig-paths": "^4.2.1",
|
|
69
69
|
"@inploi/core": "1.6.2",
|
|
70
70
|
"tsconfig": "0.1.0",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
71
|
+
"@inploi/sdk": "1.7.4",
|
|
72
|
+
"eslint-config-custom": "0.1.0"
|
|
73
73
|
},
|
|
74
74
|
"msw": {
|
|
75
75
|
"workerDirectory": "public"
|