@bitrix24/b24jssdk 0.1.2 → 0.1.3

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.1.2
2
+ * @version @bitrix24/b24jssdk v0.1.3
3
3
  * @copyright (c) 2024 Bitrix24
4
4
  * @licence MIT
5
5
  * @links https://github.com/bitrix24/b24jssdk - GitHub
@@ -1605,7 +1605,7 @@ class Http {
1605
1605
  result.logTag = this.#logTag;
1606
1606
  }
1607
1607
  result[this.#requestIdGenerator.getQueryStringParameterName()] = this.#requestIdGenerator.getRequestId();
1608
- result[this.#requestIdGenerator.getQueryStringSdkParameterName()] = "0.1.2";
1608
+ result[this.#requestIdGenerator.getQueryStringSdkParameterName()] = "0.1.3";
1609
1609
  if (!!result.data && !!result.data.start) {
1610
1610
  delete result.data.start;
1611
1611
  }
@@ -1728,7 +1728,7 @@ class AbstractB24 {
1728
1728
  do {
1729
1729
  const result = await this.callMethod(method, params, params.start);
1730
1730
  let data = void 0;
1731
- if (Type.isNull(customKeyForResult) && null !== customKeyForResult) {
1731
+ if (!Type.isNull(customKeyForResult) && null !== customKeyForResult) {
1732
1732
  data = result.getData().result[customKeyForResult];
1733
1733
  } else {
1734
1734
  data = result.getData().result;