@xyo-network/os-react-runtime 4.2.0-rc.10 → 4.2.0-rc.11
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/browser/index.mjs +3 -2
- package/dist/browser/index.mjs.map +1 -1
- package/dist/browser/modules/Dapp/Container.d.ts.map +1 -1
- package/dist/browser/modules/Dapp/modules/Window/DappWindow.d.ts.map +1 -1
- package/package.json +9 -9
- package/src/modules/Dapp/Container.tsx +5 -1
- package/src/modules/Dapp/modules/Window/DappWindow.tsx +3 -4
package/dist/browser/index.mjs
CHANGED
|
@@ -3133,10 +3133,10 @@ var DappWindow = /* @__PURE__ */ __name(({ context, dappSet, dappState, dappWall
|
|
|
3133
3133
|
const { active, minimized } = dappState ?? {};
|
|
3134
3134
|
const TypedDappComponent = useMemo12(() => DappComponent, []);
|
|
3135
3135
|
useSyncOsRegisteredAccessInterfaces(context);
|
|
3136
|
-
|
|
3137
|
-
useManageDappInjectableParamsFromRoute(context);
|
|
3136
|
+
const routingErrors = useManageDappInjectableParamsFromRoute(context);
|
|
3138
3137
|
const { activePath, error: menuError, menuConfig, menuItemsVisible, onPathChange } = useDappMenu(context, name);
|
|
3139
3138
|
const resolvedErrors = [
|
|
3139
|
+
...routingErrors,
|
|
3140
3140
|
nodeCreateError,
|
|
3141
3141
|
menuError,
|
|
3142
3142
|
...errors ?? []
|
|
@@ -3209,6 +3209,7 @@ var DappWindow = /* @__PURE__ */ __name(({ context, dappSet, dappState, dappWall
|
|
|
3209
3209
|
var DappContainer = /* @__PURE__ */ __name(({ currentIntent, dappSet, xnsNodeUrl, xnsNetwork }) => {
|
|
3210
3210
|
const { dapp, dappIcon } = dappSet;
|
|
3211
3211
|
const { dappWallet, context, nodeCreateError } = useDappContextCreator(xnsNodeUrl, xnsNetwork, dapp, currentIntent);
|
|
3212
|
+
useManageDappPathFromRoute(context, dapp.config.name);
|
|
3212
3213
|
const dappState = useMemo13(() => {
|
|
3213
3214
|
if (currentIntent?.targetDappId === dapp.config.name) {
|
|
3214
3215
|
return deriveDappState(currentIntent);
|