@amityco/ts-sdk 7.1.1-a5f8c762.0 → 7.1.1-e887d15f.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.
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Internal used only
3
3
  *
4
- * Fired when an {@link Amity.userMessageFeedMarkers} has been resolved by Object Rsesolver
4
+ * Fired when an {@link Amity.ChannelUnread} has been updated.
5
5
  *
6
6
  * @param callback The function to call when the event was fired
7
7
  * @returns an {@link Amity.Unsubscriber} function to stop listening
8
8
  *
9
- * @category MessageMarker Events
9
+ * @category Channel Events
10
10
  */
11
11
  export declare const onChannelUnreadUpdatedLocal: (callback: Amity.Listener<Amity.Events['local.channelUnread.updated']>) => Amity.Unsubscriber;
12
12
  //# sourceMappingURL=onChannelUnreadUpdatedLocal.d.ts.map
package/dist/index.cjs.js CHANGED
@@ -16769,12 +16769,12 @@ var index$f = /*#__PURE__*/Object.freeze({
16769
16769
  /**
16770
16770
  * Internal used only
16771
16771
  *
16772
- * Fired when an {@link Amity.userMessageFeedMarkers} has been resolved by Object Rsesolver
16772
+ * Fired when an {@link Amity.channelUnreadInfo} has been updated.
16773
16773
  *
16774
16774
  * @param callback The function to call when the event was fired
16775
16775
  * @returns an {@link Amity.Unsubscriber} function to stop listening
16776
16776
  *
16777
- * @category MessageMarker Events
16777
+ * @category ChannelMarker Events
16778
16778
  */
16779
16779
  const onChannelUnreadInfoUpdatedLocal = (callback) => {
16780
16780
  const client = getActiveClient();
@@ -16787,12 +16787,12 @@ const onChannelUnreadInfoUpdatedLocal = (callback) => {
16787
16787
  /**
16788
16788
  * Internal used only
16789
16789
  *
16790
- * Fired when an {@link Amity.userMessageFeedMarkers} has been resolved by Object Rsesolver
16790
+ * Fired when an {@link Amity.ChannelUnread} has been updated.
16791
16791
  *
16792
16792
  * @param callback The function to call when the event was fired
16793
16793
  * @returns an {@link Amity.Unsubscriber} function to stop listening
16794
16794
  *
16795
- * @category MessageMarker Events
16795
+ * @category Channel Events
16796
16796
  */
16797
16797
  const onChannelUnreadUpdatedLocal = (callback) => {
16798
16798
  const client = getActiveClient();
package/dist/index.esm.js CHANGED
@@ -32861,12 +32861,12 @@ var index$f = /*#__PURE__*/Object.freeze({
32861
32861
  /**
32862
32862
  * Internal used only
32863
32863
  *
32864
- * Fired when an {@link Amity.userMessageFeedMarkers} has been resolved by Object Rsesolver
32864
+ * Fired when an {@link Amity.channelUnreadInfo} has been updated.
32865
32865
  *
32866
32866
  * @param callback The function to call when the event was fired
32867
32867
  * @returns an {@link Amity.Unsubscriber} function to stop listening
32868
32868
  *
32869
- * @category MessageMarker Events
32869
+ * @category ChannelMarker Events
32870
32870
  */
32871
32871
  const onChannelUnreadInfoUpdatedLocal = (callback) => {
32872
32872
  const client = getActiveClient();
@@ -32879,12 +32879,12 @@ const onChannelUnreadInfoUpdatedLocal = (callback) => {
32879
32879
  /**
32880
32880
  * Internal used only
32881
32881
  *
32882
- * Fired when an {@link Amity.userMessageFeedMarkers} has been resolved by Object Rsesolver
32882
+ * Fired when an {@link Amity.ChannelUnread} has been updated.
32883
32883
  *
32884
32884
  * @param callback The function to call when the event was fired
32885
32885
  * @returns an {@link Amity.Unsubscriber} function to stop listening
32886
32886
  *
32887
- * @category MessageMarker Events
32887
+ * @category Channel Events
32888
32888
  */
32889
32889
  const onChannelUnreadUpdatedLocal = (callback) => {
32890
32890
  const client = getActiveClient();
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Internal used only
3
3
  *
4
- * Fired when an {@link Amity.userMessageFeedMarkers} has been resolved by Object Rsesolver
4
+ * Fired when an {@link Amity.channelUnreadInfo} has been updated.
5
5
  *
6
6
  * @param callback The function to call when the event was fired
7
7
  * @returns an {@link Amity.Unsubscriber} function to stop listening
8
8
  *
9
- * @category MessageMarker Events
9
+ * @category ChannelMarker Events
10
10
  */
11
11
  export declare const onChannelUnreadInfoUpdatedLocal: (callback: Amity.Listener<Amity.Events['local.channelUnreadInfo.updated']>) => Amity.Unsubscriber;
12
12
  //# sourceMappingURL=onChannelUnreadInfoUpdatedLocal.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amityco/ts-sdk",
3
- "version": "7.1.1-a5f8c762.0",
3
+ "version": "7.1.1-e887d15f.0",
4
4
  "license": "CC-BY-ND-4.0",
5
5
  "author": "amity.co <developers@amity.co> (https://amity.co)",
6
6
  "description": "Amity Social Cloud Typescript SDK",
@@ -4,12 +4,12 @@ import { createEventSubscriber } from '~/core/events';
4
4
  /**
5
5
  * Internal used only
6
6
  *
7
- * Fired when an {@link Amity.userMessageFeedMarkers} has been resolved by Object Rsesolver
7
+ * Fired when an {@link Amity.ChannelUnread} has been updated.
8
8
  *
9
9
  * @param callback The function to call when the event was fired
10
10
  * @returns an {@link Amity.Unsubscriber} function to stop listening
11
11
  *
12
- * @category MessageMarker Events
12
+ * @category Channel Events
13
13
  */
14
14
  export const onChannelUnreadUpdatedLocal = (
15
15
  callback: Amity.Listener<Amity.Events['local.channelUnread.updated']>,
@@ -4,12 +4,12 @@ import { createEventSubscriber } from '~/core/events';
4
4
  /**
5
5
  * Internal used only
6
6
  *
7
- * Fired when an {@link Amity.userMessageFeedMarkers} has been resolved by Object Rsesolver
7
+ * Fired when an {@link Amity.channelUnreadInfo} has been updated.
8
8
  *
9
9
  * @param callback The function to call when the event was fired
10
10
  * @returns an {@link Amity.Unsubscriber} function to stop listening
11
11
  *
12
- * @category MessageMarker Events
12
+ * @category ChannelMarker Events
13
13
  */
14
14
  export const onChannelUnreadInfoUpdatedLocal = (
15
15
  callback: Amity.Listener<Amity.Events['local.channelUnreadInfo.updated']>,
@@ -1,12 +0,0 @@
1
- /**
2
- * Internal used only
3
- *
4
- * Fired when an {@link Amity.userMessageFeedMarkers} has been resolved by Object Rsesolver
5
- *
6
- * @param callback The function to call when the event was fired
7
- * @returns an {@link Amity.Unsubscriber} function to stop listening
8
- *
9
- * @category MessageMarker Events
10
- */
11
- export declare const onChannelUnreadUpdatedLocal: (callback: Amity.Listener<Amity.Events['local.channelUnreadInfo.updated']>) => Amity.Unsubscriber;
12
- //# sourceMappingURL=onChannelUnreadUpdatedLocal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"onChannelUnreadUpdatedLocal.d.ts","sourceRoot":"","sources":["../../../src/marker/events/onChannelUnreadUpdatedLocal.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B,aAC5B,MAAM,QAAQ,CAAC,MAAM,MAAM,CAAC,iCAAiC,CAAC,CAAC,KACxE,MAAM,YAaR,CAAC"}
@@ -1,29 +0,0 @@
1
- import { getActiveClient } from '~/client/api/activeClient';
2
- import { createEventSubscriber } from '~/core/events';
3
-
4
- /**
5
- * Internal used only
6
- *
7
- * Fired when an {@link Amity.userMessageFeedMarkers} has been resolved by Object Rsesolver
8
- *
9
- * @param callback The function to call when the event was fired
10
- * @returns an {@link Amity.Unsubscriber} function to stop listening
11
- *
12
- * @category MessageMarker Events
13
- */
14
- export const onChannelUnreadUpdatedLocal = (
15
- callback: Amity.Listener<Amity.Events['local.channelUnreadInfo.updated']>,
16
- ): Amity.Unsubscriber => {
17
- const client = getActiveClient();
18
-
19
- const filter = (payload: Amity.Events['local.channelUnreadInfo.updated']) => {
20
- callback(payload);
21
- };
22
-
23
- return createEventSubscriber(
24
- client,
25
- 'channel/onChannelUnreadUpdatedLocal',
26
- 'local.channelUnreadInfo.updated',
27
- filter,
28
- );
29
- };