webitel-sdk 26.4.16 → 26.4.19
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/index.cjs +6 -3
- package/index.cjs.map +1 -1
- package/index.mjs +6 -3
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/url-shim.d.ts.map +1 -1
- package/version.d.ts +1 -1
package/index.mjs
CHANGED
|
@@ -29,7 +29,10 @@ function format(urlObj) {
|
|
|
29
29
|
for (const key of Object.keys(query)) {
|
|
30
30
|
const value = query[key];
|
|
31
31
|
if (value === void 0 || value === null) continue;
|
|
32
|
-
if (Array.isArray(value)) for (const item of value)
|
|
32
|
+
if (Array.isArray(value)) for (const item of value) {
|
|
33
|
+
if (item === void 0 || item === null) continue;
|
|
34
|
+
params.append(key, String(item));
|
|
35
|
+
}
|
|
33
36
|
else params.append(key, String(value));
|
|
34
37
|
}
|
|
35
38
|
const queryString = params.toString();
|
|
@@ -66679,7 +66682,7 @@ _defineProperty(SipPhone$1, "userAgent", `Webitel-Phone/${version$1}`);
|
|
|
66679
66682
|
_defineProperty(SipPhone$1, "sipVersion", version$1);
|
|
66680
66683
|
//#endregion
|
|
66681
66684
|
//#region src/version.ts
|
|
66682
|
-
const version = "26.4.
|
|
66685
|
+
const version = "26.4.19";
|
|
66683
66686
|
//#endregion
|
|
66684
66687
|
//#region src/socket/errors.ts
|
|
66685
66688
|
/**
|
|
@@ -69906,7 +69909,7 @@ var Conversation = class {
|
|
|
69906
69909
|
* @returns {ChatChannel} - Оновлений об'єкт ChatChannel.
|
|
69907
69910
|
*/
|
|
69908
69911
|
function wrapChannelMember(m) {
|
|
69909
|
-
m.messenger = m.type;
|
|
69912
|
+
if (m) m.messenger = m.type;
|
|
69910
69913
|
return m;
|
|
69911
69914
|
}
|
|
69912
69915
|
//#endregion
|