You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@
17
17
18
18
## Introduction
19
19
20
-
Through the 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.
20
+
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.
21
21
22
22
### How it works
23
23
@@ -160,7 +160,7 @@ Or download the latest Chat SDK for JavaScript from the following link if you do
> Note: You should also add axios library into the script tag before the Sendbird library inclusion since v3.0.127. You can host the library or utilize the CDN as the library refers to it. The following serves as examples.
163
+
> **Note**: You should also add `axios` library into the <script> tag before the Sendbird library inclusion since v3.0.127. You can host the library or utilize the CDN as the library refers to it. The following serves as examples.
@@ -183,7 +183,7 @@ You need to initialize a `sb` instance before authentication. Initialization bin
183
183
184
184
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.
185
185
186
-
> Note: It is recommended to initialize the Chat SDK at the top of your Javascript file.
186
+
> **Note**: It is recommended to initialize the Chat SDK at the top of your Javascript file.
187
187
188
188
```javascript
189
189
var sb =newSendBird({appId:APP_ID});
@@ -220,7 +220,7 @@ Sendbird prefers that you pass the APP ID through the use of a token, as it ensu
From **Settings** > **Application** > **Security** > **Access token permission** setting in your dashboard, you can prevent users without an access token from logging in to your Sendbird application or restrict their access to **read** and **write** messages.
226
226
@@ -280,7 +280,7 @@ Sendbird wants customers to be confident that Chat SDK will be useful, work well
280
280
281
281
XSS (Cross-site scripting) is a type of computer security vulnerability. XSS helps attackers inject client-side scripts into web pages viewed by other users. Users can send any type of string data without restriction through Chat SDKs. Make sure that you check the safety of received data from other users before rendering it into your DOM.
282
282
283
-
> Note: For more about the XSS prevention, visit the [OWASP's XSS Prevention Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html) page.
283
+
> **Note**: For more about the XSS prevention, visit the [OWASP's XSS Prevention Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html) page.
284
284
285
285
### Use functions of Sendbird objects with Immutable-js
The `sb.setErrorFirstCallback(false)` returns callbacks to their original parameter ordering, with errors last.
319
319
320
-
> Note: Go to the [Event handler](https://sendbird.com/docs/chat/v3/javascript/guides/event-handler) page to learn more about the usages of the Chat SDK's handlers and callbacks.
320
+
> **Note**: Go to the [Event handler](https://sendbird.com/docs/chat/v3/javascript/guides/event-handler) page to learn more about the usages of the Chat SDK's handlers and callbacks.
321
321
322
322
<br />
323
323
324
324
## Changelogs
325
325
326
326
### v3.0.138(OCT 30, 2020)
327
327
328
-
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).
328
+
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).
329
329
330
330
- Added `getAllowFriendDiscovery()` and `setAllowFriendDiscovery()` in `SendBird`.
331
331
- If it's set to **false**, `uploadFriendDiscoveries()` called by others does not add the user as a friend.
0 commit comments