@kohost/api-client 3.7.5 → 3.7.6
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/cjs/Client/index.js +8 -0
- package/dist/esm/Client.js +87 -51
- package/dist/esm/Client.js.map +2 -2
- package/dist/esm/Models.js +3 -9
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/SocketIoClient.js +746 -615
- package/dist/esm/SocketIoClient.js.map +4 -4
- package/dist/esm/defs.js +87 -51
- package/dist/esm/defs.js.map +2 -2
- package/dist/esm/utils.js +3 -9
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/Client/index.d.ts +2 -0
- package/dist/types/Client/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/esm/utils.js
CHANGED
|
@@ -3952,8 +3952,7 @@ var require_fast_uri = __commonJS({
|
|
|
3952
3952
|
}
|
|
3953
3953
|
}
|
|
3954
3954
|
if (options.reference !== "suffix" && components.scheme) {
|
|
3955
|
-
uriTokens.push(components.scheme);
|
|
3956
|
-
uriTokens.push(":");
|
|
3955
|
+
uriTokens.push(components.scheme, ":");
|
|
3957
3956
|
}
|
|
3958
3957
|
const authority = recomposeAuthority(components, options);
|
|
3959
3958
|
if (authority !== void 0) {
|
|
@@ -3976,12 +3975,10 @@ var require_fast_uri = __commonJS({
|
|
|
3976
3975
|
uriTokens.push(s);
|
|
3977
3976
|
}
|
|
3978
3977
|
if (components.query !== void 0) {
|
|
3979
|
-
uriTokens.push("?");
|
|
3980
|
-
uriTokens.push(components.query);
|
|
3978
|
+
uriTokens.push("?", components.query);
|
|
3981
3979
|
}
|
|
3982
3980
|
if (components.fragment !== void 0) {
|
|
3983
|
-
uriTokens.push("#");
|
|
3984
|
-
uriTokens.push(components.fragment);
|
|
3981
|
+
uriTokens.push("#", components.fragment);
|
|
3985
3982
|
}
|
|
3986
3983
|
return uriTokens.join("");
|
|
3987
3984
|
}
|
|
@@ -4062,9 +4059,6 @@ var require_fast_uri = __commonJS({
|
|
|
4062
4059
|
if (gotEncoding && parsed.scheme !== void 0) {
|
|
4063
4060
|
parsed.scheme = unescape(parsed.scheme);
|
|
4064
4061
|
}
|
|
4065
|
-
if (gotEncoding && parsed.userinfo !== void 0) {
|
|
4066
|
-
parsed.userinfo = unescape(parsed.userinfo);
|
|
4067
|
-
}
|
|
4068
4062
|
if (gotEncoding && parsed.host !== void 0) {
|
|
4069
4063
|
parsed.host = unescape(parsed.host);
|
|
4070
4064
|
}
|