@bitrix24/b24jssdk 0.4.8 → 0.4.9

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/umd/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @version @bitrix24/b24jssdk v0.4.8
2
+ * @version @bitrix24/b24jssdk v0.4.9
3
3
  * @copyright (c) 2025 Bitrix24
4
4
  * @licence MIT
5
5
  * @links https://github.com/bitrix24/b24jssdk - GitHub
@@ -14376,7 +14376,7 @@ ${this.stack}`;
14376
14376
  #clientSideWarningMessage = "";
14377
14377
  constructor(baseURL, authActions, options) {
14378
14378
  const defaultHeaders = {
14379
- // 'X-Sdk': 'b24-js-sdk-v-0.4.8'
14379
+ // 'X-Sdk': 'b24-js-sdk-v-0.4.9'
14380
14380
  };
14381
14381
  this.#clientAxios = axios.create({
14382
14382
  baseURL,
@@ -14806,7 +14806,7 @@ ${this.stack}`;
14806
14806
  const baseUrl = `${encodeURIComponent(method)}.json`;
14807
14807
  const queryParams = new URLSearchParams({
14808
14808
  [this.#requestIdGenerator.getQueryStringParameterName()]: this.#requestIdGenerator.getRequestId(),
14809
- [this.#requestIdGenerator.getQueryStringSdkParameterName()]: "0.4.8",
14809
+ [this.#requestIdGenerator.getQueryStringSdkParameterName()]: "0.4.9",
14810
14810
  [this.#requestIdGenerator.getQueryStringSdkTypeParameterName()]: "b24-js-sdk"
14811
14811
  });
14812
14812
  return `${baseUrl}?${queryParams.toString()}`;
@@ -16081,6 +16081,8 @@ ${this.stack}`;
16081
16081
  cmd = command.toString();
16082
16082
  if (params?.isRawValue !== true && paramsSend) {
16083
16083
  paramsSend = JSON.stringify(paramsSend);
16084
+ } else if (params?.isRawValue === true && paramsSend && Type.isPlainObject(paramsSend) && paramsSend["value"]) {
16085
+ paramsSend = paramsSend["value"];
16084
16086
  }
16085
16087
  const listParams = [
16086
16088
  paramsSend || "",