@elizaos/server 1.4.4 → 1.4.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/client/assets/{index-l7vDDpLb.js → index-B2zlx7XS.js} +27 -10
- package/dist/client/assets/index-B2zlx7XS.js.br +0 -0
- package/dist/client/assets/{index-l7vDDpLb.js.map → index-B2zlx7XS.js.map} +1 -1
- package/dist/client/assets/{vendor-BWzYG1ky.js → vendor-Bifu43sa.js} +19 -13
- package/dist/client/assets/vendor-Bifu43sa.js.br +0 -0
- package/dist/client/assets/vendor-Bifu43sa.js.map +1 -0
- package/dist/client/index.html +2 -2
- package/dist/index.js +29 -14
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/client/assets/index-l7vDDpLb.js.br +0 -0
- package/dist/client/assets/vendor-BWzYG1ky.js.br +0 -0
- package/dist/client/assets/vendor-BWzYG1ky.js.map +0 -1
|
@@ -996,7 +996,7 @@ var reactDomExports = requireReactDom();
|
|
|
996
996
|
const ReactDOM = /*@__PURE__*/getDefaultExportFromCjs$1(reactDomExports);
|
|
997
997
|
|
|
998
998
|
/**
|
|
999
|
-
* react-router v7.8.
|
|
999
|
+
* react-router v7.8.2
|
|
1000
1000
|
*
|
|
1001
1001
|
* Copyright (c) Remix Software Inc.
|
|
1002
1002
|
*
|
|
@@ -1719,7 +1719,7 @@ function useResolvedPath(to, { relative } = {}) {
|
|
|
1719
1719
|
function useRoutes(routes, locationArg) {
|
|
1720
1720
|
return useRoutesImpl(routes, locationArg);
|
|
1721
1721
|
}
|
|
1722
|
-
function useRoutesImpl(routes, locationArg, dataRouterState, future) {
|
|
1722
|
+
function useRoutesImpl(routes, locationArg, dataRouterState, unstable_onError, future) {
|
|
1723
1723
|
invariant(
|
|
1724
1724
|
useInRouterContext(),
|
|
1725
1725
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -1791,6 +1791,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
|
|
|
1791
1791
|
),
|
|
1792
1792
|
parentMatches,
|
|
1793
1793
|
dataRouterState,
|
|
1794
|
+
unstable_onError,
|
|
1794
1795
|
future
|
|
1795
1796
|
);
|
|
1796
1797
|
if (locationArg && renderedMatches) {
|
|
@@ -1860,11 +1861,14 @@ var RenderErrorBoundary = class extends reactExports.Component {
|
|
|
1860
1861
|
};
|
|
1861
1862
|
}
|
|
1862
1863
|
componentDidCatch(error, errorInfo) {
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1864
|
+
if (this.props.unstable_onError) {
|
|
1865
|
+
this.props.unstable_onError(error, errorInfo);
|
|
1866
|
+
} else {
|
|
1867
|
+
console.error(
|
|
1868
|
+
"React Router caught the following error during render",
|
|
1869
|
+
error
|
|
1870
|
+
);
|
|
1871
|
+
}
|
|
1868
1872
|
}
|
|
1869
1873
|
render() {
|
|
1870
1874
|
return this.state.error !== void 0 ? /* @__PURE__ */ reactExports.createElement(RouteContext.Provider, { value: this.props.routeContext }, /* @__PURE__ */ reactExports.createElement(
|
|
@@ -1883,7 +1887,7 @@ function RenderedRoute({ routeContext, match, children }) {
|
|
|
1883
1887
|
}
|
|
1884
1888
|
return /* @__PURE__ */ reactExports.createElement(RouteContext.Provider, { value: routeContext }, children);
|
|
1885
1889
|
}
|
|
1886
|
-
function _renderMatches(matches, parentMatches = [], dataRouterState = null, future = null) {
|
|
1890
|
+
function _renderMatches(matches, parentMatches = [], dataRouterState = null, unstable_onError = null, future = null) {
|
|
1887
1891
|
if (matches == null) {
|
|
1888
1892
|
if (!dataRouterState) {
|
|
1889
1893
|
return null;
|
|
@@ -1995,7 +1999,8 @@ function _renderMatches(matches, parentMatches = [], dataRouterState = null, fut
|
|
|
1995
1999
|
component: errorElement,
|
|
1996
2000
|
error,
|
|
1997
2001
|
children: getChildren(),
|
|
1998
|
-
routeContext: { outlet: null, matches: matches2, isDataRoute: true }
|
|
2002
|
+
routeContext: { outlet: null, matches: matches2, isDataRoute: true },
|
|
2003
|
+
unstable_onError
|
|
1999
2004
|
}
|
|
2000
2005
|
) : getChildren();
|
|
2001
2006
|
},
|
|
@@ -2088,9 +2093,10 @@ reactExports.memo(DataRoutes);
|
|
|
2088
2093
|
function DataRoutes({
|
|
2089
2094
|
routes,
|
|
2090
2095
|
future,
|
|
2091
|
-
state
|
|
2096
|
+
state,
|
|
2097
|
+
unstable_onError
|
|
2092
2098
|
}) {
|
|
2093
|
-
return useRoutesImpl(routes, void 0, state, future);
|
|
2099
|
+
return useRoutesImpl(routes, void 0, state, unstable_onError, future);
|
|
2094
2100
|
}
|
|
2095
2101
|
function Route(props) {
|
|
2096
2102
|
invariant(
|
|
@@ -2719,7 +2725,7 @@ var isBrowser = typeof window !== "undefined" && typeof window.document !== "und
|
|
|
2719
2725
|
try {
|
|
2720
2726
|
if (isBrowser) {
|
|
2721
2727
|
window.__reactRouterVersion = // @ts-expect-error
|
|
2722
|
-
"7.8.
|
|
2728
|
+
"7.8.2";
|
|
2723
2729
|
}
|
|
2724
2730
|
} catch (e) {
|
|
2725
2731
|
}
|
|
@@ -3121,4 +3127,4 @@ function useViewTransitionState(to, { relative } = {}) {
|
|
|
3121
3127
|
}
|
|
3122
3128
|
|
|
3123
3129
|
export { BrowserRouter as B, Link as L, NavLink as N, React$1 as R, requireReactDom as a, reactExports as b, reactDomExports as c, ReactDOM as d, React as e, useLocation as f, getDefaultExportFromCjs$1 as g, useParams as h, useSearchParams as i, Routes as j, Route as k, process$1 as p, requireReact as r, useNavigate as u };
|
|
3124
|
-
//# sourceMappingURL=vendor-
|
|
3130
|
+
//# sourceMappingURL=vendor-Bifu43sa.js.map
|
|
Binary file
|