openxiangda 1.0.249 → 1.0.250
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 -1
- package/packages/sdk/dist/runtime/index.cjs +13 -3
- package/packages/sdk/dist/runtime/index.cjs.map +1 -1
- package/packages/sdk/dist/runtime/index.d.mts +1 -1
- package/packages/sdk/dist/runtime/index.d.ts +1 -1
- package/packages/sdk/dist/runtime/index.mjs +13 -3
- package/packages/sdk/dist/runtime/index.mjs.map +1 -1
- package/packages/sdk/dist/runtime/react.cjs +13 -3
- package/packages/sdk/dist/runtime/react.cjs.map +1 -1
- package/packages/sdk/dist/runtime/react.d.mts +4 -1
- package/packages/sdk/dist/runtime/react.d.ts +4 -1
- package/packages/sdk/dist/runtime/react.mjs +13 -3
- package/packages/sdk/dist/runtime/react.mjs.map +1 -1
|
@@ -34115,6 +34115,11 @@ var isRecord = (value) => typeof value === "object" && value !== null && !Array.
|
|
|
34115
34115
|
var isSearchRuleLike = (value) => isRecord(value) && typeof value.key === "string" && (value.componentName === void 0 || typeof value.componentName === "string");
|
|
34116
34116
|
var isBlobLike = (value) => typeof Blob !== "undefined" && value instanceof Blob;
|
|
34117
34117
|
var nowMs = () => typeof performance !== "undefined" && typeof performance.now === "function" ? performance.now() : Date.now();
|
|
34118
|
+
var dynamicReadSequence = 0;
|
|
34119
|
+
var nextDynamicReadNonce = () => {
|
|
34120
|
+
dynamicReadSequence = (dynamicReadSequence + 1) % Number.MAX_SAFE_INTEGER;
|
|
34121
|
+
return `${Date.now().toString(36)}-${dynamicReadSequence.toString(36)}`;
|
|
34122
|
+
};
|
|
34118
34123
|
var normalizeMethod = (value) => {
|
|
34119
34124
|
const method = String(value || "get").toLowerCase();
|
|
34120
34125
|
if (method === "get" || method === "post" || method === "put" || method === "delete" || method === "patch") {
|
|
@@ -34720,7 +34725,8 @@ var createPageSdk = (context) => {
|
|
|
34720
34725
|
method: normalizeMethod(options.method),
|
|
34721
34726
|
query: serializeQuery(options.query),
|
|
34722
34727
|
body: options.body,
|
|
34723
|
-
headers: options.headers
|
|
34728
|
+
headers: options.headers,
|
|
34729
|
+
...options.cache ? { cache: options.cache } : {}
|
|
34724
34730
|
};
|
|
34725
34731
|
const traceEnabled = isRequestTracingEnabled(context, options);
|
|
34726
34732
|
const traceLabel = options.traceLabel || `${payload.method.toUpperCase()} ${payload.path}`;
|
|
@@ -35018,6 +35024,8 @@ var createPageSdk = (context) => {
|
|
|
35018
35024
|
"/v1/form/advancedSearch.json"
|
|
35019
35025
|
),
|
|
35020
35026
|
method: "get",
|
|
35027
|
+
cache: "no-store",
|
|
35028
|
+
dedupe: false,
|
|
35021
35029
|
query: {
|
|
35022
35030
|
formUuid: params.formUuid,
|
|
35023
35031
|
filters: serializeSearchExpression(params.filters),
|
|
@@ -35026,7 +35034,8 @@ var createPageSdk = (context) => {
|
|
|
35026
35034
|
currentPage: params.currentPage,
|
|
35027
35035
|
pageSize: params.pageSize,
|
|
35028
35036
|
order: normalizeAdvancedOrder(params.order),
|
|
35029
|
-
instanceStatus: params.instanceStatus
|
|
35037
|
+
instanceStatus: params.instanceStatus,
|
|
35038
|
+
_oxCacheBust: nextDynamicReadNonce()
|
|
35030
35039
|
}
|
|
35031
35040
|
}),
|
|
35032
35041
|
advancedExport: (params) => download({
|
|
@@ -37794,7 +37803,8 @@ var createBrowserPageBridge = (options = {}) => {
|
|
|
37794
37803
|
method: normalizeMethod2(payload.method),
|
|
37795
37804
|
headers,
|
|
37796
37805
|
body,
|
|
37797
|
-
credentials: "include"
|
|
37806
|
+
credentials: "include",
|
|
37807
|
+
cache: payload.cache
|
|
37798
37808
|
}, {
|
|
37799
37809
|
enabled: shouldRetryTransportRequest(payload)
|
|
37800
37810
|
});
|