Skip to content

Commit bc47bba

Browse files
committed
v3.0.98
1 parent 3ec908d commit bc47bba

File tree

6 files changed

+28
-16
lines changed

6 files changed

+28
-16
lines changed

CHANGELOG.md

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

4+
## v3.0.98(APR 5, 2019)
5+
* Minor bug fixed.
6+
47
## v3.0.97(MAR 14, 2019)
58
* Improved stability.
69

@@ -13,7 +16,7 @@ Changelog
1316
## v3.0.94(FEB 14, 2019)
1417
* Improved stability.
1518
* Minor bug fixed.
16-
* Updated SendBird.d.ts file for TypeScript.
19+
* Updated SendBird.d.ts file for TypeScript.
1720

1821
## v3.0.93(JAN 17, 2019)
1922
* Add push trigger option to enable/disable remote push notification.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ Check out [Basic Sample with SyncManager](https://github.com/smilefam/SendBird-J
4848

4949
# [Documentation](https://docs.sendbird.com/javascript)
5050

51-
## v3.0.97(MAR 14, 2019)
51+
## v3.0.98(APR 5, 2019)
5252
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).
53-
* Improved stability.
53+
* Minor bug fixed.
5454

5555

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

SendBird.d.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Type Definitions for SendBird SDK v3.0.97
2+
* Type Definitions for SendBird SDK v3.0.98
33
* homepage: https://sendbird.com/
44
* git: https://github.com/smilefam/SendBird-SDK-JavaScript
55
*/
@@ -40,6 +40,14 @@ declare namespace SendBird {
4040
};
4141
type getGroupChannelChangeLogsHandler = (data: groupChannelChangeLogs, error: SendBirdError) => void;
4242

43+
type pushTokens = {
44+
deviceTokens: Array<string>;
45+
type: 'gcm' | 'apns' | 'apns_voip';
46+
hasMore: boolean;
47+
token: string;
48+
};
49+
type getMyPushTokensHandler = (data: pushTokens, error: SendBirdError) => void;
50+
4351
interface DiscoveryObject {
4452
friendDiscoveryKey: string;
4553
friendName?: string;
@@ -120,8 +128,9 @@ declare namespace SendBird {
120128
registerAPNSPushTokenForCurrentUser(apnsRegToken: string, callback?: pushSettingCallback): void;
121129
unregisterAPNSPushTokenForCurrentUser(apnsRegToken: string, callback?: commonCallback): void;
122130
unregisterAPNSPushTokenAllForCurrentUser(callback?: commonCallback): void;
123-
124-
unregisterPushTokenAllForCurrentUser(callback?: commonCallback): void; // This removes both All APNS/GCM tokens
131+
132+
unregisterPushTokenAllForCurrentUser(callback?: commonCallback): void; // This removes all push tokens including APNS/GCM
133+
getMyPushTokensByToken(token: string, type: 'gcm' | 'apns' | 'apns_voip', callback:getMyPushTokensHandler): void;
125134

126135
setPushTemplate(templateName: string, callback?: pushSettingCallback): void;
127136
getPushTemplate(callback?: pushSettingCallback): void;

SendBird.min.js

Lines changed: 8 additions & 8 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.97",
3+
"version": "3.0.98",
44
"authors": ["SendBird <[email protected]>"],
55
"homepage": "https://github.com/smilefam/SendBird-SDK-JavaScript",
66
"description": "SendBird JavaScript SDK",

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.97",
3+
"version": "3.0.98",
44
"description": "SendBird JavaScript SDK",
55
"main": "SendBird.min.js",
66
"dependencies": {

0 commit comments

Comments
 (0)