stream-chat 9.20.0 → 9.20.1
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/cjs/index.browser.cjs +7 -2
- package/dist/cjs/index.browser.cjs.map +2 -2
- package/dist/cjs/index.node.cjs +7 -2
- package/dist/cjs/index.node.cjs.map +2 -2
- package/dist/esm/index.js +7 -2
- package/dist/esm/index.js.map +2 -2
- package/package.json +1 -1
- package/src/client.ts +7 -2
- package/src/messageComposer/middleware/messageComposer/attachments.ts +3 -0
|
@@ -6205,6 +6205,9 @@ var createAttachmentsCompositionMiddleware = (composer) => ({
|
|
|
6205
6205
|
origin: {
|
|
6206
6206
|
emitter: "MessageComposer",
|
|
6207
6207
|
context: { composer }
|
|
6208
|
+
},
|
|
6209
|
+
options: {
|
|
6210
|
+
type: "validation:attachment:upload:in-progress"
|
|
6208
6211
|
}
|
|
6209
6212
|
});
|
|
6210
6213
|
return discard();
|
|
@@ -14171,7 +14174,9 @@ var StreamChat = class _StreamChat {
|
|
|
14171
14174
|
this.activeChannels = {};
|
|
14172
14175
|
this.state = new ClientState({ client: this });
|
|
14173
14176
|
this.threads.resetState();
|
|
14174
|
-
|
|
14177
|
+
closePromise.finally(() => {
|
|
14178
|
+
this.tokenManager.reset();
|
|
14179
|
+
}).catch((err) => console.error(err));
|
|
14175
14180
|
return closePromise;
|
|
14176
14181
|
};
|
|
14177
14182
|
/**
|
|
@@ -16226,7 +16231,7 @@ var StreamChat = class _StreamChat {
|
|
|
16226
16231
|
if (this.userAgent) {
|
|
16227
16232
|
return this.userAgent;
|
|
16228
16233
|
}
|
|
16229
|
-
const version = "9.20.
|
|
16234
|
+
const version = "9.20.1";
|
|
16230
16235
|
const clientBundle = "browser-cjs";
|
|
16231
16236
|
let userAgentString = "";
|
|
16232
16237
|
if (this.sdkIdentifier) {
|