Skip to content

Commit

Permalink
Merge branch 'dev' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
storycraft committed Jan 3, 2021
2 parents 831f382 + 80ce6cd commit 63c41c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-kakao",
"version": "3.1.6",
"version": "3.1.7",
"description": "Loco protocol compatible library",
"main": "dist/index.js",
"scripts": {
Expand Down
5 changes: 0 additions & 5 deletions src/api/service-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/

import { Long } from "bson";
import { FriendBlockedListStruct } from "../talk/struct/api/friends/friend-blocked-list-struct";
import { FriendDeleteStruct } from "../talk/struct/api/friends/friend-delete-struct";
import { FriendFindIdStruct, FriendFindUUIDStruct } from "../talk/struct/api/friends/friend-find-struct";
import { FriendListStruct } from "../talk/struct/api/friends/friend-list-struct";
Expand Down Expand Up @@ -85,10 +84,6 @@ export class ServiceClient extends SessionApiClient {
return this.requestParams('GET', `${ServiceClient.getFriendsApiPath(this.Agent, 'list.json')}`, { type: JSON.stringify(types), event_types: JSON.stringify(eventTypes), token });
}

async requestBlockedFriendList(): Promise<FriendBlockedListStruct> {
return this.request('GET', `${ServiceClient.getFriendsApiPath(this.Agent, 'blocked.json')}`);
}

async setNickname(id: Long, nickname: string): Promise<FriendNicknameStruct> {
return this.request('POST', ServiceClient.getFriendsApiPath(this.Agent, 'nickname.json'), { id: id.toString(), nickname: nickname });
}
Expand Down

0 comments on commit 63c41c3

Please sign in to comment.