Skip to content

Commit 3e76ca8

Browse files
committed
ver 3.0.48
1 parent 936615b commit 3e76ca8

File tree

6 files changed

+24
-10
lines changed

6 files changed

+24
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Changelog
22
=========
33

4+
## v3.0.48
5+
* Added `isActive` in `User`.
6+
47
## v3.0.47
58
* Update TypeScript Definition file(SendBird.d.ts).
69

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ SendBird-SDK-JavaScript
1919
[download](https://github.com/smilefam/SendBird-SDK-JavaScript) for [SendBird.com](https://sendbird.com) JavaScript SDK
2020

2121

22+
# TypeScript
23+
Install via NPM and import like below in your TypeScript file:
24+
```javascript
25+
import * as SendBird from 'SendBird';
26+
var sb = new SendBird({'appId': 'APP_ID'});
27+
// do something...
28+
```
29+
If you have trouble importing `SendBird`, please check your `tsconfig.json` file and change the value of `"allowSyntheticDefaultImports"` to `true` in `compilerOptions`.
30+
31+
2232
# [Sample](https://github.com/smilefam/SendBird-JavaScript)
2333

2434
* [Basic Sample](https://sample.sendbird.com) using [Sendbird SDK](https://github.com/smilefam/SendBird-SDK-JavaScript). [download](https://github.com/smilefam/SendBird-JavaScript/tree/master/web-sample)
@@ -29,9 +39,9 @@ SendBird-SDK-JavaScript
2939
# [Documentation](https://docs.sendbird.com/javascript)
3040

3141

32-
## Upgrading to v3.0.47
42+
## Upgrading to v3.0.48
3343
If you want to check the record of other version, go to [Change Log](https://github.com/smilefam/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md).
34-
* Update TypeScript Definition file(SendBird.d.ts).
44+
* Added `isActive` in `User`.
3545

3646

3747
## [Change Log](https://github.com/smilefam/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md)

SendBird.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Type Definitions for SendBird SDK v3.0.42
2+
* Type Definitions for SendBird SDK v3.0.48
33
* homepage: https://sendbird.com/
44
* git: https://github.com/smilefam/SendBird-SDK-JavaScript
55
*/
@@ -204,6 +204,7 @@ interface User {
204204
metaData: Object;
205205
connectionStatus: string;
206206
lastSeenAt: string;
207+
isActive: boolean;
207208

208209
createMetaData(metaDataMap: Object, callback: commonCallback): void;
209210
updateMetaData(metaDataMap: Object, callback: commonCallback): void;

SendBird.min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird",
3-
"version": "3.0.47",
3+
"version": "3.0.48",
44
"authors": [
55
"SendBird <support@sendbird.com>"
66
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird",
3-
"version": "3.0.47",
3+
"version": "3.0.48",
44
"description": "SendBird JavaScript SDK",
55
"main": "SendBird.min.js",
66
"dependencies": {

0 commit comments

Comments
 (0)