@byted-apaas/server-sdk-node 1.1.18-beta.11 → 1.1.18-beta.13
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 +1 -1
- package/request/openapi.js +2 -2
package/package.json
CHANGED
package/request/openapi.js
CHANGED
|
@@ -501,7 +501,7 @@ async function getRecordsV3OrCountByCriterion(objectApiName, criterion, quickQue
|
|
|
501
501
|
// 分不清场景可以用 BothResult,性能较差,建议区分场景
|
|
502
502
|
// 0 表示不返回 unauth field 任何数据; 1 表示两者都返回;2 表示仅返回 slice;3 表示仅返回 map
|
|
503
503
|
'process_auth_field_type': 2,
|
|
504
|
-
'
|
|
504
|
+
'data_version': 'v3',
|
|
505
505
|
};
|
|
506
506
|
authType = (0, utils_1.formatAuthType)(authType);
|
|
507
507
|
options.headers.User = String(utils.getUserIDFromCtx());
|
|
@@ -771,7 +771,7 @@ async function modifyRecordsWithTransaction(placeholders, operations, authType,
|
|
|
771
771
|
'setSystemField': 1,
|
|
772
772
|
};
|
|
773
773
|
if (version === 'v3') {
|
|
774
|
-
options.json['
|
|
774
|
+
options.json['dataVersion'] = version;
|
|
775
775
|
}
|
|
776
776
|
authType = (0, utils_1.formatAuthType)(authType);
|
|
777
777
|
options.headers.User = String(utils.getUserIDFromCtx());
|