stream-chat 8.44.0 → 8.45.0
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/browser.es.js +3 -1
- package/dist/browser.es.js.map +1 -1
- package/dist/browser.full-bundle.min.js +1 -1
- package/dist/browser.full-bundle.min.js.map +1 -1
- package/dist/browser.js +3 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.es.js +3 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/types/client.d.ts +2 -0
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/token_manager.d.ts.map +1 -1
- package/dist/types/types.d.ts +11 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/token_manager.ts +2 -0
- package/src/types.ts +14 -1
package/dist/browser.es.js
CHANGED
|
@@ -6375,6 +6375,8 @@ function TokenManager(secret) {
|
|
|
6375
6375
|
|
|
6376
6376
|
_defineProperty(this, "reset", function () {
|
|
6377
6377
|
_this.token = undefined;
|
|
6378
|
+
_this.tokenProvider = undefined;
|
|
6379
|
+
_this.type = 'static';
|
|
6378
6380
|
_this.user = undefined;
|
|
6379
6381
|
_this.loadTokenPromise = null;
|
|
6380
6382
|
});
|
|
@@ -14615,7 +14617,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
14615
14617
|
}, {
|
|
14616
14618
|
key: "getUserAgent",
|
|
14617
14619
|
value: function getUserAgent() {
|
|
14618
|
-
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.
|
|
14620
|
+
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.45.0");
|
|
14619
14621
|
}
|
|
14620
14622
|
}, {
|
|
14621
14623
|
key: "setUserAgent",
|