iframe-pubsub 1.0.18 → 1.0.19
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 +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -89,7 +89,7 @@ declare enum AIChatNameEnum {
|
|
89
89
|
SET_CUSTOM_HEADERS = "setCustomHeaders",
|
90
90
|
SET_CUSTOM_PAYLOAD = "setCustomPayload",
|
91
91
|
SET_METADATA = "setMetadata",
|
92
|
-
|
92
|
+
SET_EMBED_SYSTEM_MESSAGE = "setEmbedSystemMessage",
|
93
93
|
SET_SUGGESTIONS = "setSuggestions",
|
94
94
|
SHOW_SUGGESTIONS = "showSuggestions",
|
95
95
|
SHOW_CHAT_MESSAGE = "showChatMessage",
|
@@ -145,11 +145,11 @@ declare class AIChatClient extends Client {
|
|
145
145
|
*/
|
146
146
|
setMetadata(metadata: any): void;
|
147
147
|
/**
|
148
|
-
*
|
148
|
+
* Set an embed system message to the AI Chat component.
|
149
149
|
*
|
150
|
-
* @param
|
150
|
+
* @param embedSystemMessage The embed system message to set.
|
151
151
|
*/
|
152
|
-
|
152
|
+
setEmbedSystemMessage(embedSystemMessage: string): void;
|
153
153
|
/**
|
154
154
|
* Show suggestions in the AI Chat component.
|
155
155
|
*
|
package/dist/index.d.ts
CHANGED
@@ -89,7 +89,7 @@ declare enum AIChatNameEnum {
|
|
89
89
|
SET_CUSTOM_HEADERS = "setCustomHeaders",
|
90
90
|
SET_CUSTOM_PAYLOAD = "setCustomPayload",
|
91
91
|
SET_METADATA = "setMetadata",
|
92
|
-
|
92
|
+
SET_EMBED_SYSTEM_MESSAGE = "setEmbedSystemMessage",
|
93
93
|
SET_SUGGESTIONS = "setSuggestions",
|
94
94
|
SHOW_SUGGESTIONS = "showSuggestions",
|
95
95
|
SHOW_CHAT_MESSAGE = "showChatMessage",
|
@@ -145,11 +145,11 @@ declare class AIChatClient extends Client {
|
|
145
145
|
*/
|
146
146
|
setMetadata(metadata: any): void;
|
147
147
|
/**
|
148
|
-
*
|
148
|
+
* Set an embed system message to the AI Chat component.
|
149
149
|
*
|
150
|
-
* @param
|
150
|
+
* @param embedSystemMessage The embed system message to set.
|
151
151
|
*/
|
152
|
-
|
152
|
+
setEmbedSystemMessage(embedSystemMessage: string): void;
|
153
153
|
/**
|
154
154
|
* Show suggestions in the AI Chat component.
|
155
155
|
*
|
package/dist/index.js
CHANGED
@@ -323,7 +323,7 @@ var AIChatNameEnum = /* @__PURE__ */ ((AIChatNameEnum2) => {
|
|
323
323
|
AIChatNameEnum2["SET_CUSTOM_HEADERS"] = "setCustomHeaders";
|
324
324
|
AIChatNameEnum2["SET_CUSTOM_PAYLOAD"] = "setCustomPayload";
|
325
325
|
AIChatNameEnum2["SET_METADATA"] = "setMetadata";
|
326
|
-
AIChatNameEnum2["
|
326
|
+
AIChatNameEnum2["SET_EMBED_SYSTEM_MESSAGE"] = "setEmbedSystemMessage";
|
327
327
|
AIChatNameEnum2["SET_SUGGESTIONS"] = "setSuggestions";
|
328
328
|
AIChatNameEnum2["SHOW_SUGGESTIONS"] = "showSuggestions";
|
329
329
|
AIChatNameEnum2["SHOW_CHAT_MESSAGE"] = "showChatMessage";
|
@@ -403,12 +403,12 @@ var AIChatClient = class extends Client {
|
|
403
403
|
this.sendAIChatPubsubMethod("setMetadata" /* SET_METADATA */, metadata);
|
404
404
|
}
|
405
405
|
/**
|
406
|
-
*
|
406
|
+
* Set an embed system message to the AI Chat component.
|
407
407
|
*
|
408
|
-
* @param
|
408
|
+
* @param embedSystemMessage The embed system message to set.
|
409
409
|
*/
|
410
|
-
|
411
|
-
this.sendAIChatPubsubMethod("
|
410
|
+
setEmbedSystemMessage(embedSystemMessage) {
|
411
|
+
this.sendAIChatPubsubMethod("setEmbedSystemMessage" /* SET_EMBED_SYSTEM_MESSAGE */, embedSystemMessage);
|
412
412
|
}
|
413
413
|
/**
|
414
414
|
* Show suggestions in the AI Chat component.
|
package/dist/index.mjs
CHANGED
@@ -296,7 +296,7 @@ var AIChatNameEnum = /* @__PURE__ */ ((AIChatNameEnum2) => {
|
|
296
296
|
AIChatNameEnum2["SET_CUSTOM_HEADERS"] = "setCustomHeaders";
|
297
297
|
AIChatNameEnum2["SET_CUSTOM_PAYLOAD"] = "setCustomPayload";
|
298
298
|
AIChatNameEnum2["SET_METADATA"] = "setMetadata";
|
299
|
-
AIChatNameEnum2["
|
299
|
+
AIChatNameEnum2["SET_EMBED_SYSTEM_MESSAGE"] = "setEmbedSystemMessage";
|
300
300
|
AIChatNameEnum2["SET_SUGGESTIONS"] = "setSuggestions";
|
301
301
|
AIChatNameEnum2["SHOW_SUGGESTIONS"] = "showSuggestions";
|
302
302
|
AIChatNameEnum2["SHOW_CHAT_MESSAGE"] = "showChatMessage";
|
@@ -376,12 +376,12 @@ var AIChatClient = class extends Client {
|
|
376
376
|
this.sendAIChatPubsubMethod("setMetadata" /* SET_METADATA */, metadata);
|
377
377
|
}
|
378
378
|
/**
|
379
|
-
*
|
379
|
+
* Set an embed system message to the AI Chat component.
|
380
380
|
*
|
381
|
-
* @param
|
381
|
+
* @param embedSystemMessage The embed system message to set.
|
382
382
|
*/
|
383
|
-
|
384
|
-
this.sendAIChatPubsubMethod("
|
383
|
+
setEmbedSystemMessage(embedSystemMessage) {
|
384
|
+
this.sendAIChatPubsubMethod("setEmbedSystemMessage" /* SET_EMBED_SYSTEM_MESSAGE */, embedSystemMessage);
|
385
385
|
}
|
386
386
|
/**
|
387
387
|
* Show suggestions in the AI Chat component.
|