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/index.js
CHANGED
|
@@ -6406,6 +6406,8 @@ function TokenManager(secret) {
|
|
|
6406
6406
|
|
|
6407
6407
|
_defineProperty__default['default'](this, "reset", function () {
|
|
6408
6408
|
_this.token = undefined;
|
|
6409
|
+
_this.tokenProvider = undefined;
|
|
6410
|
+
_this.type = 'static';
|
|
6409
6411
|
_this.user = undefined;
|
|
6410
6412
|
_this.loadTokenPromise = null;
|
|
6411
6413
|
});
|
|
@@ -14646,7 +14648,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
14646
14648
|
}, {
|
|
14647
14649
|
key: "getUserAgent",
|
|
14648
14650
|
value: function getUserAgent() {
|
|
14649
|
-
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.
|
|
14651
|
+
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.45.0");
|
|
14650
14652
|
}
|
|
14651
14653
|
}, {
|
|
14652
14654
|
key: "setUserAgent",
|