Skip to content

Commit 5896c32

Browse files
authored
Merge pull request #50 from sendbird/stable
backmerge v4.17.0
2 parents 2ee6e8a + 0ebb1a1 commit 5896c32

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+69
-35
lines changed

CHANGELOG.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
11
# Changelog
22

3+
## v4.17.0 (Feb 27, 2025)
4+
### **Features**
5+
- Added new read-only property `messageDeletionTimestamp` on the `GroupChannel`
6+
``` typescript
7+
export default class GroupChannel extend BaseChannel {
8+
...
9+
// messageDeletionTimestamp is the message deletion timestamp from the message archive.
10+
// At this point, groupChannel.messageDeletionTimestamp also has the updated value.
11+
messageDeletionTimestamp: number = 0;
12+
...
13+
};
14+
```
15+
16+
### **Improvements**
17+
- Fixed a bug Where don't get hidden channels in `BackgroundSync`
18+
319
## v4.16.5 (Feb 13, 2025)
420
### **Improvements**
5-
- Fixed a bug where the last message in the channel would not be updated## v4.16.4 (Jan 24, 2025)
21+
- Fixed a bug where the last message in the channel would not be updated
22+
23+
## v4.16.4 (Jan 24, 2025)
624
### **Improvements**
7-
- Fixed a bug that cached channel remains after channel deletion## v4.16.3 (Jan 16, 2025)
25+
- Fixed a bug that cached channel remains after channel deletion
26+
27+
## v4.16.3 (Jan 16, 2025)
828
### **Improvements**
929
- Added `AuthTokenType` to Enum Type
1030
``` typescript

cjs/feedChannel.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

cjs/groupChannel.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

cjs/index.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

cjs/lib/__bundle-d9b903fc.cjs renamed to cjs/lib/__bundle-22b16574.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

cjs/lib/__bundle-57fe9e99.cjs

Lines changed: 0 additions & 1 deletion
This file was deleted.

cjs/lib/__bundle-637c3544.cjs

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
var e=require("./__bundle-99f45f9a.cjs"),s=require("./__bundle-d9b903fc.cjs");class t extends e.APIRequestCommand{constructor({channelType:s,channelUrl:t,limit:n,token:i}){super(),this.method=e.APIRequestMethod.GET,this.path=`${e.getChannelApiPathByType(s)}/${encodeURIComponent(t)}/messages/parent_thread_message`,this.params=e.deundefined(e.undefineNullProps({limit:n,token:i}))}}class n extends e.APIResponseCommand{constructor(e,t){super(e,t),this.token=t.next,this.messages=t.messages.map((t=>s.parseMessagePayload(e,t)))}}class i extends e.ChannelDataListQuery{constructor(e,s,t,n){super(e,s,t,n),this._edge=""}_validate(){return super._validate()}load(){return e.__awaiter(this,void 0,void 0,(function*(){if(this._validate()){if(this._isLoading)throw e.SendbirdError.queryInProgress;if(this._hasNext){this._isLoading=!0;const{requestQueue:s}=e.Vault.of(this._iid),i=new t({channelType:this.channelType,channelUrl:this.channelUrl,token:this._edge,limit:this.limit}),a=yield s.send(i),{messages:r,token:d}=a.as(n);return this._edge=d,this._hasNext=!!d,this._isLoading=!1,r}return[]}throw e.SendbirdError.invalidParameters}))}}exports.ThreadedParentMessageListQuery=i;
1+
var e=require("./__bundle-ad2509d1.cjs"),s=require("./__bundle-22b16574.cjs");class t extends e.APIRequestCommand{constructor({channelType:s,channelUrl:t,limit:n,token:i}){super(),this.method=e.APIRequestMethod.GET,this.path=`${e.getChannelApiPathByType(s)}/${encodeURIComponent(t)}/messages/parent_thread_message`,this.params=e.deundefined(e.undefineNullProps({limit:n,token:i}))}}class n extends e.APIResponseCommand{constructor(e,t){super(e,t),this.token=t.next,this.messages=t.messages.map((t=>s.parseMessagePayload(e,t)))}}class i extends e.ChannelDataListQuery{constructor(e,s,t,n){super(e,s,t,n),this._edge=""}_validate(){return super._validate()}load(){return e.__awaiter(this,void 0,void 0,(function*(){if(this._validate()){if(this._isLoading)throw e.SendbirdError.queryInProgress;if(this._hasNext){this._isLoading=!0;const{requestQueue:s}=e.Vault.of(this._iid),i=new t({channelType:this.channelType,channelUrl:this.channelUrl,token:this._edge,limit:this.limit}),a=yield s.send(i),{messages:r,token:d}=a.as(n);return this._edge=d,this._hasNext=!!d,this._isLoading=!1,r}return[]}throw e.SendbirdError.invalidParameters}))}}exports.ThreadedParentMessageListQuery=i;

cjs/lib/__bundle-99f45f9a.cjs

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)