chat 4.13.2 → 4.13.3
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.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1137,6 +1137,7 @@ var ThreadImpl = class _ThreadImpl {
|
|
|
1137
1137
|
_type: "chat:Thread",
|
|
1138
1138
|
id: this.id,
|
|
1139
1139
|
channelId: this.channelId,
|
|
1140
|
+
currentMessage: this._currentMessage?.toJSON(),
|
|
1140
1141
|
isDM: this.isDM,
|
|
1141
1142
|
adapterName: this.adapter.name
|
|
1142
1143
|
};
|
|
@@ -1160,6 +1161,7 @@ var ThreadImpl = class _ThreadImpl {
|
|
|
1160
1161
|
id: json.id,
|
|
1161
1162
|
adapterName: json.adapterName,
|
|
1162
1163
|
channelId: json.channelId,
|
|
1164
|
+
currentMessage: json.currentMessage ? Message.fromJSON(json.currentMessage) : void 0,
|
|
1163
1165
|
isDM: json.isDM
|
|
1164
1166
|
});
|
|
1165
1167
|
if (adapter) {
|