@inter-digital/wasm-client-sdk 3.8.4-patch.2 → 3.8.4-patch.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -14,7 +14,7 @@
14
14
  if (!globalThis.fs) {
15
15
  let outputBuf = "";
16
16
  globalThis.fs = {
17
- constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1 }, // unused
17
+ constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1, O_DIRECTORY: -1 }, // unused
18
18
  writeSync(fd, buf) {
19
19
  outputBuf += decoder.decode(buf);
20
20
  const nl = outputBuf.lastIndexOf("\n");
@@ -73,6 +73,14 @@
73
73
  }
74
74
  }
75
75
 
76
+ if (!globalThis.path) {
77
+ globalThis.path = {
78
+ resolve(...pathSegments) {
79
+ return pathSegments.join("/");
80
+ }
81
+ }
82
+ }
83
+
76
84
  if (!globalThis.crypto) {
77
85
  throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)");
78
86
  }
@@ -208,10 +216,16 @@
208
216
  return decoder.decode(new DataView(this._inst.exports.mem.buffer, saddr, len));
209
217
  }
210
218
 
219
+ const testCallExport = (a, b) => {
220
+ this._inst.exports.testExport0();
221
+ return this._inst.exports.testExport(a, b);
222
+ }
223
+
211
224
  const timeOrigin = Date.now() - performance.now();
