iframe-pubsub 1.0.4 → 1.0.5
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/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -83,7 +83,7 @@ declare enum AIChatNameEnum {
|
|
|
83
83
|
SHOW_SUGGESTIONS = "showSuggestions",
|
|
84
84
|
SHOW_CHAT_MESSAGE = "showChatMessage",
|
|
85
85
|
SHOW_ERROR_MESSAGE = "showErrorMessage",
|
|
86
|
-
|
|
86
|
+
SHOW_COMING_SOON = "showComingSoon",
|
|
87
87
|
CONFIRM_ACTION = "confirmAction",
|
|
88
88
|
SHOW_OPTIONS = "showOptions",
|
|
89
89
|
SEND_CHAT_PROMPT = "sendChatPrompt",
|
|
@@ -168,7 +168,7 @@ declare class AIChatClient extends Client {
|
|
|
168
168
|
/**
|
|
169
169
|
* Show an unknown error message in the AI Chat component.
|
|
170
170
|
*/
|
|
171
|
-
|
|
171
|
+
showComingSoon(): void;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
declare class PubSub {
|
package/dist/index.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ declare enum AIChatNameEnum {
|
|
|
83
83
|
SHOW_SUGGESTIONS = "showSuggestions",
|
|
84
84
|
SHOW_CHAT_MESSAGE = "showChatMessage",
|
|
85
85
|
SHOW_ERROR_MESSAGE = "showErrorMessage",
|
|
86
|
-
|
|
86
|
+
SHOW_COMING_SOON = "showComingSoon",
|
|
87
87
|
CONFIRM_ACTION = "confirmAction",
|
|
88
88
|
SHOW_OPTIONS = "showOptions",
|
|
89
89
|
SEND_CHAT_PROMPT = "sendChatPrompt",
|
|
@@ -168,7 +168,7 @@ declare class AIChatClient extends Client {
|
|
|
168
168
|
/**
|
|
169
169
|
* Show an unknown error message in the AI Chat component.
|
|
170
170
|
*/
|
|
171
|
-
|
|
171
|
+
showComingSoon(): void;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
declare class PubSub {
|
package/dist/index.js
CHANGED
|
@@ -308,7 +308,7 @@ var AIChatNameEnum = /* @__PURE__ */ ((AIChatNameEnum2) => {
|
|
|
308
308
|
AIChatNameEnum2["SHOW_SUGGESTIONS"] = "showSuggestions";
|
|
309
309
|
AIChatNameEnum2["SHOW_CHAT_MESSAGE"] = "showChatMessage";
|
|
310
310
|
AIChatNameEnum2["SHOW_ERROR_MESSAGE"] = "showErrorMessage";
|
|
311
|
-
AIChatNameEnum2["
|
|
311
|
+
AIChatNameEnum2["SHOW_COMING_SOON"] = "showComingSoon";
|
|
312
312
|
AIChatNameEnum2["CONFIRM_ACTION"] = "confirmAction";
|
|
313
313
|
AIChatNameEnum2["SHOW_OPTIONS"] = "showOptions";
|
|
314
314
|
AIChatNameEnum2["SEND_CHAT_PROMPT"] = "sendChatPrompt";
|
|
@@ -429,8 +429,8 @@ var AIChatClient = class extends Client {
|
|
|
429
429
|
/**
|
|
430
430
|
* Show an unknown error message in the AI Chat component.
|
|
431
431
|
*/
|
|
432
|
-
|
|
433
|
-
this.sendAIChatMethod("
|
|
432
|
+
showComingSoon() {
|
|
433
|
+
this.sendAIChatMethod("showComingSoon" /* SHOW_COMING_SOON */, "coming_soon");
|
|
434
434
|
}
|
|
435
435
|
};
|
|
436
436
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.mjs
CHANGED
|
@@ -281,7 +281,7 @@ var AIChatNameEnum = /* @__PURE__ */ ((AIChatNameEnum2) => {
|
|
|
281
281
|
AIChatNameEnum2["SHOW_SUGGESTIONS"] = "showSuggestions";
|
|
282
282
|
AIChatNameEnum2["SHOW_CHAT_MESSAGE"] = "showChatMessage";
|
|
283
283
|
AIChatNameEnum2["SHOW_ERROR_MESSAGE"] = "showErrorMessage";
|
|
284
|
-
AIChatNameEnum2["
|
|
284
|
+
AIChatNameEnum2["SHOW_COMING_SOON"] = "showComingSoon";
|
|
285
285
|
AIChatNameEnum2["CONFIRM_ACTION"] = "confirmAction";
|
|
286
286
|
AIChatNameEnum2["SHOW_OPTIONS"] = "showOptions";
|
|
287
287
|
AIChatNameEnum2["SEND_CHAT_PROMPT"] = "sendChatPrompt";
|
|
@@ -402,8 +402,8 @@ var AIChatClient = class extends Client {
|
|
|
402
402
|
/**
|
|
403
403
|
* Show an unknown error message in the AI Chat component.
|
|
404
404
|
*/
|
|
405
|
-
|
|
406
|
-
this.sendAIChatMethod("
|
|
405
|
+
showComingSoon() {
|
|
406
|
+
this.sendAIChatMethod("showComingSoon" /* SHOW_COMING_SOON */, "coming_soon");
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
409
|
export {
|