@emeryld/rrroutes-client 2.8.6 → 2.8.8
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/index.cjs +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +12 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -5
package/dist/index.cjs
CHANGED
|
@@ -303,7 +303,12 @@ function areEndpointArgsComplete(leaf, args) {
|
|
|
303
303
|
const params = args?.params;
|
|
304
304
|
const query = args?.query;
|
|
305
305
|
try {
|
|
306
|
-
buildUrl(
|
|
306
|
+
buildUrl(
|
|
307
|
+
leaf,
|
|
308
|
+
"",
|
|
309
|
+
params ?? {},
|
|
310
|
+
query ?? {}
|
|
311
|
+
);
|
|
307
312
|
return true;
|
|
308
313
|
} catch {
|
|
309
314
|
return false;
|
|
@@ -1005,7 +1010,12 @@ function buildInfiniteGetLeaf(leaf, rqOpts, env) {
|
|
|
1005
1010
|
},
|
|
1006
1011
|
[]
|
|
1007
1012
|
);
|
|
1008
|
-
const { normalizedQuery, normalizedParams } = hasCompleteArgs ? buildUrl(
|
|
1013
|
+
const { normalizedQuery, normalizedParams } = hasCompleteArgs ? buildUrl(
|
|
1014
|
+
{ ...leaf, cfg: leafCfg },
|
|
1015
|
+
baseUrl,
|
|
1016
|
+
params ?? {},
|
|
1017
|
+
query ?? {}
|
|
1018
|
+
) : {
|
|
1009
1019
|
normalizedQuery: query ?? {},
|
|
1010
1020
|
normalizedParams: params ?? {}
|
|
1011
1021
|
};
|