Skip to content

Commit 4c8d9c7

Browse files
committedOct 6, 2023
v4.9.14
1 parent cda5adf commit 4c8d9c7

40 files changed

+51
-43
lines changed
 

‎CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
# Changelog
2+
## v4.9.14 (Oct 6, 2023)
3+
### **Notification**
4+
- Added `messageStatus` in `NotificationMessage`
5+
- Added `markAsReadBy(notificationIds)` in `FeedChannel`
6+
- Added `logImpression(notificationIds)` in `FeedChannel`
7+
8+
### **Improvements**
9+
- Fixed a bug that `MessageCollection` has wrong `hasPrevious` and `hasNext` in a certain condition
10+
- Fixed a bug that `groupChannel.refresh()` does not trigger `onChannelUpdated` in `MessageCollection`
11+
- Fixed a bug that `metaArrays` parameter does not work in `updateUserMessage()` and `updateFileMessage()`
12+
213
## v4.9.13 (Sep 27, 2023)
314
### **Improvements**
415
- Improved stability

‎README.md

-12
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@
1111
1. [Getting started](#getting-started)
1212
1. [Sending your first message](#sending-your-first-message)
1313
1. [Additional information](#additional-information)
14-
1. [Hiring](#we-are-hiring)
15-
16-
<br />
17-
18-
<span style="color:red">**IMPORTANT NOTICE**</span><br>
19-
```
20-
JS Chat SDK version `4.9.0` and `4.9.1` has a CRTICAL BUG where FileMessage is NOT received when sent from an Android device. Please SKIP version `4.9.0` and `4.9.1`, and update to version `4.9.2` or above instead.
21-
```
2214

2315
## Introduction
2416

@@ -247,7 +239,3 @@ const channel = await sb.groupChannel.createChannelWithUserIds(
247239

248240
const immutableObject = Immutable.fromJS(channel);
249241
```
250-
251-
## We are hiring
252-
253-
At Sendbird, we are a diverse group of humble, friendly, and hardworking individuals united by a shared purpose to build the next generation of mobile & social technologies, across chat, voice, and video, that are changing the way we work and live. We're always looking for great people to join our team. [Check out our careers page](https://sendbird.com/careers) for more information.

‎cjs/feedChannel.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cjs/groupChannel.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cjs/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cjs/lib/__bundle-051395cf.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"use strict";var s=require("./__bundle-1a20dd68.js");class t extends s.User{constructor(s,t){var e;super(s,t),this.isMuted=!1,this.isMuted=null!==(e=t.is_muted)&&void 0!==e&&e}}exports.Participant=t;
1+
"use strict";var s=require("./__bundle-3243c404.js");class t extends s.User{constructor(s,t){var e;super(s,t),this.isMuted=!1,this.isMuted=null!==(e=t.is_muted)&&void 0!==e&&e}}exports.Participant=t;

‎cjs/lib/__bundle-1a20dd68.js ‎cjs/lib/__bundle-3243c404.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cjs/lib/__bundle-68df6d3d.js

-1
This file was deleted.

‎cjs/lib/__bundle-19304021.js ‎cjs/lib/__bundle-7acc9e52.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cjs/lib/__bundle-0dabc8e5.js ‎cjs/lib/__bundle-7f597621.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cjs/lib/__bundle-8a370255.js

-1
This file was deleted.

‎cjs/lib/__bundle-8526cb94.js ‎cjs/lib/__bundle-dce294b0.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"use strict";var e=require("./__bundle-1a20dd68.js");class s extends e.BaseCommand{}exports.NotificationCollectionRefreshCommand=s,exports.getFeedChannelIndexBy=e=>["-lastMessageUpdatedAt","-createdAt","syncIndex"];
1+
"use strict";var e=require("./__bundle-3243c404.js");class s extends e.BaseCommand{}exports.NotificationCollectionRefreshCommand=s,exports.getFeedChannelIndexBy=e=>["-lastMessageUpdatedAt","-createdAt","syncIndex"];

‎cjs/lib/__bundle-fca6590b.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cjs/message.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cjs/openChannel.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cjs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "4.9.13",
2+
"version": "4.9.14",
33
"description": "Sendbird SDK for JavaScript",
44
"name": "@sendbird/chat",
55
"author": "Sendbird <support@sendbird.com>",

‎cjs/poll.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎feedChannel.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export {
1515
NotificationData,
1616
NotificationEventContext,
1717
NotificationMessage,
18+
NotificationMessageStatus,
1819
NotificationTemplate,
1920
NotificationTemplateList,
2021
NotificationTemplateListParams,

‎feedChannel.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎groupChannel.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/__bundle-09f86eb2.js

-1
This file was deleted.

‎lib/__bundle-fd1a9b4c.js ‎lib/__bundle-448d3f1f.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/__bundle-7916dc2d.js ‎lib/__bundle-4fa2475f.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/__bundle-6ff6ca1e.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/__bundle-83018405.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/__bundle-abfacf19.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/__bundle-c534cea2.js

-1
This file was deleted.

‎lib/__bundle-e4440218.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/__bundle-e570f309.js

-1
This file was deleted.

‎lib/__bundle-2b1749c6.js ‎lib/__bundle-ef795507.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/__bundle-fe16ac5a.js

-1
This file was deleted.

‎lib/__definition.d.ts

+8
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@ export declare class FeedChannel extends BaseChannel {
493493
serialize(): object;
494494
refresh(): Promise<FeedChannel>;
495495
markAsRead(): Promise<void>;
496+
markAsReadBy(notificationIds: string[]): Promise<void>;
497+
logImpression(notificationIds: string[]): Promise<boolean>;
496498
createNotificationCollection(params?: NotificationCollectionParams): NotificationCollection;
497499
}
498500

@@ -1085,9 +1087,15 @@ export declare class NotificationInfo {
10851087
export declare class NotificationMessage extends MessagePrototype {
10861088
readonly notificationId: string;
10871089
notificationData: NotificationData | null;
1090+
messageStatus: NotificationMessageStatus;
10881091
isIdentical(message: NotificationMessage): boolean;
10891092
}
10901093

1094+
export declare enum NotificationMessageStatus {
1095+
SENT = 'SENT',
1096+
READ = 'READ',
1097+
}
1098+
10911099
export declare class OGImage {
10921100
readonly url: string;
10931101
readonly secureUrl: string | null;

‎message.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎openChannel.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "4.9.13",
2+
"version": "4.9.14",
33
"description": "Sendbird SDK for JavaScript",
44
"name": "@sendbird/chat",
55
"author": "Sendbird <support@sendbird.com>",

‎poll.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎sendbird.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.