@emeryld/rrroutes-client 2.8.3 → 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.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["
|
|
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, "
|
|
1447
|
+
Object.defineProperty(built, "leaf", {
|
|
1448
1448
|
value: leaf,
|
|
1449
|
-
enumerable:
|
|
1449
|
+
enumerable: true,
|
|
1450
1450
|
configurable: false,
|
|
1451
1451
|
writable: false
|
|
1452
1452
|
});
|