stream-chat 10.0.0-rc.20 → 10.0.0-rc.21
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.js +7 -1
- package/dist/cjs/index.browser.js.map +2 -2
- package/dist/cjs/index.node.js +7 -1
- package/dist/cjs/index.node.js.map +2 -2
- package/dist/esm/index.mjs +7 -1
- package/dist/esm/index.mjs.map +2 -2
- package/dist/types/channel.d.ts +2 -0
- package/package.json +1 -1
- package/src/channel.ts +8 -0
package/dist/esm/index.mjs
CHANGED
|
@@ -15000,6 +15000,12 @@ var Channel = class extends ChannelApi {
|
|
|
15000
15000
|
requestOptions
|
|
15001
15001
|
);
|
|
15002
15002
|
}
|
|
15003
|
+
async sendReaction(...args) {
|
|
15004
|
+
return await this.getClient().sendReaction(...args);
|
|
15005
|
+
}
|
|
15006
|
+
async deleteReaction(...args) {
|
|
15007
|
+
return await this.getClient().deleteReaction(...args);
|
|
15008
|
+
}
|
|
15003
15009
|
/**
|
|
15004
15010
|
* Upload a file to this channel's file endpoint (multipart).
|
|
15005
15011
|
*
|
|
@@ -24813,7 +24819,7 @@ var StreamChat = class _StreamChat extends ChatApi {
|
|
|
24813
24819
|
return this.userAgent;
|
|
24814
24820
|
}
|
|
24815
24821
|
if (!this.cachedUserAgent) {
|
|
24816
|
-
const version = "10.0.0-rc.
|
|
24822
|
+
const version = "10.0.0-rc.21";
|
|
24817
24823
|
const { name: sdkName, version: sdkVersion } = this.sdkIdentifier ?? {};
|
|
24818
24824
|
const { name: appName, version: appVersion } = this.appIdentifier ?? {};
|
|
24819
24825
|
const { os, model: deviceModel } = this.deviceIdentifier ?? {};
|