@byted-apaas/server-sdk-node 1.1.14 → 1.1.15-beta.2
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/package.json +2 -2
- package/request/openapi.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byted-apaas/server-sdk-node",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.15-beta.2",
|
|
4
4
|
"description": "aPaaS Server SDK",
|
|
5
5
|
"author": "zhouwexin <zhouwexin@bytedance.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"clean": "tsc --build --clean && rm -rf **/*.js.map"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@byted-apaas/server-common-node": "^2.0.
|
|
16
|
+
"@byted-apaas/server-common-node": "^2.0.4",
|
|
17
17
|
"@jorgeferrero/stream-to-buffer": "^2.0.6",
|
|
18
18
|
"dayjs": "^1.9.6",
|
|
19
19
|
"form-data": "^3.0.0",
|
package/request/openapi.js
CHANGED
|
@@ -318,7 +318,9 @@ async function getRecordsOrCountByCriterion(objectApiName, criterion, fuzzySearc
|
|
|
318
318
|
if (authType) {
|
|
319
319
|
options.headers[constants_3.AuthTypeHttpHeader] = authType;
|
|
320
320
|
}
|
|
321
|
+
utils.printInfoLog(`getRecordsOrCountByCriterion start, options: ${JSON.stringify(options)}, urlPath: ${urlPath}, logID: ${utils.getLogID()}`);
|
|
321
322
|
let data = await openapi.doRequest(null, urlPath, options);
|
|
323
|
+
utils.printInfoLog(`getRecordsOrCountByCriterion end, options: ${JSON.stringify(options)}, result: ${JSON.stringify(data)}, urlPath: ${urlPath}, logID: ${utils.getLogID()}`);
|
|
322
324
|
return handleResponse(objectApiName, data, needCount);
|
|
323
325
|
}
|
|
324
326
|
/**
|
|
@@ -609,7 +611,7 @@ async function getGlobalConfigByKey(key) {
|
|
|
609
611
|
'biz_type': 'GlobalVariables',
|
|
610
612
|
'used_by': 'UsedBySystem',
|
|
611
613
|
'filter': {
|
|
612
|
-
'offset':
|
|
614
|
+
'offset': pageSize * i,
|
|
613
615
|
'limit': pageSize,
|
|
614
616
|
},
|
|
615
617
|
};
|