@webex/calling 3.9.0-multi-llms.4 → 3.9.0-multi-llms.5
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/dist/CallingClient/registration/register.js +435 -365
- package/dist/CallingClient/registration/register.js.map +1 -1
- package/dist/CallingClient/registration/register.test.js +96 -24
- package/dist/CallingClient/registration/register.test.js.map +1 -1
- package/dist/CallingClient/registration/webWorker.js +20 -6
- package/dist/CallingClient/registration/webWorker.js.map +1 -1
- package/dist/CallingClient/registration/webWorker.test.js +71 -24
- package/dist/CallingClient/registration/webWorker.test.js.map +1 -1
- package/dist/CallingClient/registration/webWorkerStr.js +1 -1
- package/dist/CallingClient/registration/webWorkerStr.js.map +1 -1
- package/dist/Metrics/index.js +85 -50
- package/dist/Metrics/index.js.map +1 -1
- package/dist/Metrics/index.test.js +54 -25
- package/dist/Metrics/index.test.js.map +1 -1
- package/dist/common/Utils.js.map +1 -1
- package/dist/module/CallingClient/registration/register.js +23 -2
- package/dist/module/CallingClient/registration/webWorker.js +15 -2
- package/dist/module/CallingClient/registration/webWorkerStr.js +19 -3
- package/dist/module/Metrics/index.js +56 -23
- package/dist/types/CallingClient/registration/register.d.ts +1 -0
- package/dist/types/CallingClient/registration/register.d.ts.map +1 -1
- package/dist/types/CallingClient/registration/webWorker.d.ts.map +1 -1
- package/dist/types/CallingClient/registration/webWorkerStr.d.ts +1 -1
- package/dist/types/CallingClient/registration/webWorkerStr.d.ts.map +1 -1
- package/dist/types/Metrics/index.d.ts.map +1 -1
- package/dist/types/common/Utils.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -14,7 +14,7 @@ const messageHandler = (event) => {
|
|
|
14
14
|
},
|
|
15
15
|
});
|
|
16
16
|
if (!response.ok) {
|
|
17
|
-
throw
|
|
17
|
+
throw response;
|
|
18
18
|
}
|
|
19
19
|
return response;
|
|
20
20
|
};
|
|
@@ -39,10 +39,23 @@ const messageHandler = (event) => {
|
|
|
39
39
|
keepAliveRetryCount = 0;
|
|
40
40
|
}
|
|
41
41
|
catch (err) {
|
|
42
|
+
const headers = {};
|
|
43
|
+
if (err.headers.has('Retry-After')) {
|
|
44
|
+
headers['retry-after'] = err.headers.get('Retry-After');
|
|
45
|
+
}
|
|
46
|
+
if (err.headers.has('Trackingid')) {
|
|
47
|
+
headers['trackingid'] = err.headers.get('Trackingid');
|
|
48
|
+
}
|
|
49
|
+
const error = {
|
|
50
|
+
headers,
|
|
51
|
+
statusCode: err.status,
|
|
52
|
+
statusText: err.statusText,
|
|
53
|
+
type: err.type,
|
|
54
|
+
};
|
|
42
55
|
keepAliveRetryCount += 1;
|
|
43
56
|
postMessage({
|
|
44
57
|
type: WorkerMessageType.KEEPALIVE_FAILURE,
|
|
45
|
-
err,
|
|
58
|
+
err: error,
|
|
46
59
|
keepAliveRetryCount,
|
|
47
60
|
});
|
|
48
61
|
}
|
|
@@ -41,7 +41,7 @@ const messageHandler = (event) => {
|
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
if (!response.ok) {
|
|
44
|
-
throw
|
|
44
|
+
throw response;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
return response;
|
|
@@ -69,10 +69,26 @@ const messageHandler = (event) => {
|
|
|
69
69
|
}
|
|
70
70
|
keepAliveRetryCount = 0;
|
|
71
71
|
} catch (err) {
|
|
72
|
-
|
|
72
|
+
let headers = {};
|
|
73
|
+
if(err.headers.has('Retry-After')) {
|
|
74
|
+
headers['retry-after'] = err.headers.get('Retry-After');
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if(err.headers.has('Trackingid')) {
|
|
78
|
+
headers['trackingid'] = err.headers.get('Trackingid');
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
const error = {
|
|
82
|
+
headers,
|
|
83
|
+
statusCode: err.status,
|
|
84
|
+
statusText: err.statusText,
|
|
85
|
+
type: err.type,
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
keepAliveRetryCount += 1
|
|
73
89
|
self.postMessage({
|
|
74
90
|
type: WorkerMessageType.KEEPALIVE_FAILURE,
|
|
75
|
-
err,
|
|
91
|
+
err: error,
|
|
76
92
|
keepAliveRetryCount,
|
|
77
93
|
});
|
|
78
94
|
}
|
|
@@ -139,33 +139,66 @@ class MetricManager {
|
|
|
139
139
|
break;
|
|
140
140
|
}
|
|
141
141
|
case METRIC_EVENT.REGISTRATION_ERROR: {
|
|
142
|
+
let errorData;
|
|
142
143
|
if (clientError) {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
device_id: this.deviceInfo?.device?.deviceId,
|
|
147
|
-
service_indicator: this.serviceIndicator,
|
|
148
|
-
},
|
|
149
|
-
fields: {
|
|
150
|
-
device_url: this.deviceInfo?.device?.clientDeviceUri,
|
|
151
|
-
mobius_url: this.deviceInfo?.device?.uri,
|
|
152
|
-
calling_sdk_version: process.env.CALLING_SDK_VERSION || VERSION,
|
|
153
|
-
reg_source: caller,
|
|
154
|
-
server_type: serverType,
|
|
155
|
-
trackingId,
|
|
156
|
-
keepalive_count: keepaliveCount,
|
|
157
|
-
error: clientError.getError().message,
|
|
158
|
-
error_type: clientError.getError().type,
|
|
159
|
-
},
|
|
160
|
-
type,
|
|
144
|
+
errorData = {
|
|
145
|
+
msg: clientError.getError().message,
|
|
146
|
+
type: clientError.getError().type,
|
|
161
147
|
};
|
|
162
148
|
}
|
|
149
|
+
data = {
|
|
150
|
+
tags: {
|
|
151
|
+
action: metricAction,
|
|
152
|
+
device_id: this.deviceInfo?.device?.deviceId,
|
|
153
|
+
service_indicator: this.serviceIndicator,
|
|
154
|
+
},
|
|
155
|
+
fields: {
|
|
156
|
+
device_url: this.deviceInfo?.device?.clientDeviceUri,
|
|
157
|
+
mobius_url: this.deviceInfo?.device?.uri,
|
|
158
|
+
calling_sdk_version: process.env.CALLING_SDK_VERSION || VERSION,
|
|
159
|
+
reg_source: caller,
|
|
160
|
+
server_type: serverType,
|
|
161
|
+
trackingId,
|
|
162
|
+
error: errorData?.msg,
|
|
163
|
+
error_type: errorData?.type,
|
|
164
|
+
},
|
|
165
|
+
type,
|
|
166
|
+
};
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
case METRIC_EVENT.KEEPALIVE_ERROR: {
|
|
170
|
+
let errorData;
|
|
171
|
+
if (clientError) {
|
|
172
|
+
errorData = {
|
|
173
|
+
msg: clientError.getError().message,
|
|
174
|
+
type: clientError.getError().type,
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
data = {
|
|
178
|
+
tags: {
|
|
179
|
+
action: metricAction,
|
|
180
|
+
device_id: this.deviceInfo?.device?.deviceId,
|
|
181
|
+
service_indicator: this.serviceIndicator,
|
|
182
|
+
},
|
|
183
|
+
fields: {
|
|
184
|
+
device_url: this.deviceInfo?.device?.clientDeviceUri,
|
|
185
|
+
mobius_url: this.deviceInfo?.device?.uri,
|
|
186
|
+
calling_sdk_version: process.env.CALLING_SDK_VERSION || VERSION,
|
|
187
|
+
reg_source: caller,
|
|
188
|
+
server_type: serverType,
|
|
189
|
+
trackingId,
|
|
190
|
+
keepalive_count: keepaliveCount,
|
|
191
|
+
error: errorData?.msg,
|
|
192
|
+
error_type: errorData?.type,
|
|
193
|
+
},
|
|
194
|
+
type,
|
|
195
|
+
};
|
|
163
196
|
break;
|
|
164
197
|
}
|
|
165
198
|
default:
|
|
166
199
|
log.warn('Invalid metric name received. Rejecting request to submit metric.', {
|
|
167
200
|
file: METRIC_FILE,
|
|
168
|
-
method:
|
|
201
|
+
method: 'submitRegistrationMetric',
|
|
169
202
|
});
|
|
170
203
|
break;
|
|
171
204
|
}
|
|
@@ -219,7 +252,7 @@ class MetricManager {
|
|
|
219
252
|
default:
|
|
220
253
|
log.warn('Invalid metric name received. Rejecting request to submit metric.', {
|
|
221
254
|
file: METRIC_FILE,
|
|
222
|
-
method:
|
|
255
|
+
method: 'submitCallMetric',
|
|
223
256
|
});
|
|
224
257
|
break;
|
|
225
258
|
}
|
|
@@ -277,7 +310,7 @@ class MetricManager {
|
|
|
277
310
|
default:
|
|
278
311
|
log.warn('Invalid metric name received. Rejecting request to submit metric.', {
|
|
279
312
|
file: METRIC_FILE,
|
|
280
|
-
method:
|
|
313
|
+
method: 'submitMediaMetric',
|
|
281
314
|
});
|
|
282
315
|
break;
|
|
283
316
|
}
|
|
@@ -327,7 +360,7 @@ class MetricManager {
|
|
|
327
360
|
default:
|
|
328
361
|
log.warn('Invalid metric name received. Rejecting request to submit metric.', {
|
|
329
362
|
file: METRIC_FILE,
|
|
330
|
-
method:
|
|
363
|
+
method: 'submitVoicemailMetric',
|
|
331
364
|
});
|
|
332
365
|
break;
|
|
333
366
|
}
|
|
@@ -356,7 +389,7 @@ class MetricManager {
|
|
|
356
389
|
else {
|
|
357
390
|
log.warn('Invalid metric name received. Rejecting request to submit metric.', {
|
|
358
391
|
file: METRIC_FILE,
|
|
359
|
-
method:
|
|
392
|
+
method: 'submitBNRMetric',
|
|
360
393
|
});
|
|
361
394
|
}
|
|
362
395
|
if (data) {
|
|
@@ -37,6 +37,7 @@ export declare class Registration implements IRegistration {
|
|
|
37
37
|
private deleteRegistration;
|
|
38
38
|
private postRegistration;
|
|
39
39
|
private restorePreviousRegistration;
|
|
40
|
+
private handle404KeepaliveFailure;
|
|
40
41
|
private handle429Retry;
|
|
41
42
|
private getRegRetryInterval;
|
|
42
43
|
private startFailoverTimer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../src/CallingClient/registration/register.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAC;AAelC,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAEtC,OAAO,EAGL,WAAW,EACX,kBAAkB,EAClB,WAAW,EAIZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAgB,QAAQ,EAAC,MAAM,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B,YACtB,MAAM,QACV,MAAM,KACX,aAAwF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webWorker.d.ts","sourceRoot":"","sources":["../../../../src/CallingClient/registration/webWorker.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,cAAc,UAAW,YAAY,
|
|
1
|
+
{"version":3,"file":"webWorker.d.ts","sourceRoot":"","sources":["../../../../src/CallingClient/registration/webWorker.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,cAAc,UAAW,YAAY,SA4E1C,CAAC;AAIF,eAAe,cAAc,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const webWorkerStr = "/* eslint-env worker */\n\nconst uuid = () => {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {\n const r = (Math.random() * 16) | 0;\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n};\n\n// Enum values from the original imports\nconst HTTP_METHODS = {\n GET: 'GET',\n POST: 'POST',\n PUT: 'PUT',\n DELETE: 'DELETE',\n PATCH: 'PATCH',\n};\n\nconst WorkerMessageType = {\n START_KEEPALIVE: 'START_KEEPALIVE',\n CLEAR_KEEPALIVE: 'CLEAR_KEEPALIVE',\n KEEPALIVE_SUCCESS: 'KEEPALIVE_SUCCESS',\n KEEPALIVE_FAILURE: 'KEEPALIVE_FAILURE',\n};\n\nlet keepaliveTimer;\n\nconst messageHandler = (event) => {\n const {type} = event.data;\n\n const postKeepAlive = async (accessToken, deviceUrl, url) => {\n const response = await fetch(`${url}/status`, {\n method: HTTP_METHODS.POST,\n headers: {\n 'cisco-device-url': deviceUrl,\n 'spark-user-agent': 'webex-calling/beta',\n Authorization: `${accessToken}`,\n trackingId: `web_worker_${uuid()}`,\n },\n });\n\n if (!response.ok) {\n throw
|
|
1
|
+
declare const webWorkerStr = "/* eslint-env worker */\n\nconst uuid = () => {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {\n const r = (Math.random() * 16) | 0;\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n};\n\n// Enum values from the original imports\nconst HTTP_METHODS = {\n GET: 'GET',\n POST: 'POST',\n PUT: 'PUT',\n DELETE: 'DELETE',\n PATCH: 'PATCH',\n};\n\nconst WorkerMessageType = {\n START_KEEPALIVE: 'START_KEEPALIVE',\n CLEAR_KEEPALIVE: 'CLEAR_KEEPALIVE',\n KEEPALIVE_SUCCESS: 'KEEPALIVE_SUCCESS',\n KEEPALIVE_FAILURE: 'KEEPALIVE_FAILURE',\n};\n\nlet keepaliveTimer;\n\nconst messageHandler = (event) => {\n const {type} = event.data;\n\n const postKeepAlive = async (accessToken, deviceUrl, url) => {\n const response = await fetch(`${url}/status`, {\n method: HTTP_METHODS.POST,\n headers: {\n 'cisco-device-url': deviceUrl,\n 'spark-user-agent': 'webex-calling/beta',\n Authorization: `${accessToken}`,\n trackingId: `web_worker_${uuid()}`,\n },\n });\n\n if (!response.ok) {\n throw response;\n }\n\n return response;\n };\n\n if (type === WorkerMessageType.START_KEEPALIVE) {\n let keepAliveRetryCount = 0;\n const {accessToken, deviceUrl, interval, retryCountThreshold, url} = event.data;\n\n if (keepaliveTimer) {\n clearInterval(keepaliveTimer);\n keepaliveTimer = undefined;\n }\n\n keepaliveTimer = setInterval(async () => {\n if (keepAliveRetryCount < retryCountThreshold) {\n try {\n const res = await postKeepAlive(accessToken, deviceUrl, url);\n const statusCode = res.status;\n if (keepAliveRetryCount > 0) {\n self.postMessage({\n type: WorkerMessageType.KEEPALIVE_SUCCESS,\n statusCode,\n });\n }\n keepAliveRetryCount = 0;\n } catch (err) {\n let headers = {};\n if(err.headers.has('Retry-After')) {\n headers['retry-after'] = err.headers.get('Retry-After');\n } \n\n if(err.headers.has('Trackingid')) {\n headers['trackingid'] = err.headers.get('Trackingid');\n } \n\n const error = {\n headers,\n statusCode: err.status,\n statusText: err.statusText,\n type: err.type,\n };\n\n keepAliveRetryCount += 1\n self.postMessage({\n type: WorkerMessageType.KEEPALIVE_FAILURE,\n err: error,\n keepAliveRetryCount,\n });\n }\n }\n }, interval * 1000);\n }\n\n if (type === WorkerMessageType.CLEAR_KEEPALIVE) {\n if (keepaliveTimer) {\n clearInterval(keepaliveTimer);\n keepaliveTimer = undefined;\n }\n }\n};\n\nself.addEventListener('message', messageHandler);\n";
|
|
2
2
|
export default webWorkerStr;
|
|
3
3
|
//# sourceMappingURL=webWorkerStr.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webWorkerStr.d.ts","sourceRoot":"","sources":["../../../../src/CallingClient/registration/webWorkerStr.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"webWorkerStr.d.ts","sourceRoot":"","sources":["../../../../src/CallingClient/registration/webWorkerStr.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,YAAY,yzFA2GjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Metrics/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoD,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACpG,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAEL,cAAc,EAKf,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Metrics/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoD,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACpG,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAEL,cAAc,EAKf,MAAM,SAAS,CAAC;AAyjBjB,eAAO,MAAM,gBAAgB,WACnB,QAAQ,cACJ,gBAAgB,KAC3B,cAMF,CAAC;A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AQD,wBAAsB,SAAS,CAAC,MAAM,EAAE,MAAM,gCAgC7C;AAOD,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,MAAM,+BAuD1D;AAOD,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,MAAM,+BAgDvD;AAOD,wBAAsB,cAAc,CAClC,gBAAgB,EAAE,gBAAgB,GACjC,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAWpC;AAQD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,WAAW,EAAE,QAIlF;AAWD,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,UAAU,GACxB,iBAAiB,CAwBnB;AASD,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,MAAM,CAE1E;AA6CD,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,QAW3D;AAQD,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAoEpD;AASD,wBAAsB,UAAU,CAC9B,QAAQ,GAAE,YAAiB,EAC3B,UAAU,UAAQ,GACjB,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CA8DzC"}
|
package/package.json
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@types/platform": "1.3.4",
|
|
40
40
|
"@webex/internal-media-core": "2.19.0",
|
|
41
|
-
"@webex/internal-plugin-metrics": "3.9.0-multi-llms.
|
|
41
|
+
"@webex/internal-plugin-metrics": "3.9.0-multi-llms.5",
|
|
42
42
|
"@webex/media-helpers": "3.9.0-multi-llms.1",
|
|
43
43
|
"async-mutex": "0.4.0",
|
|
44
44
|
"buffer": "6.0.3",
|
|
@@ -132,5 +132,5 @@
|
|
|
132
132
|
"staticpath": "docs",
|
|
133
133
|
"noprompt": true
|
|
134
134
|
},
|
|
135
|
-
"version": "3.9.0-multi-llms.
|
|
135
|
+
"version": "3.9.0-multi-llms.5"
|
|
136
136
|
}
|