@bitrix24/b24jssdk 0.4.6 → 0.4.8

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @version @bitrix24/b24jssdk v0.4.6
2
+ * @version @bitrix24/b24jssdk v0.4.8
3
3
  * @copyright (c) 2025 Bitrix24
4
4
  * @licence MIT
5
5
  * @links https://github.com/bitrix24/b24jssdk - GitHub
@@ -1683,7 +1683,7 @@ class Http {
1683
1683
  #clientSideWarningMessage = "";
1684
1684
  constructor(baseURL, authActions, options) {
1685
1685
  const defaultHeaders = {
1686
- // 'X-Sdk': 'b24-js-sdk-v-0.4.6'
1686
+ // 'X-Sdk': 'b24-js-sdk-v-0.4.8'
1687
1687
  };
1688
1688
  this.#clientAxios = axios.create({
1689
1689
  baseURL,
@@ -2113,7 +2113,7 @@ class Http {
2113
2113
  const baseUrl = `${encodeURIComponent(method)}.json`;
2114
2114
  const queryParams = new URLSearchParams({
2115
2115
  [this.#requestIdGenerator.getQueryStringParameterName()]: this.#requestIdGenerator.getRequestId(),
2116
- [this.#requestIdGenerator.getQueryStringSdkParameterName()]: "0.4.6",
2116
+ [this.#requestIdGenerator.getQueryStringSdkParameterName()]: "0.4.8",
2117
2117
  [this.#requestIdGenerator.getQueryStringSdkTypeParameterName()]: "b24-js-sdk"
2118
2118
  });
2119
2119
  return `${baseUrl}?${queryParams.toString()}`;
@@ -3386,7 +3386,7 @@ class MessageManager {
3386
3386
  };
3387
3387
  } else {
3388
3388
  cmd = command.toString();
3389
- if (params?.isRawValue !== true) {
3389
+ if (params?.isRawValue !== true && paramsSend) {
3390
3390
  paramsSend = JSON.stringify(paramsSend);
3391
3391
  }
3392
3392
  const listParams = [