212
225
  this.importObject = {
213
226
  _gotest: {
214
227
  add: (a, b) => a + b,
228
+ callExport: testCallExport,
215
229
  },
216
230
  gojs: {
217
231
  // Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
@@ -1,5 +1,6 @@
1
1
  export declare function getBlackList(): Promise<string>;
2
2
  export declare function getBlackListUserID(): Promise<string>;
3
+ export declare function getBlackListByOtherDB(loginUserID: string): Promise<string>;
3
4
  export declare function getBlackInfoByBlockUserID(blockUserID: string, loginUserID: string): Promise<string>;
4
5
  export declare function getBlackInfoList(blockUserIDListStr: string): Promise<string>;
5
6
  export declare function insertBlack(localBlackStr: string): Promise<string>;
@@ -6,6 +6,7 @@ export declare function getAllSingleConversationIDList(): Promise<string>;
6
6
  export declare function getAllConversationIDList(): Promise<string>;
7
7
  export declare function getHiddenConversationList(): Promise<string>;
8
8
  export declare function getConversation(conversationID: string): Promise<string>;
9
+ export declare function getConversationByConversationIDLike(conversationID: string): Promise<string>;
9
10
  export declare function getMultipleConversation(conversationIDList: string): Promise<string>;
10
11
  export declare function updateColumnsConversation(conversationID: string, conversation: ClientConversation | string): Promise<string>;
11
12
  export declare function decrConversationUnreadCount(conversationID: string, count: number): Promise<string>;
@@ -20,6 +20,7 @@ export declare function searchMessageByContentType(conversationID: string, conte
20
20
  export declare function searchMessageByContentTypeAndKeyword(conversationID: string, contentTypeStr: string, keywordListStr: string, keywordListMatchType: number, startTime: number, endTime: number): Promise<string>;
21
21
  export declare function messageIfExists(conversationID: string, clientMsgID: string): Promise<string>;
22
22
  export declare function updateMsgSenderFaceURLAndSenderNickname(conversationID: string, sendID: string, faceURL: string, nickname: string, faceBackgroundColor?: string): Promise<string>;
23
+ export declare function updateMsgSenderFaceBackgroundColor(conversationID: string, sendID: string, faceBackgroundColor: string): Promise<string>;
23
24
  export declare function deleteConversationAllMessages(conversationID: string): Promise<string>;
24
25
  export declare function markDeleteConversationAllMessages(conversationID: string): Promise<string>;
25
26
  export declare function getUnreadMessage(conversationID: string, loginUserID: string): Promise<string>;
@@ -1,3 +1,4 @@
1
1
  export declare function getLoginUser(userID: string): Promise<string>;
2
2
  export declare function insertLoginUser(userStr: string): Promise<string>;
3
3
  export declare function updateLoginUser(userStr: string): Promise<string>;
4
+ export declare function processUserCommandGetAll(): Promise<string>;
@@ -51,6 +51,7 @@ export declare enum CbEvents {
51
51
  OnGroupMemberInfoChanged = "OnGroupMemberInfoChanged",
52
52
  OnGroupApplicationAccepted = "OnGroupApplicationAccepted",
53
53
  OnGroupApplicationRejected = "OnGroupApplicationRejected",
54
+ OnGroupRequestInfoChanged = "OnGroupRequestInfoChanged",
54
55
  UploadComplete = "UploadComplete",
55
56
  OnRecvCustomBusinessMessage = "OnRecvCustomBusinessMessage",
56
57
  OnUserStatusChanged = "OnUserStatusChanged",
package/lib/index.es.js CHANGED
@@ -434,6 +434,7 @@ var CbEvents;
434
434
  CbEvents["OnGroupMemberInfoChanged"] = "OnGroupMemberInfoChanged";
435
435
  CbEvents["OnGroupApplicationAccepted"] = "OnGroupApplicationAccepted";
436
436
  CbEvents["OnGroupApplicationRejected"] = "OnGroupApplicationRejected";
437
+ CbEvents["OnGroupRequestInfoChanged"] = "OnGroupRequestInfoChanged";
437
438
  CbEvents["UploadComplete"] = "UploadComplete";
438
439
  CbEvents["OnRecvCustomBusinessMessage"] = "OnRecvCustomBusinessMessage";
439
440
  CbEvents["OnUserStatusChanged"] = "OnUserStatusChanged";
@@ -607,6 +608,7 @@ function initDatabaseAPI(isLogStandardOutput = true) {
607
608
  window.updateMsgSenderNickname = registeMethodOnWindow('updateMsgSenderNickname');
608
609
  window.updateMsgSenderFaceURL = registeMethodOnWindow('updateMsgSenderFaceURL');
609
610
  window.updateMsgSenderFaceURLAndSenderNickname = registeMethodOnWindow('updateMsgSenderFaceURLAndSenderNickname');
611
+ window.updateMsgSenderFaceBackgroundColor = registeMethodOnWindow('updateMsgSenderFaceBackgroundColor');
610
612
  window.getMsgSeqByClientMsgID = registeMethodOnWindow('getMsgSeqByClientMsgID');
611
613
  window.getMsgSeqListByGroupID = registeMethodOnWindow('getMsgSeqListByGroupID');
612
614
  window.getMsgSeqListByPeerUserID = registeMethodOnWindow('getMsgSeqListByPeerUserID');
@@ -640,6 +642,7 @@ function initDatabaseAPI(isLogStandardOutput = true) {
640
642
  window.getAllConversationListToSync = registeMethodOnWindow('getAllConversationListToSync');
641
643
  window.getHiddenConversationList = registeMethodOnWindow('getHiddenConversationList');
642
644
  window.getConversation = registeMethodOnWindow('getConversation');
645
+ window.getConversationByConversationIDLike = registeMethodOnWindow('getConversationByConversationIDLike');
643
646
  window.getMultipleConversationDB = registeMethodOnWindow('getMultipleConversation');
644
647
  window.updateColumnsConversation = registeMethodOnWindow('updateColumnsConversation');
645
648
  window.updateConversation = registeMethodOnWindow('updateColumnsConversation', 'updateConversation');
@@ -674,6 +677,7 @@ function initDatabaseAPI(isLogStandardOutput = true) {
674
677
  window.getLoginUser = registeMethodOnWindow('getLoginUser');
675
678
  window.insertLoginUser = registeMethodOnWindow('insertLoginUser');
676
679
  window.updateLoginUser = registeMethodOnWindow('updateLoginUser');
680
+ window.processUserCommandGetAll = registeMethodOnWindow('processUserCommandGetAll');
677
681
  window.getStrangerInfo = registeMethodOnWindow('getStrangerInfo');
678
682
  window.setStrangerInfo = registeMethodOnWindow('setStrangerInfo');
679
683
  // app sdk versions
@@ -739,6 +743,7 @@ function initDatabaseAPI(isLogStandardOutput = true) {
739
743
  // black
740
744
  window.getBlackListDB = registeMethodOnWindow('getBlackList');
741
745
  window.getBlackListUserID = registeMethodOnWindow('getBlackListUserID');
746
+ window.getBlackListByOtherDB = registeMethodOnWindow('getBlackListByOtherDB');
742
747
  window.getBlackInfoByBlockUserID = registeMethodOnWindow('getBlackInfoByBlockUserID');
743
748
  window.getBlackInfoList = registeMethodOnWindow('getBlackInfoList');
744
749
  window.insertBlack = registeMethodOnWindow('insertBlack');
@@ -1230,6 +1235,11 @@ class SDK extends Emitter {
1230
1235
  isLogStandardOutput: (_a = params.isLogStandardOutput) !== null && _a !== void 0 ? _a : this.isLogStandardOutput,
1231
1236
  logFilePath: './',
1232
1237
  isExternalExtensions: params.isExternalExtensions || false,
1238
+ // SDK Monitoring
1239
+ enableListenerMonitoring: params.enableListenerMonitoring || false,
1240
+ pushgatewayURL: params.pushgatewayURL || '',
1241
+ metricsPushIntervalSec: params.metricsPushIntervalSec || 60,
1242
+ slowCallbackThresholdMs: params.slowCallbackThresholdMs || 1000,
1233
1243
  };
1234
1244
  this.tryParse = (_b = params.tryParse) !== null && _b !== void 0 ? _b : true;
1235
1245
  const result = window.initSDK(operationID, JSON.stringify(config));
@@ -1334,7 +1344,7 @@ class SDK extends Emitter {
1334
1344
  });
1335
1345
  };
1336
1346
  this.createQuoteMessage = (params, operationID = v4()) => {
1337
- return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, params.message], data => {
1347
+ return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, JSON.stringify(params.message)], data => {
1338
1348
  // compitable with old version sdk
1339
1349
  return data[0];
1340
1350
  });
package/lib/index.js CHANGED
@@ -438,6 +438,7 @@ exports.CbEvents = void 0;
438
438
  CbEvents["OnGroupMemberInfoChanged"] = "OnGroupMemberInfoChanged";
439
439
  CbEvents["OnGroupApplicationAccepted"] = "OnGroupApplicationAccepted";
440
440
  CbEvents["OnGroupApplicationRejected"] = "OnGroupApplicationRejected";
441
+ CbEvents["OnGroupRequestInfoChanged"] = "OnGroupRequestInfoChanged";
441
442
  CbEvents["UploadComplete"] = "UploadComplete";
442
443
  CbEvents["OnRecvCustomBusinessMessage"] = "OnRecvCustomBusinessMessage";
443
444
  CbEvents["OnUserStatusChanged"] = "OnUserStatusChanged";
@@ -611,6 +612,7 @@ function initDatabaseAPI(isLogStandardOutput = true) {
611
612
  window.updateMsgSenderNickname = registeMethodOnWindow('updateMsgSenderNickname');
612
613
  window.updateMsgSenderFaceURL = registeMethodOnWindow('updateMsgSenderFaceURL');
613
614
  window.updateMsgSenderFaceURLAndSenderNickname = registeMethodOnWindow('updateMsgSenderFaceURLAndSenderNickname');
615
+ window.updateMsgSenderFaceBackgroundColor = registeMethodOnWindow('updateMsgSenderFaceBackgroundColor');
614
616
  window.getMsgSeqByClientMsgID = registeMethodOnWindow('getMsgSeqByClientMsgID');
615
617
  window.getMsgSeqListByGroupID = registeMethodOnWindow('getMsgSeqListByGroupID');
616
618
  window.getMsgSeqListByPeerUserID = registeMethodOnWindow('getMsgSeqListByPeerUserID');
@@ -644,6 +646,7 @@ function initDatabaseAPI(isLogStandardOutput = true) {
644
646
  window.getAllConversationListToSync = registeMethodOnWindow('getAllConversationListToSync');
645
647
  window.getHiddenConversationList = registeMethodOnWindow('getHiddenConversationList');
646
648
  window.getConversation = registeMethodOnWindow('getConversation');
649
+ window.getConversationByConversationIDLike = registeMethodOnWindow('getConversationByConversationIDLike');
647
650
  window.getMultipleConversationDB = registeMethodOnWindow('getMultipleConversation');
648
651
  window.updateColumnsConversation = registeMethodOnWindow('updateColumnsConversation');
649
652
  window.updateConversation = registeMethodOnWindow('updateColumnsConversation', 'updateConversation');
@@ -678,6 +681,7 @@ function initDatabaseAPI(isLogStandardOutput = true) {
678
681
  window.getLoginUser = registeMethodOnWindow('getLoginUser');
679
682
  window.insertLoginUser = registeMethodOnWindow('insertLoginUser');
680
683
  window.updateLoginUser = registeMethodOnWindow('updateLoginUser');
684
+ window.processUserCommandGetAll = registeMethodOnWindow('processUserCommandGetAll');
681
685
  window.getStrangerInfo = registeMethodOnWindow('getStrangerInfo');
682
686
  window.setStrangerInfo = registeMethodOnWindow('setStrangerInfo');
683
687
  // app sdk versions
@@ -743,6 +747,7 @@ function initDatabaseAPI(isLogStandardOutput = true) {
743
747
  // black
744
748
  window.getBlackListDB = registeMethodOnWindow('getBlackList');
745
749
  window.getBlackListUserID = registeMethodOnWindow('getBlackListUserID');
750
+ window.getBlackListByOtherDB = registeMethodOnWindow('getBlackListByOtherDB');
746
751
  window.getBlackInfoByBlockUserID = registeMethodOnWindow('getBlackInfoByBlockUserID');
747
752
  window.getBlackInfoList = registeMethodOnWindow('getBlackInfoList');
748
753
  window.insertBlack = registeMethodOnWindow('insertBlack');
@@ -1234,6 +1239,11 @@ class SDK extends Emitter {
1234
1239
  isLogStandardOutput: (_a = params.isLogStandardOutput) !== null && _a !== void 0 ? _a : this.isLogStandardOutput,
1235
1240
  logFilePath: './',
1236
1241
  isExternalExtensions: params.isExternalExtensions || false,
1242
+ // SDK Monitoring
1243
+ enableListenerMonitoring: params.enableListenerMonitoring || false,
1244
+ pushgatewayURL: params.pushgatewayURL || '',
1245
+ metricsPushIntervalSec: params.metricsPushIntervalSec || 60,
1246
+ slowCallbackThresholdMs: params.slowCallbackThresholdMs || 1000,
1237
1247
  };
1238
1248
  this.tryParse = (_b = params.tryParse) !== null && _b !== void 0 ? _b : true;
1239
1249
  const result = window.initSDK(operationID, JSON.stringify(config));
@@ -1338,7 +1348,7 @@ class SDK extends Emitter {
1338
1348
  });
1339
1349
  };
1340
1350
  this.createQuoteMessage = (params, operationID = v4()) => {
1341
- return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, params.message], data => {
1351
+ return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, JSON.stringify(params.message)], data => {
1342
1352
  // compitable with old version sdk
1343
1353
  return data[0];
1344
1354
  });
package/lib/index.umd.js CHANGED
@@ -440,6 +440,7 @@
440
440
  CbEvents["OnGroupMemberInfoChanged"] = "OnGroupMemberInfoChanged";
441
441
  CbEvents["OnGroupApplicationAccepted"] = "OnGroupApplicationAccepted";
442
442
  CbEvents["OnGroupApplicationRejected"] = "OnGroupApplicationRejected";
443
+ CbEvents["OnGroupRequestInfoChanged"] = "OnGroupRequestInfoChanged";
443
444
  CbEvents["UploadComplete"] = "UploadComplete";
444
445
  CbEvents["OnRecvCustomBusinessMessage"] = "OnRecvCustomBusinessMessage";
445
446
  CbEvents["OnUserStatusChanged"] = "OnUserStatusChanged";
@@ -613,6 +614,7 @@
613
614
  window.updateMsgSenderNickname = registeMethodOnWindow('updateMsgSenderNickname');
614
615
  window.updateMsgSenderFaceURL = registeMethodOnWindow('updateMsgSenderFaceURL');
615
616
  window.updateMsgSenderFaceURLAndSenderNickname = registeMethodOnWindow('updateMsgSenderFaceURLAndSenderNickname');
617
+ window.updateMsgSenderFaceBackgroundColor = registeMethodOnWindow('updateMsgSenderFaceBackgroundColor');
616
618
  window.getMsgSeqByClientMsgID = registeMethodOnWindow('getMsgSeqByClientMsgID');
617
619
  window.getMsgSeqListByGroupID = registeMethodOnWindow('getMsgSeqListByGroupID');
618
620
  window.getMsgSeqListByPeerUserID = registeMethodOnWindow('getMsgSeqListByPeerUserID');
@@ -646,6 +648,7 @@
646
648
  window.getAllConversationListToSync = registeMethodOnWindow('getAllConversationListToSync');
647
649
  window.getHiddenConversationList = registeMethodOnWindow('getHiddenConversationList');
648
650
  window.getConversation = registeMethodOnWindow('getConversation');
651
+ window.getConversationByConversationIDLike = registeMethodOnWindow('getConversationByConversationIDLike');
649
652
  window.getMultipleConversationDB = registeMethodOnWindow('getMultipleConversation');
650
653
  window.updateColumnsConversation = registeMethodOnWindow('updateColumnsConversation');
651
654
  window.updateConversation = registeMethodOnWindow('updateColumnsConversation', 'updateConversation');
@@ -680,6 +683,7 @@
680
683
  window.getLoginUser = registeMethodOnWindow('getLoginUser');
681
684
  window.insertLoginUser = registeMethodOnWindow('insertLoginUser');
682
685
  window.updateLoginUser = registeMethodOnWindow('updateLoginUser');
686
+ window.processUserCommandGetAll = registeMethodOnWindow('processUserCommandGetAll');
683
687
  window.getStrangerInfo = registeMethodOnWindow('getStrangerInfo');
684
688
  window.setStrangerInfo = registeMethodOnWindow('setStrangerInfo');
685
689
  // app sdk versions
@@ -745,6 +749,7 @@
745
749
  // black
746
750
  window.getBlackListDB = registeMethodOnWindow('getBlackList');
747
751
  window.getBlackListUserID = registeMethodOnWindow('getBlackListUserID');
752
+ window.getBlackListByOtherDB = registeMethodOnWindow('getBlackListByOtherDB');
748
753
  window.getBlackInfoByBlockUserID = registeMethodOnWindow('getBlackInfoByBlockUserID');
749
754
  window.getBlackInfoList = registeMethodOnWindow('getBlackInfoList');
750
755
  window.insertBlack = registeMethodOnWindow('insertBlack');
@@ -1236,6 +1241,11 @@
1236
1241
  isLogStandardOutput: (_a = params.isLogStandardOutput) !== null && _a !== void 0 ? _a : this.isLogStandardOutput,
1237
1242
  logFilePath: './',
1238
1243
  isExternalExtensions: params.isExternalExtensions || false,
1244
+ // SDK Monitoring
1245
+ enableListenerMonitoring: params.enableListenerMonitoring || false,
1246
+ pushgatewayURL: params.pushgatewayURL || '',
1247
+ metricsPushIntervalSec: params.metricsPushIntervalSec || 60,
1248
+ slowCallbackThresholdMs: params.slowCallbackThresholdMs || 1000,
1239
1249
  };
1240
1250
  this.tryParse = (_b = params.tryParse) !== null && _b !== void 0 ? _b : true;
1241
1251
  const result = window.initSDK(operationID, JSON.stringify(config));
@@ -1340,7 +1350,7 @@
1340
1350
  });
1341
1351
  };
1342
1352
  this.createQuoteMessage = (params, operationID = v4()) => {
1343
- return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, params.message], data => {
1353
+ return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, JSON.stringify(params.message)], data => {
1344
1354
  // compitable with old version sdk
1345
1355
  return data[0];
1346
1356
  });
@@ -5,6 +5,7 @@ export declare type LocalBlack = {
5
5
  export declare function locaBlacks(db: Database): QueryExecResult[];
6
6
  export declare function getBlackList(db: Database): QueryExecResult[];
7
7
  export declare function getBlackListUserID(db: Database): QueryExecResult[];
8
+ export declare function getBlackListByOther(db: Database, loginUserID: string): QueryExecResult[];
8
9
  export declare function getBlackInfoByBlockUserID(db: Database, blockUserID: string, loginUserID: string): QueryExecResult[];
9
10
  export declare function getBlackInfoList(db: Database, blockUserIDList: string[]): QueryExecResult[];
10
11
  export declare function insertBlack(db: Database, localBlack: LocalBlack): QueryExecResult[];
@@ -24,6 +24,7 @@ export declare function searchMessageByContentType(db: Database, conversationID:
24
24
  export declare function searchMessageByContentTypeAndKeyword(db: Database, conversationID: string, contentType: number[], keywordList: string[], keywordListMatchType: number, startTime: number, endTime: number): QueryExecResult[];
25
25
  export declare function messageIfExists(db: Database, conversationID: string, clientMsgID: string): QueryExecResult[];
26
26
  export declare function updateMsgSenderFaceURLAndSenderNickname(db: Database, conversationID: string, sendID: string, faceURL: string, nickname: string, faceBackgroundColor?: string): QueryExecResult[];
27
+ export declare function updateMsgSenderFaceBackgroundColor(db: Database, conversationID: string, sendID: string, faceBackgroundColor: string): QueryExecResult[];
27
28
  export declare function deleteConversationAllMessages(db: Database, conversationID: string): QueryExecResult[];
28
29
  export declare function markDeleteConversationAllMessages(db: Database, conversationID: string): QueryExecResult[];
29
30
  export declare function getUnreadMessage(db: Database, conversationID: string, loginUserID: string): QueryExecResult[];
@@ -12,6 +12,7 @@ export declare function getAllConversationIDList(db: Database): QueryExecResult[
12
12
  export declare function getHiddenConversationList(db: Database): QueryExecResult[];
13
13
  export declare function getConversationListSplit(db: Database, offset: number, count: number): QueryExecResult[];
14
14
  export declare function getConversation(db: Database, conversationID: string): QueryExecResult[];
15
+ export declare function getConversationByConversationIDLike(db: Database, conversationID: string): QueryExecResult[];
15
16
  export declare function getMultipleConversation(db: Database, conversationIDList: string[]): QueryExecResult[];
16
17
  export declare function updateColumnsConversation(db: Database, conversationID: string, conversation: ClientConversation): QueryExecResult[];
17
18
  export declare function incrConversationUnreadCount(db: Database, conversationID: string): QueryExecResult[];
@@ -23,6 +23,10 @@ export declare type IMConfig = {
23
23
  isLogStandardOutput: boolean;
24
24
  logFilePath: string;
25
25
  isExternalExtensions: boolean;
26
+ enableListenerMonitoring: boolean;
27
+ pushgatewayURL: string;
28
+ metricsPushIntervalSec: number;
29
+ slowCallbackThresholdMs: number;
26
30
  };
27
31
  export declare type MessageEntity = {
28
32
  type: string;
@@ -66,6 +70,7 @@ export declare type GroupApplicationItem = {
66
70
  joinSource: GroupJoinSource;
67
71
  status: GroupStatus;
68
72
  userFaceURL: string;
73
+ userFaceBackgroundColor: string;
69
74
  faceBackgroundColor: string;
70
75
  userID: string;
71
76
  };
@@ -13,6 +13,10 @@ export declare type InitConfig = {
13
13
  isLogStandardOutput?: boolean;
14
14
  isExternalExtensions?: boolean;
15
15
  tryParse?: boolean;
16
+ enableListenerMonitoring?: boolean;
17
+ pushgatewayURL?: string;
18
+ metricsPushIntervalSec?: number;
19
+ slowCallbackThresholdMs?: number;
16
20
  };
17
21
  export declare type LoginConfig = {
18
22
  userID: string;
@@ -28,6 +32,10 @@ export declare type InitAndLoginConfig = {
28
32
  isLogStandardOutput?: boolean;
29
33
  isExternalExtensions?: boolean;
30
34
  tryParse?: boolean;
35
+ enableListenerMonitoring?: boolean;
36
+ pushgatewayURL?: string;
37
+ metricsPushIntervalSec?: number;
38
+ slowCallbackThresholdMs?: number;
31
39
  };
32
40
  export declare type GetOneConversationParams = {
33
41
  sourceID: string;