@emeryld/rrroutes-client 2.8.4 → 2.8.5
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/routesV3.client.types.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1429,7 +1429,7 @@ function createRouteClient(opts) {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
const toArgsTuple2 = (args) => typeof args === "undefined" ? [] : [args];
|
|
1431
1431
|
const getBuiltLeaf = (built) => {
|
|
1432
|
-
const leaf = built["
|
|
1432
|
+
const leaf = built["leaf"];
|
|
1433
1433
|
if (!leaf) {
|
|
1434
1434
|
throw new Error(
|
|
1435
1435
|
"buildBranch(...) expects endpoints created with this route client via client.build(...)."
|
|
@@ -1474,9 +1474,9 @@ function createRouteClient(opts) {
|
|
|
1474
1474
|
env
|
|
1475
1475
|
);
|
|
1476
1476
|
}
|
|
1477
|
-
Object.defineProperty(built, "
|
|
1477
|
+
Object.defineProperty(built, "leaf", {
|
|
1478
1478
|
value: leaf,
|
|
1479
|
-
enumerable:
|
|
1479
|
+
enumerable: true,
|
|
1480
1480
|
configurable: false,
|
|
1481
1481
|
writable: false
|
|
1482
1482
|
});
|