@emeryld/rrroutes-client 2.8.4 → 2.8.6

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.mjs CHANGED
@@ -1399,7 +1399,7 @@ function createRouteClient(opts) {
1399
1399
  }
1400
1400
  const toArgsTuple2 = (args) => typeof args === "undefined" ? [] : [args];
1401
1401
  const getBuiltLeaf = (built) => {
1402
- const leaf = built["__rrroutesLeaf"];
1402
+ const leaf = built["leaf"];
1403
1403
  if (!leaf) {
1404
1404
  throw new Error(
1405
1405
  "buildBranch(...) expects endpoints created with this route client via client.build(...)."
@@ -1444,9 +1444,9 @@ function createRouteClient(opts) {
1444
1444
  env
1445
1445
  );
1446
1446
  }
1447
- Object.defineProperty(built, "__rrroutesLeaf", {
1447
+ Object.defineProperty(built, "leaf", {
1448
1448
  value: leaf,
1449
- enumerable: false,
1449
+ enumerable: true,
1450
1450
  configurable: false,
1451
1451
  writable: false
1452
1452
  });