deep-chat-dev 9.0.144 → 9.0.146

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/deepChat.js CHANGED
@@ -4076,7 +4076,7 @@ var z = /*#__PURE__*/function () {
4076
4076
  var _i$o;
4077
4077
  var o = n.role || b.AI_ROLE,
4078
4078
  a = i[o];
4079
- n.text === r ? (a == null || a.finaliseStreamedMessage(), delete i[o]) : ((_i$o = i[o]) !== null && _i$o !== void 0 ? _i$o : i[o] = new Oe(t), i[o].upsertStreamedMessage(n));
4079
+ n.text === r || n.html === r ? (a == null || a.finaliseStreamedMessage(), delete i[o]) : ((_i$o = i[o]) !== null && _i$o !== void 0 ? _i$o : i[o] = new Oe(t), i[o].upsertStreamedMessage(n));
4080
4080
  } else M.simulate(t, e.streamHandlers, n);
4081
4081
  }
4082
4082
  }]);
@@ -9513,7 +9513,7 @@ var Qo = /*#__PURE__*/function () {
9513
9513
  if (t.stabilityAI) return t.stabilityAI.imageToImage ? new Jt(e) : t.stabilityAI.imageToImageUpscale ? new Vt(e) : t.stabilityAI.imageToImageMasking ? new Wt(e) : new $t(e);
9514
9514
  if (t.mistral) return new Xo(e);
9515
9515
  }
9516
- return i && (!n || !i.stream || i.handler && i.websocket) ? new Pe(e) : new Pe(e, void 0, n || !0);
9516
+ return i && (!n || !i.stream) ? new Pe(e) : new Pe(e, void 0, n || !0);
9517
9517
  }
9518
9518
  }]);
9519
9519
  return Qo;
@@ -1 +1 @@
1
- {"version":3,"file":"serviceIOFactory.d.ts","sourceRoot":"","sources":["../../../src/services/serviceIOFactory.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AAGrC,qBAAa,gBAAgB;WAEb,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS;CAgGpD"}
1
+ {"version":3,"file":"serviceIOFactory.d.ts","sourceRoot":"","sources":["../../../src/services/serviceIOFactory.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AAGrC,qBAAa,gBAAgB;WAEb,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS;CAiGpD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deep-chat-dev",
3
- "version": "9.0.144",
3
+ "version": "9.0.146",
4
4
  "description": "Customizable chat component for AI APIs",
5
5
  "main": "./dist/deepChat.js",
6
6
  "module": "./dist/deepChat.js",