@inter-digital/wasm-client-sdk 3.8.4-patch.14 → 3.8.4-patch.15

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.
package/lib/index.es.js CHANGED
@@ -1233,6 +1233,11 @@ class SDK extends Emitter {
1233
1233
  isLogStandardOutput: (_a = params.isLogStandardOutput) !== null && _a !== void 0 ? _a : this.isLogStandardOutput,
1234
1234
  logFilePath: './',
1235
1235
  isExternalExtensions: params.isExternalExtensions || false,
1236
+ // SDK Monitoring
1237
+ enableListenerMonitoring: params.enableListenerMonitoring || false,
1238
+ pushgatewayURL: params.pushgatewayURL || '',
1239
+ metricsPushIntervalSec: params.metricsPushIntervalSec || 60,
1240
+ slowCallbackThresholdMs: params.slowCallbackThresholdMs || 1000,
1236
1241
  };
1237
1242
  this.tryParse = (_b = params.tryParse) !== null && _b !== void 0 ? _b : true;
1238
1243
  const result = window.initSDK(operationID, JSON.stringify(config));
package/lib/index.js CHANGED
@@ -1237,6 +1237,11 @@ class SDK extends Emitter {
1237
1237
  isLogStandardOutput: (_a = params.isLogStandardOutput) !== null && _a !== void 0 ? _a : this.isLogStandardOutput,
1238
1238
  logFilePath: './',
1239
1239
  isExternalExtensions: params.isExternalExtensions || false,
1240
+ // SDK Monitoring
1241
+ enableListenerMonitoring: params.enableListenerMonitoring || false,
1242
+ pushgatewayURL: params.pushgatewayURL || '',
1243
+ metricsPushIntervalSec: params.metricsPushIntervalSec || 60,
1244
+ slowCallbackThresholdMs: params.slowCallbackThresholdMs || 1000,
1240
1245
  };
1241
1246
  this.tryParse = (_b = params.tryParse) !== null && _b !== void 0 ? _b : true;
1242
1247
  const result = window.initSDK(operationID, JSON.stringify(config));
package/lib/index.umd.js CHANGED
@@ -1239,6 +1239,11 @@
1239
1239
  isLogStandardOutput: (_a = params.isLogStandardOutput) !== null && _a !== void 0 ? _a : this.isLogStandardOutput,
1240
1240
  logFilePath: './',
1241
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,
1242
1247
  };
1243
1248
  this.tryParse = (_b = params.tryParse) !== null && _b !== void 0 ? _b : true;
1244
1249
  const result = window.initSDK(operationID, JSON.stringify(config));
@@ -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;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inter-digital/wasm-client-sdk",
3
- "version": "3.8.4-patch.14",
3
+ "version": "3.8.4-patch.15",
4
4
  "description": "open im sdk for web",
5
5
  "source": "src/index.ts",
6
6
  "main": "lib/index.js",