@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 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 args = branchInput?.args;
1386
+ const query = branchInput?.query;
1387
+ const params = branchInput?.params;
1387
1388
  const body = branchInput?.body;
1388
1389
  payload[encodedLeaf] = {
1389
- ...args?.params !== void 0 ? { params: args.params } : {},
1390
- ...args?.query !== void 0 ? { query: args.query } : {},
1390
+ ...params !== void 0 ? { params } : {},
1391
+ ...query !== void 0 ? { query } : {},
1391
1392
  ...body !== void 0 ? { body } : {}
1392
1393
  };
1393
1394
  }