Socket
Socket
Sign inDemoInstall

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.141 to 3.0.142

2

bower.json
{
"name": "sendbird",
"version": "3.0.141",
"version": "3.0.142",
"authors": [

@@ -5,0 +5,0 @@ "Sendbird <support@sendbird.com>"

# Changelog
## v3.0.142(JAN 11, 2021)
- Added `sendingStatus` to `AdminMessage`.
- Updated TypeScript DefinitelyTyped file for Promise feature support.
- Resolved security advisory on `axios` dependency.
- Improved stability.
## v3.0.141(DEC 21, 2020)

@@ -4,0 +11,0 @@

{
"name": "sendbird",
"version": "3.0.141",
"version": "3.0.142",
"description": "Sendbird JavaScript SDK",
"main": "SendBird.min.js",
"dependencies": {
"ws": "6.0.0",
"agentkeepalive": "2.2.0",
"axios": "^0.19.2",
"form-data": "^3.0.0"
"axios": "^0.21.1",
"form-data": "^3.0.0",
"ws": "^7.3.1"
},

@@ -12,0 +12,0 @@ "scripts": {

@@ -15,3 +15,3 @@ # [Sendbird](https://sendbird.com) Chat SDK for JavaScript

1. [Changelogs](#changelogs)
<br />

@@ -21,11 +21,11 @@

Through Sendbird Chat SDK for Javascript, you can efficiently integrate real-time chat into your client app. On the client-side implementation, you can initialize, configure and build the chat with minimal effort. On the server-side, Sendbird ensures reliable infra-management services for your chat within the app. This **read.me** provides the Chat SDK’s structure, supplementary features, and the installation steps.
Through Sendbird Chat SDK for Javascript, you can efficiently integrate real-time chat into your client app. On the client-side implementation, you can initialize, configure and build the chat with minimal effort. On the server-side, Sendbird ensures reliable infra-management services for your chat within the app. This **read.me** provides the Chat SDK’s structure, supplementary features, and the installation steps.
### How it works
It is simple to implement chat in your client app with the Chat SDK: a user logs in, sees a list of channels, selects or creates an [open channel](https://sendbird.com/docs/chat/v3/javascript/guides/open-channel#2-create-a-channel) or a [group channel](https://sendbird.com/docs/chat/v3/javascript/guides/group-channel#2-create-a-channel), and, through the use of the [channel event handlers](https://sendbird.com/docs/chat/v3/javascript/guides/event-handler), sends messages to the channel, while also receiving them from other users within the channel.
It is simple to implement chat in your client app with the Chat SDK: a user logs in, sees a list of channels, selects or creates an [open channel](https://sendbird.com/docs/chat/v3/javascript/guides/open-channel#2-create-a-channel) or a [group channel](https://sendbird.com/docs/chat/v3/javascript/guides/group-channel#2-create-a-channel), and, through the use of the [channel event handlers](https://sendbird.com/docs/chat/v3/javascript/guides/event-handler), sends messages to the channel, while also receiving them from other users within the channel.
### More about Sendbird Chat SDK for JavaScript
Find out more about Sendbird Chat for JavaScript on [Chat SDK for JavaScript doc](https://sendbird.com/docs/chat/v3/javascript/getting-started/about-chat-sdk).
Find out more about Sendbird Chat for JavaScript on [Chat SDK for JavaScript doc](https://sendbird.com/docs/chat/v3/javascript/getting-started/about-chat-sdk).

@@ -56,3 +56,3 @@ <br />

- [Sendbird UIKit for JavaScript](https://sendbird.com/docs/uikit/v1/javascript/getting-started/about-uikit): a development kit with a user interface that enables an easy and fast integration of standard chat features into new or existing client apps.
- [Sendbird SyncManager for JavaScript](https://sendbird.com/docs/syncmanager/v1/javascript/getting-started/about-syncmanager): the Chat SDK add-on that optimizes the user caching experience by interlinking the synchronization of the local data storage with the chat data in Sendbird server through an event-driven structure.
- [Sendbird SyncManager for JavaScript](https://sendbird.com/docs/syncmanager/v1/javascript/getting-started/about-syncmanager): the Chat SDK add-on that optimizes the user caching experience by interlinking the synchronization of the local data storage with the chat data in Sendbird server through an event-driven structure.

@@ -67,3 +67,3 @@ <br />

The fastest way to test the Chat SDK is to build your chat app on top of our sample app. To create a project for the sample app, download the app from our GitHub repository. The link is down below.
The fastest way to test the Chat SDK is to build your chat app on top of our sample app. To create a project for the sample app, download the app from our GitHub repository. The link is down below.

@@ -80,5 +80,5 @@ - https://github.com/sendbird/Sendbird-JavaScript

### Different sample projects
### Different sample projects
For JavaScript, Sendbird supports a variety of sample projects. Their installation procedures are detailed as below:
For JavaScript, Sendbird supports a variety of sample projects. Their installation procedures are detailed as below:

@@ -150,3 +150,3 @@ #### Run the web sample projects

Install via `Npm` and import like below in your `TypeScript` file.
Install via `Npm` and import like below in your `TypeScript` file.

@@ -167,3 +167,3 @@ ```bash

Or download the latest Chat SDK for JavaScript from the following link if you do not want to use package manager
Or download the latest Chat SDK for JavaScript from the following link if you do not want to use package manager

@@ -181,3 +181,3 @@ - https://github.com/sendbird/Sendbird-SDK-JavaScript

## Sending your first message
## Sending your first message

@@ -188,11 +188,11 @@ Follow the step-by-step instructions below to authenticate and send your first message.

To use the features of the Chat SDK in your client app, a `sb` instance must be initiated in each client app before user authentication with Sendbird server. These instances communicate and interact with the server based on an authenticated user account, allowing for the client app to use the Chat SDK features.
To use the features of the Chat SDK in your client app, a `sb` instance must be initiated in each client app before user authentication with Sendbird server. These instances communicate and interact with the server based on an authenticated user account, allowing for the client app to use the Chat SDK features.
### Step 1: Initialize the Chat SDK
You need to initialize a `sb` instance before authentication. Initialization binds the Chat SDK to Javascript’s context which allows the Chat SDK to respond to connection and state changes and also enables client apps to use the Chat SDK features.
You need to initialize a `sb` instance before authentication. Initialization binds the Chat SDK to Javascript’s context which allows the Chat SDK to respond to connection and state changes and also enables client apps to use the Chat SDK features.
To initialize a `Sendbird` instance, pass the `App_ID` of your Sendbird application in the dashboard as an argument to a parameter in the `new Sendbird()` method. As the `new SendBird()` can only be a single instance, call it only a single time across your Javascript client app. Typically, initialization is implemented in the user login screen.
> **Note**: It is recommended to initialize the Chat SDK at the top of your Javascript file.
> **Note**: It is recommended to initialize the Chat SDK at the top of your Javascript file.

@@ -221,3 +221,3 @@ ```javascript

#### B. A combination of user ID and access token ID
#### B. A combination of user ID and access token ID

@@ -264,3 +264,3 @@ Sendbird prefers that you pass the APP ID through the use of a token, as it ensures privacy for the users. Create a user along with their access token, or issue an access token for an existing user. Once an access token is issued, a user is required to provide the access token in the `sb.connect()` method which is used for logging in.

}
openChannel.enter(function(response, error) {

@@ -290,3 +290,3 @@ if (error) {

Sendbird wants customers to be confident that Chat SDK will be useful, work well, and fit within their needs. Thus, we have compiled a couple of optional guidelines. Take a few minutes to read and apply them at your convenience.
Sendbird wants customers to be confident that Chat SDK will be useful, work well, and fit within their needs. Thus, we have compiled a couple of optional guidelines. Take a few minutes to read and apply them at your convenience.

@@ -305,3 +305,3 @@ ### XSS prevention

```javascript
var userIds = ['John', 'Harry'];
var userIds = ['John', 'Harry'];

@@ -341,8 +341,9 @@ sb.GroupChannel.createChannelWithUserIds(userIds, false, NAME, COVER_URL, DATA, function(groupChannel, error) {

## v3.0.141(DEC 21, 2020)
## v3.0.142(JAN 11, 2021)
If you want to check the record of other versions, go to [Change Log](https://github.com/sendbird/Sendbird-SDK-JavaScript/blob/master/CHANGELOG.md).
- Added a setter for `operators` in `OpenChannelParams`.
- Added `getLogLevel()` and `setLogLevel()` in `SendBird`.
- Improved stability.
- Added `sendingStatus` to `AdminMessage`.
- Updated TypeScript DefinitelyTyped file for Promise feature support.
- Resolved security advisory on `axios` dependency.
- Improved stability.

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

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