@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.mjs
CHANGED
|
@@ -268,7 +268,12 @@ function areEndpointArgsComplete(leaf, args) {
|
|
|
268
268
|
const params = args?.params;
|
|
269
269
|
const query = args?.query;
|
|
270
270
|
try {
|
|
271
|
-
buildUrl(
|
|
271
|
+
buildUrl(
|
|
272
|
+
leaf,
|
|
273
|
+
"",
|
|
274
|
+
params ?? {},
|
|
275
|
+
query ?? {}
|
|
276
|
+
);
|
|
272
277
|
return true;
|
|
273
278
|
} catch {
|
|
274
279
|
return false;
|
|
@@ -973,7 +978,12 @@ function buildInfiniteGetLeaf(leaf, rqOpts, env) {
|
|
|
973
978
|
},
|
|
974
979
|
[]
|
|
975
980
|
);
|
|
976
|
-
const { normalizedQuery, normalizedParams } = hasCompleteArgs ? buildUrl(
|
|
981
|
+
const { normalizedQuery, normalizedParams } = hasCompleteArgs ? buildUrl(
|
|
982
|
+
{ ...leaf, cfg: leafCfg },
|
|
983
|
+
baseUrl,
|
|
984
|
+
params ?? {},
|
|
985
|
+
query ?? {}
|
|
986
|
+
) : {
|
|
977
987
|
normalizedQuery: query ?? {},
|
|
978
988
|
normalizedParams: params ?? {}
|
|
979
989
|
};
|