@qite/tide-client 1.1.33 → 1.1.34
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/build/index.js +12 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/web-agent-client.ts +18 -3
package/build/index.js
CHANGED
|
@@ -6642,13 +6642,23 @@ var print = function (config, request, signal) {
|
|
|
6642
6642
|
};
|
|
6643
6643
|
var getEntryList = function (config, filterItem, gridColumns, signal) {
|
|
6644
6644
|
var params = createParams(filterItem, false, gridColumns);
|
|
6645
|
-
var
|
|
6645
|
+
var queryString = Object.keys(params)
|
|
6646
|
+
.map(function (key) {
|
|
6647
|
+
return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
|
|
6648
|
+
})
|
|
6649
|
+
.join("&");
|
|
6650
|
+
var url = "" + config.host + ENDPOINT$3 + "/entry/list?" + queryString;
|
|
6646
6651
|
var apiKey = config.apiKey;
|
|
6647
6652
|
return get(url, apiKey, config.token, signal, true);
|
|
6648
6653
|
};
|
|
6649
6654
|
var getEntryTotals = function (config, filterItem, gridColumns, signal) {
|
|
6650
6655
|
var params = createParams(filterItem, false, gridColumns);
|
|
6651
|
-
var
|
|
6656
|
+
var queryString = Object.keys(params)
|
|
6657
|
+
.map(function (key) {
|
|
6658
|
+
return encodeURIComponent(key) + "=" + encodeURIComponent(params[key]);
|
|
6659
|
+
})
|
|
6660
|
+
.join("&");
|
|
6661
|
+
var url = "" + config.host + ENDPOINT$3 + "/entry/total?" + queryString;
|
|
6652
6662
|
var apiKey = config.apiKey;
|
|
6653
6663
|
return get(url, apiKey, config.token, signal, true);
|
|
6654
6664
|
};
|