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.cjs
CHANGED
|
@@ -54,7 +54,10 @@ function format(urlObj) {
|
|
|
54
54
|
for (const key of Object.keys(query)) {
|
|
55
55
|
const value = query[key];
|
|
56
56
|
if (value === void 0 || value === null) continue;
|
|
57
|
-
if (Array.isArray(value)) for (const item of value)
|
|
57
|
+
if (Array.isArray(value)) for (const item of value) {
|
|
58
|
+
if (item === void 0 || item === null) continue;
|
|
59
|
+
params.append(key, String(item));
|
|
60
|
+
}
|
|
58
61
|
else params.append(key, String(value));
|
|
59
62
|
}
|
|
60
63
|
const queryString = params.toString();
|
|
@@ -66704,7 +66707,7 @@ _defineProperty(SipPhone$1, "userAgent", `Webitel-Phone/${version$1}`);
|
|
|
66704
66707
|
_defineProperty(SipPhone$1, "sipVersion", version$1);
|
|
66705
66708
|
//#endregion
|
|
66706
66709
|
//#region src/version.ts
|
|
66707
|
-
const version = "26.4.
|
|
66710
|
+
const version = "26.4.19";
|
|
66708
66711
|
//#endregion
|
|
66709
66712
|
//#region src/socket/errors.ts
|
|
66710
66713
|
/**
|
|
@@ -69931,7 +69934,7 @@ var Conversation = class {
|
|
|
69931
69934
|
* @returns {ChatChannel} - Оновлений об'єкт ChatChannel.
|
|
69932
69935
|
*/
|
|
69933
69936
|
function wrapChannelMember(m) {
|
|
69934
|
-
m.messenger = m.type;
|
|
69937
|
+
if (m) m.messenger = m.type;
|
|
69935
69938
|
return m;
|
|
69936
69939
|
}
|
|
69937
69940
|
//#endregion
|