@bitrix24/b24jssdk 0.1.2 → 0.1.4
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/commonjs/index.cjs +20 -7
- package/dist/commonjs/index.cjs.map +1 -1
- package/dist/esm/index.mjs +4 -4
- package/dist/esm/index.mjs.map +1 -1
- package/dist/umd/index.js +1077 -2744
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/index.min.js +18 -21
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +3 -4
package/dist/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @version @bitrix24/b24jssdk v0.1.
|
|
2
|
+
* @version @bitrix24/b24jssdk v0.1.4
|
|
3
3
|
* @copyright (c) 2024 Bitrix24
|
|
4
4
|
* @licence MIT
|
|
5
5
|
* @links https://github.com/bitrix24/b24jssdk - GitHub
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { DateTime } from 'luxon';
|
|
9
9
|
import axios, { AxiosError } from 'axios';
|
|
10
|
-
import qs from 'qs';
|
|
10
|
+
import * as qs from 'qs-esm';
|
|
11
11
|
|
|
12
12
|
var LoggerType = /* @__PURE__ */ ((LoggerType2) => {
|
|
13
13
|
LoggerType2["desktop"] = "desktop";
|
|
@@ -1603,7 +1603,7 @@ class Http {
|
|
|
1603
1603
|
result.logTag = this.#logTag;
|
|
1604
1604
|
}
|
|
1605
1605
|
result[this.#requestIdGenerator.getQueryStringParameterName()] = this.#requestIdGenerator.getRequestId();
|
|
1606
|
-
result[this.#requestIdGenerator.getQueryStringSdkParameterName()] = "0.1.
|
|
1606
|
+
result[this.#requestIdGenerator.getQueryStringSdkParameterName()] = "0.1.4";
|
|
1607
1607
|
if (!!result.data && !!result.data.start) {
|
|
1608
1608
|
delete result.data.start;
|
|
1609
1609
|
}
|
|
@@ -1726,7 +1726,7 @@ class AbstractB24 {
|
|
|
1726
1726
|
do {
|
|
1727
1727
|
const result = await this.callMethod(method, params, params.start);
|
|
1728
1728
|
let data = void 0;
|
|
1729
|
-
if (Type.isNull(customKeyForResult) && null !== customKeyForResult) {
|
|
1729
|
+
if (!Type.isNull(customKeyForResult) && null !== customKeyForResult) {
|
|
1730
1730
|
data = result.getData().result[customKeyForResult];
|
|
1731
1731
|
} else {
|
|
1732
1732
|
data = result.getData().result;
|