@syntrologie/adapt-chatbot 2.8.0-canary.404 → 2.8.0-canary.406
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/ChatAssistantLit.js +1 -1
- package/dist/InlineWidgetLiveMount.test.d.ts +2 -0
- package/dist/InlineWidgetLiveMount.test.d.ts.map +1 -0
- package/dist/{chunk-PJ5NMEYX.js → chunk-6ONIYMVA.js} +10 -2
- package/dist/{chunk-PJ5NMEYX.js.map → chunk-6ONIYMVA.js.map} +2 -2
- package/dist/elements/ElementInstanceStore.d.ts.map +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
package/dist/ChatAssistantLit.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineWidgetLiveMount.test.d.ts","sourceRoot":"","sources":["../src/InlineWidgetLiveMount.test.ts"],"names":[],"mappings":"AAmCA,OAAO,mBAAmB,CAAC"}
|
|
@@ -8092,8 +8092,16 @@ var ElementInstanceStore = class {
|
|
|
8092
8092
|
const isActiveStateful = mutation.instance.state === "active" && handler.lifecycle !== "imperative";
|
|
8093
8093
|
const isAppliedImperative = mutation.instance.state === "applied" && handler.lifecycle === "imperative";
|
|
8094
8094
|
if (isActiveStateful || isAppliedImperative) {
|
|
8095
|
+
this._instances.set(mutation.instance.instance_id, mutation.instance);
|
|
8095
8096
|
const applied = await this._mount(handler, mutation.instance);
|
|
8096
|
-
if (!applied)
|
|
8097
|
+
if (!applied) {
|
|
8098
|
+
if (existing) {
|
|
8099
|
+
this._instances.set(mutation.instance.instance_id, existing);
|
|
8100
|
+
} else {
|
|
8101
|
+
this._instances.delete(mutation.instance.instance_id);
|
|
8102
|
+
}
|
|
8103
|
+
}
|
|
8104
|
+
return;
|
|
8097
8105
|
}
|
|
8098
8106
|
this._instances.set(mutation.instance.instance_id, mutation.instance);
|
|
8099
8107
|
return;
|
|
@@ -8944,4 +8952,4 @@ fast-json-patch/module/duplex.mjs:
|
|
|
8944
8952
|
* MIT license
|
|
8945
8953
|
*)
|
|
8946
8954
|
*/
|
|
8947
|
-
//# sourceMappingURL=chunk-
|
|
8955
|
+
//# sourceMappingURL=chunk-6ONIYMVA.js.map
|