Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sendbird

Package Overview
Dependencies
Maintainers
1
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sendbird - npm Package Compare versions

Comparing version 3.0.114 to 3.0.115

2

bower.json
{
"name": "sendbird",
"version": "3.0.114",
"version": "3.0.115",
"authors": ["SendBird <support@sendbird.com>"],

@@ -5,0 +5,0 @@ "homepage": "https://github.com/sendbird/SendBird-SDK-JavaScript",

# Changelog
## v3.0.115(DEC 24, 2019)
- Added `reactions` in `BaseMessage`.
- Added `addReaction()`, `deleteReaction()` in `BaseChannel`.
- Added `onReactionUpdated()` in `ChannelHandler`.
- Added `applyReactionEvent()` in `BaseMessage`.
- Added `includeReaction` parameter to `get**MessagesByID()`, `get**MessagesByTimestamp()` in `BaseChannel`.
- Added `includeReaction` parameter to `getMessageChangeLogsByID()`, `getMessageChangeLogsByTimestamp()` in `BaseChannel`.
- Added always push notification support.
- Added `markAsDelivered()`, `getDeliveryReceipt()` in `GroupChannel`.
- Added `onDeliveryReceiptUpdated` in `ChannelHandler`.
- Improved stability.
## v3.0.114(DEC 18, 2019)

@@ -4,0 +17,0 @@

{
"name": "sendbird",
"version": "3.0.114",
"version": "3.0.115",
"description": "SendBird JavaScript SDK",

@@ -5,0 +5,0 @@ "main": "SendBird.min.js",

@@ -48,7 +48,15 @@ [![npm](https://img.shields.io/npm/v/sendbird.svg?style=popout&colorB=red)](https://www.npmjs.com/package/sendbird)

## v3.0.114(DEC 18, 2019)
## v3.0.115(DEC 24, 2019)
If you want to check the record of other version, go to [Change Log](https://github.com/sendbird/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md).
- Bug-fix in file uploading.
- Added `reactions` in `BaseMessage`.
- Added `addReaction()`, `deleteReaction()` in `BaseChannel`.
- Added `onReactionUpdated()` in `ChannelHandler`.
- Added `applyReactionEvent()` in `BaseMessage`.
- Added `includeReaction` parameter to `get**MessagesByID()`, `get**MessagesByTimestamp()` in `BaseChannel`.
- Added `includeReaction` parameter to `getMessageChangeLogsByID()`, `getMessageChangeLogsByTimestamp()` in `BaseChannel`.
- Added always push notification support.
- Added `markAsDelivered()`, `getDeliveryReceipt()` in `GroupChannel`.
- Added `onDeliveryReceiptUpdated` in `ChannelHandler`.
- Improved stability.

@@ -55,0 +63,0 @@

/**
* Type Definitions for SendBird SDK v3.0.114
* Type Definitions for SendBird SDK v3.0.115
* homepage: https://sendbird.com/

@@ -271,2 +271,3 @@ * git: https://github.com/sendbird/SendBird-SDK-JavaScript

onChannelHidden(channel: GroupChannel): void;
onReactionUpdated(channel: OpenChannel | GroupChannel, reactionEvent: ReactionEvent): void;
onMentionReceived(channel: OpenChannel | GroupChannel, message: AdminMessage | UserMessage | FileMessage): void;

@@ -295,2 +296,3 @@ }

metaArrays: Array<MessageMetaArray>;
reactions: Array<Reaction>;
mentionType: string;

@@ -310,2 +312,3 @@ mentionedUsers: Array<User>;

getMetaArraysByKeys(keys: Array<string>): Array<MessageMetaArray>;
applyReactionEvent(event: ReactionEvent): void;

@@ -454,3 +457,4 @@ metaArray: Object; // DEPRECATED

};
type messageCallback = (message: UserMessage | FileMessage, error: SendBirdError) => void;
type messageCallback = (message: UserMessage | FileMessage | AdminMessage, error: SendBirdError) => void;
type reactionEventCallback = (reactionEvent: ReactionEvent, error: SendBirdError) => void;
type cancelUploadingFileMessageCallback = (isSuccess: boolean, error: SendBirdError) => void;

@@ -490,5 +494,17 @@ type fileUploadprogressHandler = (event: ProgressEvent) => void;

getMessageChangeLogsByToken(token: string, includeMetaArray: boolean, callback: getMessageChangeLogsHandler): void;
getMessageChangeLogsByToken(
token: string,
includeMetaArray: boolean,
includeReaction: boolean,
callback: getMessageChangeLogsHandler
): void;
getMessageChangeLogsByTimestamp(ts: number, callback: getMessageChangeLogsHandler): void;
getMessageChangeLogsByTimestamp(ts: number, includeMetaArray: boolean, callback: getMessageChangeLogsHandler): void;
getMessageChangeLogsByTimestamp(
ts: number,
includeMetaArray: boolean,
includeReaction: boolean,
callback: getMessageChangeLogsHandler
): void;

@@ -531,2 +547,14 @@ getMyMutedInfo(callback: getMyMutedInfoHandler): void;

): void;
getNextMessagesByTimestamp(
ts: number,
isInclusive: boolean,
nextResultSize: number,
shouldReverse: boolean,
messageType: string,
customType: string,
senderUserIds: Array<string>,
includeMetaArray: boolean,
includeReaction: boolean,
callback: messageListCallback
): void;
getPreviousMessagesByTimestamp(

@@ -562,2 +590,14 @@ ts: number,

): void;
getPreviousMessagesByTimestamp(
ts: number,
isInclusive: boolean,
prevResultSize: number,
shouldReverse: boolean,
messageType: string,
customType: string,
senderUserIds: Array<string>,
includeMetaArray: boolean,
includeReaction: boolean,
callback: messageListCallback
): void;
getPreviousAndNextMessagesByTimestamp(

@@ -593,2 +633,14 @@ ts: number,

): void;
getPreviousAndNextMessagesByTimestamp(
ts: number,
prevResultSize: number,
nextResultSize: number,
shouldReverse: boolean,
messageType: string,
customType: string,
senderUserIds: Array<string>,
includeMetaArray: boolean,
includeReaction: boolean,
callback: messageListCallback
): void;
getNextMessagesByID(

@@ -624,2 +676,14 @@ messageId: number,

): void;
getNextMessagesByID(
messageId: number,
isInclusive: boolean,
nextResultSize: number,
shouldReverse: boolean,
messageType: string,
customType: string,
senderUserIds: Array<string>,
includeMetaArray: boolean,
includeReaction: boolean,
callback: messageListCallback
): void;
getPreviousMessagesByID(

@@ -655,2 +719,14 @@ messageId: number,

): void;
getPreviousMessagesByID(
messageId: number,
isInclusive: boolean,
prevResultSize: number,
shouldReverse: boolean,
messageType: string,
customType: string,
senderUserIds: Array<string>,
includeMetaArray: boolean,
includeReaction: boolean,
callback: messageListCallback
): void;
getPreviousAndNextMessagesByID(

@@ -686,2 +762,14 @@ messageId: number,

): void;
getPreviousAndNextMessagesByID(
messageId: number,
prevResultSize: number,
nextResultSize: number,
shouldReverse: boolean,
messageType: string,
customType: string,
senderUserIds: Array<string>,
includeMetaArray: boolean,
includeReaction: boolean,
callback: messageListCallback
): void;

@@ -883,2 +971,10 @@ /** FileMessage */

/** Reaction */
addReaction(message: UserMessage | FileMessage | AdminMessage, key: string, callback: reactionEventCallback): void;
deleteReaction(
message: UserMessage | FileMessage | AdminMessage,
key: string,
callback: reactionEventCallback
): void;
/** MetaData */

@@ -1254,2 +1350,16 @@ createMetaData(metaDataMap: Object, callback: commonCallback): void;

}
interface Reaction {
new (): Reaction;
key: string;
userIds: Array<string>;
updatedAt: number;
}
interface ReactionEvent {
new (): ReactionEvent;
messageId: string;
userId: string;
key: string;
operation: 'add' | 'delete';
updatedAt: number;
}

@@ -1256,0 +1366,0 @@ type groupChannelCallback = (groupChannel: GroupChannel, error: SendBirdError) => void;

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc