2 Revīzijas

Autors SHA1 Ziņojums Datums
  adam 59c82b3bb2 update 3 gadus atpakaļ
  adam d6ee6acfad update:初步完成对RN的兼容 3 gadus atpakaļ

+ 19
- 19
package-lock.json Parādīt failu

@@ -1,6 +1,6 @@
1 1
 {
2
-  "name": "cts",
3
-  "version": "0.0.1",
2
+  "name": "@bilingo.com/cts",
3
+  "version": "1.0.0",
4 4
   "lockfileVersion": 1,
5 5
   "requires": true,
6 6
   "dependencies": {
@@ -224,6 +224,23 @@
224 224
         "to-fast-properties": "^2.0.0"
225 225
       }
226 226
     },
227
+    "@bilingo.com/ts-linker-sdk": {
228
+      "version": "1.0.0",
229
+      "resolved": "https://registry.npmjs.org/@bilingo.com/ts-linker-sdk/-/ts-linker-sdk-1.0.0.tgz",
230
+      "integrity": "sha512-7nCK6/z1elrLWeqgaBngZBoZhvbKmA5+FytSygoNscwbO/YybdhZVN+HtTiWV3AvaHxpE1Bl4YvZmwKmmcACGA==",
231
+      "requires": {
232
+        "crypto-js": "^3.1.9-1",
233
+        "eventemitter3": "^4.0.0",
234
+        "node-int64": "^0.4.0"
235
+      },
236
+      "dependencies": {
237
+        "eventemitter3": {
238
+          "version": "4.0.7",
239
+          "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",
240
+          "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="
241
+        }
242
+      }
243
+    },
227 244
     "@cnakazawa/watch": {
228 245
       "version": "1.0.3",
229 246
       "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.3.tgz",
@@ -14588,23 +14605,6 @@
14588 14605
         }
14589 14606
       }
14590 14607
     },
14591
-    "ts-linker-sdk": {
14592
-      "version": "1.0.7",
14593
-      "resolved": "https://registry.npmmirror.com/ts-linker-sdk/download/ts-linker-sdk-1.0.7.tgz",
14594
-      "integrity": "sha1-muDtM+C3dMGKJ8fvh81+egCswp0=",
14595
-      "requires": {
14596
-        "crypto-js": "^3.1.9-1",
14597
-        "eventemitter3": "^4.0.0",
14598
-        "node-int64": "^0.4.0"
14599
-      },
14600
-      "dependencies": {
14601
-        "eventemitter3": {
14602
-          "version": "4.0.7",
14603
-          "resolved": "https://registry.npm.taobao.org/eventemitter3/download/eventemitter3-4.0.7.tgz",
14604
-          "integrity": "sha1-Lem2j2Uo1WRO9cWVJqG0oHMGFp8="
14605
-        }
14606
-      }
14607
-    },
14608 14608
     "ts-loader": {
14609 14609
       "version": "5.4.5",
14610 14610
       "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-5.4.5.tgz",

+ 3
- 3
package.json Parādīt failu

@@ -1,6 +1,6 @@
1 1
 {
2
-  "name": "cts",
3
-  "version": "0.0.1",
2
+  "name": "@bilingo.com/cts",
3
+  "version": "1.0.4",
4 4
   "description": "cts, chat-ts-sdk",
5 5
   "repository": {
6 6
     "type": "git",
@@ -90,8 +90,8 @@
90 90
     "workerize-loader": "^1.0.4"
91 91
   },
92 92
   "dependencies": {
93
+    "@bilingo.com/ts-linker-sdk": "^1.0.3",
93 94
     "@types/uuid": "^8.3.1",
94
-    "ts-linker-sdk": "^1.0.7",
95 95
     "uuid": "^8.3.2"
96 96
   }
97 97
 }

+ 6
- 2
packages/cts-api/dist/cjs/WebSocketClient.js Parādīt failu

@@ -46,7 +46,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
46 46
     }
47 47
 };
48 48
 Object.defineProperty(exports, "__esModule", { value: true });
49
-var ts_linker_sdk_1 = require("ts-linker-sdk");
49
+var ts_linker_sdk_1 = require("@bilingo.com/ts-linker-sdk");
50 50
 var meta_1 = require("./meta");
51 51
 var meta = meta_1.getMetaData();
52 52
 var PING_INTERVAL = 50 * 1000;
@@ -83,6 +83,10 @@ var WebSocketClient = (function () {
83 83
                         if (!url) {
84 84
                             throw new Error('websocket url is required.');
85 85
                         }
86
+                        var binaryType = 'blob';
87
+                        if (_this.extendOpts && _this.extendOpts.binaryType) {
88
+                            binaryType = _this.extendOpts.binaryType;
89
+                        }
86 90
                         _this.client = ts_linker_sdk_1.Client.getInstance(url, {
87 91
                             onOpen: function () { return __awaiter(_this, void 0, void 0, function () {
88 92
                                 var data;
@@ -117,7 +121,7 @@ var WebSocketClient = (function () {
117 121
                             onClose: function () {
118 122
                                 clearInterval(_this.interval);
119 123
                             }
120
-                        });
124
+                        }, binaryType);
121 125
                     })];
122 126
             });
123 127
         });

+ 4
- 4
packages/cts-api/dist/index.js
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 39
- 39
packages/cts-api/dist/types/WebSocketClient.d.ts Parādīt failu

@@ -1,4 +1,4 @@
1
-import { Client } from 'ts-linker-sdk';
1
+import { Client } from '@bilingo.com/ts-linker-sdk';
2 2
 import { ContactMsg, ContactAddMsg, ChatroomMsg } from './messages';
3 3
 export interface WebSocketClientStatus {
4 4
     created: boolean;
@@ -24,73 +24,73 @@ export declare class WebSocketClient {
24 24
     create(): Promise<{}>;
25 25
     on(url: string, callback: (data: WebSocketResp) => void): void;
26 26
     off(url: string): void;
27
-    request(url: string, data: object): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
28
-    connect(): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
29
-    ping(): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
30
-    authentication(): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
27
+    request(url: string, data: object): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
28
+    connect(): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
29
+    ping(): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
30
+    authentication(): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
31 31
     onMessage(callback: ListenerCallback): Promise<void>;
32
-    sendMessage(data: object): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
32
+    sendMessage(data: object): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
33 33
     markServiced(data: {
34 34
         msg_id: string;
35
-    }): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
35
+    }): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
36 36
     messageReaded(data: {
37 37
         msg_id: string;
38
-    }): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
38
+    }): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
39 39
     getHistoryMessage(data: {
40 40
         contact_id: string;
41 41
         chat_type: string;
42 42
         start_time: number;
43 43
         limit: number;
44
-    }): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
44
+    }): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
45 45
     updateStatus(data: {
46 46
         status: 'on' | 'off' | 'busy';
47
-    }): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
48
-    getSessionLists(): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
47
+    }): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
48
+    getSessionLists(): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
49 49
     getAllConversations(data: {
50 50
         last_pull: number;
51
-    }): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
51
+    }): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
52 52
     getAllContact(data: {
53 53
         last_pull: number;
54
-    }): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
54
+    }): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
55 55
     addContact(data: {
56 56
         to_add_username: string;
57 57
         reason: string;
58
-    }): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
59
-    deleteContact(data: ContactMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
60
-    maskingContact(data: ContactMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
61
-    removeMaskingContact(data: ContactMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
62
-    stickingContact(data: ContactMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
63
-    removeStickContact(data: ContactMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
64
-    setNoDisturbing(data: ContactMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
65
-    removeNoDisturbing(data: ContactMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
66
-    agreeAddContact(data: ContactAddMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
67
-    rejectAddContact(data: ContactAddMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
68
-    addContactServiced(data: ContactAddMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
58
+    }): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
59
+    deleteContact(data: ContactMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
60
+    maskingContact(data: ContactMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
61
+    removeMaskingContact(data: ContactMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
62
+    stickingContact(data: ContactMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
63
+    removeStickContact(data: ContactMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
64
+    setNoDisturbing(data: ContactMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
65
+    removeNoDisturbing(data: ContactMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
66
+    agreeAddContact(data: ContactAddMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
67
+    rejectAddContact(data: ContactAddMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
68
+    addContactServiced(data: ContactAddMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
69 69
     createChatroom(data: {
70 70
         subject: string;
71 71
         description: string;
72 72
         welcome_message: string;
73 73
         max: number;
74
-    }): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
75
-    destroyChatroom(data: ChatroomMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
76
-    leaveChatroom(data: ChatroomMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
77
-    getChatroomProfile(data: ChatroomMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
78
-    updateChatroomSubject(data: ChatroomMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
79
-    updateChatroomDescription(data: ChatroomMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
80
-    addChatroomAdmin(data: ChatroomMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
81
-    removeChatroomAdmin(data: ChatroomMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
82
-    addChatroomAdmins(data: ChatroomMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
83
-    removeChatroomAdmins(data: ChatroomMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
84
-    joinChatroom(data: {}): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
85
-    removeChatroomMember(data: ChatroomMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
74
+    }): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
75
+    destroyChatroom(data: ChatroomMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
76
+    leaveChatroom(data: ChatroomMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
77
+    getChatroomProfile(data: ChatroomMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
78
+    updateChatroomSubject(data: ChatroomMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
79
+    updateChatroomDescription(data: ChatroomMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
80
+    addChatroomAdmin(data: ChatroomMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
81
+    removeChatroomAdmin(data: ChatroomMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
82
+    addChatroomAdmins(data: ChatroomMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
83
+    removeChatroomAdmins(data: ChatroomMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
84
+    joinChatroom(data: {}): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
85
+    removeChatroomMember(data: ChatroomMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
86 86
     fetchStickChatroom(data: {
87 87
         cache_time: number;
88
-    }): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
89
-    fetchChatroomMembers(data: ChatroomMsg): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
88
+    }): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
89
+    fetchChatroomMembers(data: ChatroomMsg): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
90 90
     searchHistoryMessage(data: {
91 91
         contact_id: string;
92 92
         chat_type: string;
93 93
         keyword: string;
94 94
         limit: number;
95
-    }): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
95
+    }): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
96 96
 }

+ 27
- 27
packages/cts-api/dist/types/api/WsApi.d.ts Parādīt failu

@@ -3,31 +3,31 @@ import { MsgBase, GroupOption } from '../protocol/MsgBase';
3 3
 export declare class WsApi extends WebSocketClient {
4 4
     token: string;
5 5
     from: string;
6
-    sendMsg(msg: Partial<MsgBase>): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
7
-    sendGetCmdMsg(action: string, extra?: {}): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
8
-    sendPostCmdMsg(action: string, userIds: string[] | null, extra?: {}): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
9
-    getRoster(): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
10
-    addFriends(userIds: string[]): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
11
-    agreeFriends(userIds: string[]): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
12
-    rejectFriends(userIds: string[]): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
13
-    removeFriends(userIds: string[]): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
14
-    getBlacklist(): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
15
-    addToBlackList(userIds: string[]): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
16
-    removeBlackList(userIds: string[]): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
17
-    deleteConversation(contactId: string, deleteMessage?: boolean): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
18
-    markMessageRead(contactId: string): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
19
-    listGroups(): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
20
-    queryGroupInfo(roomId: string): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
21
-    queryRoomMember(roomId: string): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
22
-    getGroupBlackList(roomId: string): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
23
-    createGroup(groupOption: GroupOption): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
24
-    changeGroupInfo(groupOption: GroupOption): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
25
-    addGroupMembers(roomId: string, userIds: string[]): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
26
-    addToGroupBlackList(roomId: string, userIds: string[]): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
27
-    destroyGroup(roomId: string): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
28
-    leaveGroup(roomId: string): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
29
-    createRoom(groupOption: GroupOption): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
30
-    listRooms(): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
31
-    joinRoom(roomId: string): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
32
-    quitRoom(roomId: string): Promise<import("ts-linker-sdk/dist/types/types").WebSocketResp>;
6
+    sendMsg(msg: Partial<MsgBase>): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
7
+    sendGetCmdMsg(action: string, extra?: {}): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
8
+    sendPostCmdMsg(action: string, userIds: string[] | null, extra?: {}): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
9
+    getRoster(): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
10
+    addFriends(userIds: string[]): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
11
+    agreeFriends(userIds: string[]): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
12
+    rejectFriends(userIds: string[]): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
13
+    removeFriends(userIds: string[]): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
14
+    getBlacklist(): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
15
+    addToBlackList(userIds: string[]): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
16
+    removeBlackList(userIds: string[]): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
17
+    deleteConversation(contactId: string, deleteMessage?: boolean): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
18
+    markMessageRead(contactId: string): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
19
+    listGroups(): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
20
+    queryGroupInfo(roomId: string): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
21
+    queryRoomMember(roomId: string): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
22
+    getGroupBlackList(roomId: string): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
23
+    createGroup(groupOption: GroupOption): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
24
+    changeGroupInfo(groupOption: GroupOption): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
25
+    addGroupMembers(roomId: string, userIds: string[]): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
26
+    addToGroupBlackList(roomId: string, userIds: string[]): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
27
+    destroyGroup(roomId: string): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
28
+    leaveGroup(roomId: string): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
29
+    createRoom(groupOption: GroupOption): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
30
+    listRooms(): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
31
+    joinRoom(roomId: string): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
32
+    quitRoom(roomId: string): Promise<import("@bilingo.com/ts-linker-sdk/dist/types/types").WebSocketResp>;
33 33
 }

+ 3
- 3
packages/cts-api/package.json Parādīt failu

@@ -35,9 +35,9 @@
35 35
     "start": "npm run dev"
36 36
   },
37 37
   "dependencies": {
38
-    "node-int64": "^0.4.0",
39
-    "ts-linker-sdk": "^1.0.7",
40
-    "uuid": "^3.3.2"
38
+    "@bilingo.com/ts-linker-sdk": "^1.0.0",
39
+    "@types/uuid": "^8.3.1",
40
+    "uuid": "^8.3.2"
41 41
   },
42 42
   "devDependencies": {
43 43
     "@types/classnames": "^2.2.7",

+ 6
- 2
packages/cts-api/src/WebSocketClient.ts Parādīt failu

@@ -1,4 +1,4 @@
1
-import { Client } from 'ts-linker-sdk';
1
+import { Client } from '@bilingo.com/ts-linker-sdk';
2 2
 
3 3
 import { ContactMsg, ContactAddMsg, ChatroomMsg } from './messages';
4 4
 import { getMetaData } from './meta';
@@ -58,6 +58,10 @@ export class WebSocketClient {
58 58
       if (!url) {
59 59
         throw new Error('websocket url is required.');
60 60
       }
61
+      let binaryType = 'blob';
62
+      if (this.extendOpts && this.extendOpts.binaryType) {
63
+        binaryType = this.extendOpts.binaryType;
64
+      }
61 65
       this.client = Client.getInstance(url, {
62 66
         onOpen: async () => {
63 67
           try {
@@ -80,7 +84,7 @@ export class WebSocketClient {
80 84
         onClose: () => {
81 85
           clearInterval(this.interval);
82 86
         }
83
-      });
87
+      }, binaryType as BinaryType);
84 88
     });
85 89
   }
86 90
 

+ 0
- 8
packages/cts-api/yarn.lock Parādīt failu

@@ -9026,14 +9026,6 @@ ts-jest@^24.0.2:
9026 9026
     semver "^5.5"
9027 9027
     yargs-parser "10.x"
9028 9028
 
9029
-ts-linker-sdk@^1.0.7:
9030
-  version "1.0.7"
9031
-  resolved "https://registry.yarnpkg.com/ts-linker-sdk/-/ts-linker-sdk-1.0.7.tgz#9ae0ed33e0b774c18a27c7ef87cd7e7a00acc29d"
9032
-  dependencies:
9033
-    crypto-js "^3.1.9-1"
9034
-    eventemitter3 "^4.0.0"
9035
-    node-int64 "^0.4.0"
9036
-
9037 9029
 ts-loader@5.4.5:
9038 9030
   version "5.4.5"
9039 9031
   resolved "https://registry.npm.taobao.org/ts-loader/download/ts-loader-5.4.5.tgz#a0c1f034b017a9344cef0961bfd97cc192492b8b"

+ 206
- 20
yarn.lock Parādīt failu

@@ -172,6 +172,15 @@
172 172
     lodash "^4.17.11"
173 173
     to-fast-properties "^2.0.0"
174 174
 
175
+"@bilingo.com/ts-linker-sdk@^1.0.3":
176
+  version "1.0.3"
177
+  resolved "https://registry.npmmirror.com/@bilingo.com/ts-linker-sdk/download/@bilingo.com/ts-linker-sdk-1.0.3.tgz?cache=0&sync_timestamp=1632585576264&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2F%40bilingo.com%2Fts-linker-sdk%2Fdownload%2F%40bilingo.com%2Fts-linker-sdk-1.0.3.tgz#9b62a69fcb2f3f932429fcce3dd80de321e46d73"
178
+  integrity sha1-m2Kmn8svP5MkKfzOPdgN4yHkbXM=
179
+  dependencies:
180
+    crypto-js "^3.1.9-1"
181
+    eventemitter3 "^4.0.0"
182
+    node-int64 "^0.4.0"
183
+
175 184
 "@cnakazawa/watch@^1.0.3":
176 185
   version "1.0.3"
177 186
   resolved "http://registry.npm.taobao.org/@cnakazawa/watch/download/@cnakazawa/watch-1.0.3.tgz#099139eaec7ebf07a27c1786a3ff64f39464d2ef"
@@ -1634,14 +1643,62 @@ aws4@^1.8.0:
1634 1643
   version "1.8.0"
1635 1644
   resolved "http://registry.npm.taobao.org/aws4/download/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
1636 1645
 
1637
-babel-code-frame@^6.22.0:
1646
+babel-code-frame@^6.22.0, babel-code-frame@^6.26.0:
1638 1647
   version "6.26.0"
1639
-  resolved "http://registry.npm.taobao.org/babel-code-frame/download/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
1648
+  resolved "https://registry.nlark.com/babel-code-frame/download/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
1649
+  integrity sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=
1640 1650
   dependencies:
1641 1651
     chalk "^1.1.3"
1642 1652
     esutils "^2.0.2"
1643 1653
     js-tokens "^3.0.2"
1644 1654
 
1655
+babel-core@^6.26.0, babel-core@^6.26.3:
1656
+  version "6.26.3"
1657
+  resolved "https://registry.nlark.com/babel-core/download/babel-core-6.26.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbabel-core%2Fdownload%2Fbabel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207"
1658
+  integrity sha1-suLwnjQtDwyI4vAuBneUEl51wgc=
1659
+  dependencies:
1660
+    babel-code-frame "^6.26.0"
1661
+    babel-generator "^6.26.0"
1662
+    babel-helpers "^6.24.1"
1663
+    babel-messages "^6.23.0"
1664
+    babel-register "^6.26.0"
1665
+    babel-runtime "^6.26.0"
1666
+    babel-template "^6.26.0"
1667
+    babel-traverse "^6.26.0"
1668
+    babel-types "^6.26.0"
1669
+    babylon "^6.18.0"
1670
+    convert-source-map "^1.5.1"
1671
+    debug "^2.6.9"
1672
+    json5 "^0.5.1"
1673
+    lodash "^4.17.4"
1674
+    minimatch "^3.0.4"
1675
+    path-is-absolute "^1.0.1"
1676
+    private "^0.1.8"
1677
+    slash "^1.0.0"
1678
+    source-map "^0.5.7"
1679
+
1680
+babel-generator@^6.26.0:
1681
+  version "6.26.1"
1682
+  resolved "https://registry.nlark.com/babel-generator/download/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90"
1683
+  integrity sha1-GERAjTuPDTWkBOp6wYDwh6YBvZA=
1684
+  dependencies:
1685
+    babel-messages "^6.23.0"
1686
+    babel-runtime "^6.26.0"
1687
+    babel-types "^6.26.0"
1688
+    detect-indent "^4.0.0"
1689
+    jsesc "^1.3.0"
1690
+    lodash "^4.17.4"
1691
+    source-map "^0.5.7"
1692
+    trim-right "^1.0.1"
1693
+
1694
+babel-helpers@^6.24.1:
1695
+  version "6.24.1"
1696
+  resolved "https://registry.nlark.com/babel-helpers/download/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2"
1697
+  integrity sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=
1698
+  dependencies:
1699
+    babel-runtime "^6.22.0"
1700
+    babel-template "^6.24.1"
1701
+
1645 1702
 babel-jest@^24.8.0:
1646 1703
   version "24.8.0"
1647 1704
   resolved "https://registry.npm.taobao.org/babel-jest/download/babel-jest-24.8.0.tgz#5c15ff2b28e20b0f45df43fe6b7f2aae93dba589"
@@ -1654,6 +1711,13 @@ babel-jest@^24.8.0:
1654 1711
     chalk "^2.4.2"
1655 1712
     slash "^2.0.0"
1656 1713
 
1714
+babel-messages@^6.23.0:
1715
+  version "6.23.0"
1716
+  resolved "https://registry.nlark.com/babel-messages/download/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e"
1717
+  integrity sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=
1718
+  dependencies:
1719
+    babel-runtime "^6.22.0"
1720
+
1657 1721
 babel-plugin-istanbul@^5.1.0:
1658 1722
   version "5.1.1"
1659 1723
   resolved "http://registry.npm.taobao.org/babel-plugin-istanbul/download/babel-plugin-istanbul-5.1.1.tgz#7981590f1956d75d67630ba46f0c22493588c893"
@@ -1675,6 +1739,68 @@ babel-preset-jest@^24.6.0:
1675 1739
     "@babel/plugin-syntax-object-rest-spread" "^7.0.0"
1676 1740
     babel-plugin-jest-hoist "^24.6.0"
1677 1741
 
1742
+babel-register@^6.26.0:
1743
+  version "6.26.0"
1744
+  resolved "https://registry.nlark.com/babel-register/download/babel-register-6.26.0.tgz?cache=0&sync_timestamp=1624518008885&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbabel-register%2Fdownload%2Fbabel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071"
1745
+  integrity sha1-btAhFz4vy0htestFxgCahW9kcHE=
1746
+  dependencies:
1747
+    babel-core "^6.26.0"
1748
+    babel-runtime "^6.26.0"
1749
+    core-js "^2.5.0"
1750
+    home-or-tmp "^2.0.0"
1751
+    lodash "^4.17.4"
1752
+    mkdirp "^0.5.1"
1753
+    source-map-support "^0.4.15"
1754
+
1755
+babel-runtime@^6.22.0, babel-runtime@^6.26.0:
1756
+  version "6.26.0"
1757
+  resolved "https://registry.nlark.com/babel-runtime/download/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
1758
+  integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4=
1759
+  dependencies:
1760
+    core-js "^2.4.0"
1761
+    regenerator-runtime "^0.11.0"
1762
+
1763
+babel-template@^6.24.1, babel-template@^6.26.0:
1764
+  version "6.26.0"
1765
+  resolved "https://registry.nlark.com/babel-template/download/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02"
1766
+  integrity sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=
1767
+  dependencies:
1768
+    babel-runtime "^6.26.0"
1769
+    babel-traverse "^6.26.0"
1770
+    babel-types "^6.26.0"
1771
+    babylon "^6.18.0"
1772
+    lodash "^4.17.4"
1773
+
1774
+babel-traverse@^6.26.0:
1775
+  version "6.26.0"
1776
+  resolved "https://registry.nlark.com/babel-traverse/download/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee"
1777
+  integrity sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=
1778
+  dependencies:
1779
+    babel-code-frame "^6.26.0"
1780
+    babel-messages "^6.23.0"
1781
+    babel-runtime "^6.26.0"
1782
+    babel-types "^6.26.0"
1783
+    babylon "^6.18.0"
1784
+    debug "^2.6.8"
1785
+    globals "^9.18.0"
1786
+    invariant "^2.2.2"
1787
+    lodash "^4.17.4"
1788
+
1789
+babel-types@^6.26.0:
1790
+  version "6.26.0"
1791
+  resolved "https://registry.nlark.com/babel-types/download/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497"
1792
+  integrity sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=
1793
+  dependencies:
1794
+    babel-runtime "^6.26.0"
1795
+    esutils "^2.0.2"
1796
+    lodash "^4.17.4"
1797
+    to-fast-properties "^1.0.3"
1798
+
1799
+babylon@^6.18.0:
1800
+  version "6.18.0"
1801
+  resolved "https://registry.npm.taobao.org/babylon/download/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3"
1802
+  integrity sha1-ry87iPpvXB5MY00aD46sT1WzleM=
1803
+
1678 1804
 babylon@^7.0.0-beta.39:
1679 1805
   version "7.0.0-beta.47"
1680 1806
   resolved "http://registry.npm.taobao.org/babylon/download/babylon-7.0.0-beta.47.tgz#6d1fa44f0abec41ab7c780481e62fd9aafbdea80"
@@ -2598,6 +2724,13 @@ convert-source-map@^0.3.3:
2598 2724
   version "0.3.5"
2599 2725
   resolved "http://registry.npm.taobao.org/convert-source-map/download/convert-source-map-0.3.5.tgz#f1d802950af7dd2631a1febe0596550c86ab3190"
2600 2726
 
2727
+convert-source-map@^1.5.1:
2728
+  version "1.8.0"
2729
+  resolved "https://registry.nlark.com/convert-source-map/download/convert-source-map-1.8.0.tgz?cache=0&sync_timestamp=1624045304679&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fconvert-source-map%2Fdownload%2Fconvert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369"
2730
+  integrity sha1-8zc8MtIbTXgN2ABFFGhPt5HKQ2k=
2731
+  dependencies:
2732
+    safe-buffer "~5.1.1"
2733
+
2601 2734
 cookie-signature@1.0.6:
2602 2735
   version "1.0.6"
2603 2736
   resolved "http://registry.npm.taobao.org/cookie-signature/download/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c"
@@ -2651,6 +2784,11 @@ copyfiles@^2.4.1:
2651 2784
     untildify "^4.0.0"
2652 2785
     yargs "^16.1.0"
2653 2786
 
2787
+core-js@^2.4.0, core-js@^2.5.0:
2788
+  version "2.6.12"
2789
+  resolved "https://registry.nlark.com/core-js/download/core-js-2.6.12.tgz?cache=0&sync_timestamp=1632078308388&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcore-js%2Fdownload%2Fcore-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec"
2790
+  integrity sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw=
2791
+
2654 2792
 core-util-is@1.0.2, core-util-is@~1.0.0:
2655 2793
   version "1.0.2"
2656 2794
   resolved "http://registry.npm.taobao.org/core-util-is/download/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
@@ -3006,7 +3144,7 @@ debug@*, debug@^4.1.0, debug@^4.1.1, debug@~4.1.0:
3006 3144
   dependencies:
3007 3145
     ms "^2.1.1"
3008 3146
 
3009
-debug@2.6.9, debug@^2.1.2, debug@^2.2.0, debug@^2.3.3:
3147
+debug@2.6.9, debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8, debug@^2.6.9:
3010 3148
   version "2.6.9"
3011 3149
   resolved "http://registry.npm.taobao.org/debug/download/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
3012 3150
   dependencies:
@@ -3148,6 +3286,13 @@ detect-file@^1.0.0:
3148 3286
   version "1.0.0"
3149 3287
   resolved "http://registry.npm.taobao.org/detect-file/download/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7"
3150 3288
 
3289
+detect-indent@^4.0.0:
3290
+  version "4.0.0"
3291
+  resolved "https://registry.nlark.com/detect-indent/download/detect-indent-4.0.0.tgz?cache=0&sync_timestamp=1628462018641&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fdetect-indent%2Fdownload%2Fdetect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208"
3292
+  integrity sha1-920GQ1LN9Docts5hnE7jqUdd4gg=
3293
+  dependencies:
3294
+    repeating "^2.0.0"
3295
+
3151 3296
 detect-indent@^5.0.0:
3152 3297
   version "5.0.0"
3153 3298
   resolved "http://registry.npm.taobao.org/detect-indent/download/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d"
@@ -4277,6 +4422,11 @@ globals@^11.1.0:
4277 4422
   version "11.9.0"
4278 4423
   resolved "http://registry.npm.taobao.org/globals/download/globals-11.9.0.tgz#bde236808e987f290768a93d065060d78e6ab249"
4279 4424
 
4425
+globals@^9.18.0:
4426
+  version "9.18.0"
4427
+  resolved "https://registry.nlark.com/globals/download/globals-9.18.0.tgz?cache=0&sync_timestamp=1628810148451&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fglobals%2Fdownload%2Fglobals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
4428
+  integrity sha1-qjiWs+abSH8X4x7SFD1pqOMMLYo=
4429
+
4280 4430
 globby@^11.0.3:
4281 4431
   version "11.0.4"
4282 4432
   resolved "https://registry.nlark.com/globby/download/globby-11.0.4.tgz#2cbaff77c2f2a62e71e9b2813a67b97a3a3001a5"
@@ -4467,6 +4617,14 @@ hoist-non-react-statics@^3.3.0:
4467 4617
   dependencies:
4468 4618
     react-is "^16.7.0"
4469 4619
 
4620
+home-or-tmp@^2.0.0:
4621
+  version "2.0.0"
4622
+  resolved "https://registry.npm.taobao.org/home-or-tmp/download/home-or-tmp-2.0.0.tgz?cache=0&sync_timestamp=1618602876233&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhome-or-tmp%2Fdownload%2Fhome-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8"
4623
+  integrity sha1-42w/LSyufXRqhX440Y1fMqeILbg=
4624
+  dependencies:
4625
+    os-homedir "^1.0.0"
4626
+    os-tmpdir "^1.0.1"
4627
+
4470 4628
 homedir-polyfill@^1.0.1:
4471 4629
   version "1.0.1"
4472 4630
   resolved "http://registry.npm.taobao.org/homedir-polyfill/download/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc"
@@ -4822,9 +4980,10 @@ interpret@^1.1.0:
4822 4980
   version "1.2.0"
4823 4981
   resolved "http://registry.npm.taobao.org/interpret/download/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296"
4824 4982
 
4825
-invariant@^2.2.4:
4983
+invariant@^2.2.2, invariant@^2.2.4:
4826 4984
   version "2.2.4"
4827
-  resolved "http://registry.npm.taobao.org/invariant/download/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
4985
+  resolved "https://registry.npm.taobao.org/invariant/download/invariant-2.2.4.tgz?cache=0&sync_timestamp=1615984365242&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Finvariant%2Fdownload%2Finvariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
4986
+  integrity sha1-YQ88ksk1nOHbYW5TgAjSP/NRWOY=
4828 4987
   dependencies:
4829 4988
     loose-envify "^1.0.0"
4830 4989
 
@@ -5620,6 +5779,11 @@ jsdom@^11.5.1:
5620 5779
     ws "^5.2.0"
5621 5780
     xml-name-validator "^3.0.0"
5622 5781
 
5782
+jsesc@^1.3.0:
5783
+  version "1.3.0"
5784
+  resolved "https://registry.nlark.com/jsesc/download/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b"
5785
+  integrity sha1-RsP+yMGJKxKwgz25vHYiF226s0s=
5786
+
5623 5787
 jsesc@^2.5.1:
5624 5788
   version "2.5.2"
5625 5789
   resolved "http://registry.npm.taobao.org/jsesc/download/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
@@ -5683,9 +5847,10 @@ json5@2.x, json5@^2.1.0:
5683 5847
   dependencies:
5684 5848
     minimist "^1.2.0"
5685 5849
 
5686
-json5@^0.5.0:
5850
+json5@^0.5.0, json5@^0.5.1:
5687 5851
   version "0.5.1"
5688
-  resolved "http://registry.npm.taobao.org/json5/download/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
5852
+  resolved "https://registry.npm.taobao.org/json5/download/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
5853
+  integrity sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=
5689 5854
 
5690 5855
 json5@^1.0.1:
5691 5856
   version "1.0.1"
@@ -5967,6 +6132,11 @@ lodash@4, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, loda
5967 6132
   version "4.17.11"
5968 6133
   resolved "http://registry.npm.taobao.org/lodash/download/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
5969 6134
 
6135
+lodash@^4.17.4:
6136
+  version "4.17.21"
6137
+  resolved "https://registry.nlark.com/lodash/download/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
6138
+  integrity sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw=
6139
+
5970 6140
 log-symbols@^2.1.0:
5971 6141
   version "2.2.0"
5972 6142
   resolved "http://registry.npm.taobao.org/log-symbols/download/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
@@ -6984,9 +7154,10 @@ os-name@^3.0.0:
6984 7154
     macos-release "^2.0.0"
6985 7155
     windows-release "^3.1.0"
6986 7156
 
6987
-os-tmpdir@^1.0.0, os-tmpdir@~1.0.2:
7157
+os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2:
6988 7158
   version "1.0.2"
6989
-  resolved "http://registry.npm.taobao.org/os-tmpdir/download/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
7159
+  resolved "https://registry.npm.taobao.org/os-tmpdir/download/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
7160
+  integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=
6990 7161
 
6991 7162
 osenv@0, osenv@^0.1.4, osenv@^0.1.5:
6992 7163
   version "0.1.5"
@@ -7248,9 +7419,10 @@ path-exists@^3.0.0:
7248 7419
   version "3.0.0"
7249 7420
   resolved "http://registry.npm.taobao.org/path-exists/download/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
7250 7421
 
7251
-path-is-absolute@^1.0.0:
7422
+path-is-absolute@^1.0.0, path-is-absolute@^1.0.1:
7252 7423
   version "1.0.1"
7253
-  resolved "http://registry.npm.taobao.org/path-is-absolute/download/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
7424
+  resolved "https://registry.nlark.com/path-is-absolute/download/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
7425
+  integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
7254 7426
 
7255 7427
 path-is-inside@^1.0.1, path-is-inside@^1.0.2:
7256 7428
   version "1.0.2"
@@ -7720,6 +7892,11 @@ pretty-format@^24.8.0:
7720 7892
     ansi-styles "^3.2.0"
7721 7893
     react-is "^16.8.4"
7722 7894
 
7895
+private@^0.1.8:
7896
+  version "0.1.8"
7897
+  resolved "https://registry.nlark.com/private/download/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
7898
+  integrity sha1-I4Hts2ifelPWUxkAYPz4ItLzaP8=
7899
+
7723 7900
 process-nextick-args@~2.0.0:
7724 7901
   version "2.0.0"
7725 7902
   resolved "http://registry.npm.taobao.org/process-nextick-args/download/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa"
@@ -8125,6 +8302,11 @@ redent@^2.0.0:
8125 8302
     indent-string "^3.0.0"
8126 8303
     strip-indent "^2.0.0"
8127 8304
 
8305
+regenerator-runtime@^0.11.0:
8306
+  version "0.11.1"
8307
+  resolved "https://registry.nlark.com/regenerator-runtime/download/regenerator-runtime-0.11.1.tgz?cache=0&sync_timestamp=1626993001371&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fregenerator-runtime%2Fdownload%2Fregenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"
8308
+  integrity sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=
8309
+
8128 8310
 regex-not@^1.0.0, regex-not@^1.0.2:
8129 8311
   version "1.0.2"
8130 8312
   resolved "http://registry.npm.taobao.org/regex-not/download/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c"
@@ -8770,6 +8952,13 @@ source-map-resolve@^0.5.0, source-map-resolve@^0.5.2:
8770 8952
     source-map-url "^0.4.0"
8771 8953
     urix "^0.1.0"
8772 8954
 
8955
+source-map-support@^0.4.15:
8956
+  version "0.4.18"
8957
+  resolved "https://registry.nlark.com/source-map-support/download/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f"
8958
+  integrity sha1-Aoam3ovkJkEzhZTpfM6nXwosWF8=
8959
+  dependencies:
8960
+    source-map "^0.5.6"
8961
+
8773 8962
 source-map-support@^0.5.3, source-map-support@^0.5.6, source-map-support@~0.5.6:
8774 8963
   version "0.5.9"
8775 8964
   resolved "http://registry.npm.taobao.org/source-map-support/download/source-map-support-0.5.9.tgz#41bc953b2534267ea2d605bccfa7bfa3111ced5f"
@@ -8785,7 +8974,7 @@ source-map@0.6.1, source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, sourc
8785 8974
   version "0.6.1"
8786 8975
   resolved "http://registry.npm.taobao.org/source-map/download/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
8787 8976
 
8788
-source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6:
8977
+source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7:
8789 8978
   version "0.5.7"
8790 8979
   resolved "http://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
8791 8980
 
@@ -9239,6 +9428,11 @@ to-arraybuffer@^1.0.0:
9239 9428
   version "1.0.1"
9240 9429
   resolved "http://registry.npm.taobao.org/to-arraybuffer/download/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"
9241 9430
 
9431
+to-fast-properties@^1.0.3:
9432
+  version "1.0.3"
9433
+  resolved "https://registry.nlark.com/to-fast-properties/download/to-fast-properties-1.0.3.tgz?cache=0&sync_timestamp=1628418893613&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fto-fast-properties%2Fdownload%2Fto-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47"
9434
+  integrity sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=
9435
+
9242 9436
 to-fast-properties@^2.0.0:
9243 9437
   version "2.0.0"
9244 9438
   resolved "http://registry.npm.taobao.org/to-fast-properties/download/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
@@ -9330,14 +9524,6 @@ ts-jest@^24.0.2:
9330 9524
     semver "^5.5"
9331 9525
     yargs-parser "10.x"
9332 9526
 
9333
-ts-linker-sdk@^1.0.7:
9334
-  version "1.0.7"
9335
-  resolved "https://registry.yarnpkg.com/ts-linker-sdk/-/ts-linker-sdk-1.0.7.tgz#9ae0ed33e0b774c18a27c7ef87cd7e7a00acc29d"
9336
-  dependencies:
9337
-    crypto-js "^3.1.9-1"
9338
-    eventemitter3 "^4.0.0"
9339
-    node-int64 "^0.4.0"
9340
-
9341 9527
 ts-loader@5.4.5:
9342 9528
   version "5.4.5"
9343 9529
   resolved "https://registry.npm.taobao.org/ts-loader/download/ts-loader-5.4.5.tgz#a0c1f034b017a9344cef0961bfd97cc192492b8b"