@emeryld/rrroutes-client 2.6.8 → 2.6.9
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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/dist/routesV3.client.types.d.ts +1 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1383,11 +1383,12 @@ function createRouteClient(opts) {
|
|
|
1383
1383
|
const encodedLeaf = encodeLeafKey(leaf);
|
|
1384
1384
|
keyByAlias.set(alias, encodedLeaf);
|
|
1385
1385
|
const branchInput = input[alias];
|
|
1386
|
-
const
|
|
1386
|
+
const query = branchInput?.query;
|
|
1387
|
+
const params = branchInput?.params;
|
|
1387
1388
|
const body = branchInput?.body;
|
|
1388
1389
|
payload[encodedLeaf] = {
|
|
1389
|
-
...
|
|
1390
|
-
...
|
|
1390
|
+
...params !== void 0 ? { params } : {},
|
|
1391
|
+
...query !== void 0 ? { query } : {},
|
|
1391
1392
|
...body !== void 0 ? { body } : {}
|
|
1392
1393
|
};
|
|
1393
1394
|
}
|