@xyo-network/os-react-runtime 4.1.1 → 4.1.2

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.
Files changed (48) hide show
  1. package/dist/browser/StyledBuilder.d.ts +1 -1
  2. package/dist/browser/StyledBuilder.d.ts.map +1 -1
  3. package/dist/browser/components/Widgets/Types/BarGraph/StyledLinearProgress.d.ts +1 -1
  4. package/dist/browser/components/Widgets/Types/BarGraph/StyledLinearProgress.d.ts.map +1 -1
  5. package/dist/browser/components/Widgets/Types/Stat/Subtitle.d.ts +1 -1
  6. package/dist/browser/components/Widgets/Types/Stat/Subtitle.d.ts.map +1 -1
  7. package/dist/browser/components/Widgets/Types/Stat/Unit.d.ts +1 -1
  8. package/dist/browser/components/Widgets/Types/Stat/Unit.d.ts.map +1 -1
  9. package/dist/browser/components/Widgets/Types/Stat/Value.d.ts +1 -1
  10. package/dist/browser/components/Widgets/Types/Stat/Value.d.ts.map +1 -1
  11. package/dist/browser/components/Widgets/Types/Tables/BooleanTable.d.ts +4 -4
  12. package/dist/browser/components/Widgets/Types/Tables/BooleanTable.d.ts.map +1 -1
  13. package/dist/browser/dapps/shared/table/head/components/StyledTableRowHeader.d.ts +1 -1
  14. package/dist/browser/dapps/shared/table/head/components/StyledTableRowHeader.d.ts.map +1 -1
  15. package/dist/browser/helpers/BridgeActivityHelper.d.ts +2 -2
  16. package/dist/browser/hooks/ResourceHooks.d.ts +2 -2
  17. package/dist/browser/hooks/ResourceHooks.d.ts.map +1 -1
  18. package/dist/browser/hooks/useAccountArchivist.d.ts +1 -1
  19. package/dist/browser/hooks/useDetectCustomer.d.ts +1 -1
  20. package/dist/browser/hooks/useDetectCustomer.d.ts.map +1 -1
  21. package/dist/browser/hooks/useExposedNode.d.ts +1 -1
  22. package/dist/browser/index.mjs +2648 -2417
  23. package/dist/browser/index.mjs.map +1 -1
  24. package/dist/browser/modules/Dapp/Button/StyledComponents.d.ts +3 -3
  25. package/dist/browser/modules/Dapp/Button/StyledComponents.d.ts.map +1 -1
  26. package/dist/browser/modules/Dapp/Button/lib/decomposeProps.d.ts +12 -12
  27. package/dist/browser/modules/Dapp/Page/Row.d.ts +1 -1
  28. package/dist/browser/modules/Dapp/Page/Row.d.ts.map +1 -1
  29. package/dist/browser/modules/Dapp/modules/Window/hooks/useDappState.d.ts +1 -1
  30. package/dist/browser/modules/Dapp/modules/Window/hooks/useDappState.d.ts.map +1 -1
  31. package/dist/browser/modules/Dapp/modules/Window/hooks/useDecomposeDappSet.d.ts +1 -1
  32. package/dist/browser/modules/Dapp/modules/Window/hooks/useDecomposeDappSet.d.ts.map +1 -1
  33. package/dist/browser/modules/Dapp/modules/Window/menu/StyledListItems.d.ts +2 -2
  34. package/dist/browser/modules/Dapp/modules/Window/menu/StyledListItems.d.ts.map +1 -1
  35. package/dist/browser/modules/Dapp/modules/access-interface/hooks/useDialogState.d.ts.map +1 -1
  36. package/dist/browser/modules/network/components/StyledLoadingIndicator.d.ts +1 -1
  37. package/dist/browser/modules/network/components/StyledLoadingIndicator.d.ts.map +1 -1
  38. package/package.json +15 -15
  39. package/src/hooks/ResourceHooks.ts +6 -7
  40. package/src/hooks/menu/useAddDappMenuItems.tsx +1 -1
  41. package/src/hooks/useDetectCustomer.tsx +1 -2
  42. package/src/modules/Dapp/modules/Window/DappWindow.tsx +3 -3
  43. package/src/modules/Dapp/modules/Window/hooks/useDappMenuResourceValues.tsx +1 -1
  44. package/src/modules/Dapp/modules/Window/hooks/useDappState.tsx +1 -2
  45. package/src/modules/Dapp/modules/Window/hooks/useDecomposeDappSet.tsx +1 -2
  46. package/src/modules/Dapp/modules/Window/hooks/useSkipLoadingScreen.tsx +2 -2
  47. package/src/modules/Dapp/modules/Window/menu/stories/DefaultData.tsx +1 -1
  48. package/src/modules/Dapp/modules/access-interface/hooks/useDialogState.tsx +1 -1
@@ -1,8 +1,8 @@
1
1
  import type { ButtonExProps } from '@xylabs/react-button';
2
2
  import React from 'react';
3
- export declare const StyledDappIconButtonEx: import("@emotion/styled").StyledComponent<((ButtonExProps & React.RefAttributes<HTMLSpanElement>) & import(".store/@mui-system-virtual-c90d7bb392/package").MUIStyledCommonProps<import("@mui/material").Theme>) & {
3
+ export declare const StyledDappIconButtonEx: import("@emotion/styled").StyledComponent<((ButtonExProps & React.RefAttributes<HTMLSpanElement>) & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>) & {
4
4
  iconBgBaseColor?: string;
5
5
  }, {}, {}>;
6
- export declare const StyledDappName: import("@emotion/styled").StyledComponent<Pick<import("@xyo-network/react-shared").TypographyExProps, keyof import("@xyo-network/react-shared").TypographyExProps> & import(".store/@mui-system-virtual-c90d7bb392/package").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
7
- export declare const StyledDefaultDappIcon: import("@emotion/styled").StyledComponent<Pick<import("@xyo-network/react-shared").TypographyExProps, keyof import("@xyo-network/react-shared").TypographyExProps> & import(".store/@mui-system-virtual-c90d7bb392/package").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
6
+ export declare const StyledDappName: import("@emotion/styled").StyledComponent<Pick<import("@xyo-network/react-shared").TypographyExProps, keyof import("@xyo-network/react-shared").TypographyExProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
7
+ export declare const StyledDefaultDappIcon: import("@emotion/styled").StyledComponent<Pick<import("@xyo-network/react-shared").TypographyExProps, keyof import("@xyo-network/react-shared").TypographyExProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
8
8
  //# sourceMappingURL=StyledComponents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StyledComponents.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Dapp/Button/StyledComponents.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAGzD,OAAO,KAAqB,MAAM,OAAO,CAAA;AAgBzC,eAAO,MAAM,sBAAsB;sBAIf,MAAM;UA0BxB,CAAA;AAEF,eAAO,MAAM,cAAc,2RAaxB,CAAA;AAEH,eAAO,MAAM,qBAAqB,2RAA8E,CAAA"}
1
+ {"version":3,"file":"StyledComponents.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Dapp/Button/StyledComponents.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAGzD,OAAO,KAAqB,MAAM,OAAO,CAAA;AAgBzC,eAAO,MAAM,sBAAsB;sBAIf,MAAM;UA0BxB,CAAA;AAEF,eAAO,MAAM,cAAc,yPAaxB,CAAA;AAEH,eAAO,MAAM,qBAAqB,yPAA8E,CAAA"}
@@ -15,7 +15,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
15
15
  className?: string | undefined;
16
16
  style?: React.CSSProperties | undefined;
17
17
  children?: import("react").ReactNode;
18
- variant?: import(".store/@mui-types-virtual-0a4c769437/package").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
18
+ variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
19
19
  form?: string | undefined | undefined;
20
20
  slot?: string | undefined | undefined;
21
21
  title?: string | undefined | undefined;
@@ -54,7 +54,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
54
54
  vocab?: string | undefined | undefined;
55
55
  autoCorrect?: string | undefined | undefined;
56
56
  autoSave?: string | undefined | undefined;
57
- color?: import(".store/@mui-types-virtual-0a4c769437/package").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
57
+ color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
58
58
  itemProp?: string | undefined | undefined;
59
59
  itemScope?: boolean | undefined | undefined;
60
60
  itemType?: string | undefined | undefined;
@@ -294,7 +294,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
294
294
  TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleProps> | undefined;
295
295
  touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleActions> | undefined;
296
296
  disableFocusRipple?: boolean | undefined;
297
- size?: import(".store/@mui-types-virtual-0a4c769437/package").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
297
+ size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
298
298
  formAction?: string | undefined;
299
299
  formEncType?: string | undefined | undefined;
300
300
  formMethod?: string | undefined | undefined;
@@ -361,7 +361,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
361
361
  className?: string | undefined;
362
362
  style?: React.CSSProperties | undefined;
363
363
  children?: import("react").ReactNode;
364
- variant?: import(".store/@mui-types-virtual-0a4c769437/package").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
364
+ variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
365
365
  form?: string | undefined | undefined;
366
366
  slot?: string | undefined | undefined;
367
367
  title?: string | undefined | undefined;
@@ -400,7 +400,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
400
400
  vocab?: string | undefined | undefined;
401
401
  autoCorrect?: string | undefined | undefined;
402
402
  autoSave?: string | undefined | undefined;
403
- color?: import(".store/@mui-types-virtual-0a4c769437/package").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
403
+ color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
404
404
  itemProp?: string | undefined | undefined;
405
405
  itemScope?: boolean | undefined | undefined;
406
406
  itemType?: string | undefined | undefined;
@@ -640,7 +640,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
640
640
  TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleProps> | undefined;
641
641
  touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleActions> | undefined;
642
642
  disableFocusRipple?: boolean | undefined;
643
- size?: import(".store/@mui-types-virtual-0a4c769437/package").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
643
+ size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
644
644
  formAction?: string | undefined;
645
645
  formEncType?: string | undefined | undefined;
646
646
  formMethod?: string | undefined | undefined;
@@ -694,8 +694,8 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
694
694
  busySize?: number;
695
695
  busyVariant?: import("@xylabs/react-shared").BusyVariant;
696
696
  href?: never;
697
- to?: import("react-router-dom").To;
698
- toOptions?: import("react-router-dom").NavigateOptions;
697
+ to?: import("react-router").To;
698
+ toOptions?: import("react-router").NavigateOptions;
699
699
  } | {
700
700
  disableUserEvents?: boolean;
701
701
  funnel?: string;
@@ -707,7 +707,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
707
707
  className?: string | undefined;
708
708
  style?: React.CSSProperties | undefined;
709
709
  children?: import("react").ReactNode;
710
- variant?: import(".store/@mui-types-virtual-0a4c769437/package").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
710
+ variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
711
711
  form?: string | undefined | undefined;
712
712
  slot?: string | undefined | undefined;
713
713
  title?: string | undefined | undefined;
@@ -746,7 +746,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
746
746
  vocab?: string | undefined | undefined;
747
747
  autoCorrect?: string | undefined | undefined;
748
748
  autoSave?: string | undefined | undefined;
749
- color?: import(".store/@mui-types-virtual-0a4c769437/package").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
749
+ color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
750
750
  itemProp?: string | undefined | undefined;
751
751
  itemScope?: boolean | undefined | undefined;
752
752
  itemType?: string | undefined | undefined;
@@ -986,7 +986,7 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
986
986
  TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleProps> | undefined;
987
987
  touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple.js").TouchRippleActions> | undefined;
988
988
  disableFocusRipple?: boolean | undefined;
989
- size?: import(".store/@mui-types-virtual-0a4c769437/package").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
989
+ size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
990
990
  formAction?: string | undefined;
991
991
  formEncType?: string | undefined | undefined;
992
992
  formMethod?: string | undefined | undefined;
@@ -1043,6 +1043,6 @@ export declare const decomposeProps: (dappIcon?: DappIcon, props?: ButtonExProps
1043
1043
  to?: never;
1044
1044
  toOptions?: never;
1045
1045
  };
1046
- sx: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
1046
+ sx: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
1047
1047
  };
1048
1048
  //# sourceMappingURL=decomposeProps.d.ts.map
@@ -9,5 +9,5 @@ export interface DappsRowProps {
9
9
  xnsNodeUrl: string | undefined;
10
10
  }
11
11
  export declare const DappsRow: React.FC<DappsRowProps>;
12
- export declare const StyledGridContainer: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-c90d7bb392/package").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
12
+ export declare const StyledGridContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
13
13
  //# sourceMappingURL=Row.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Dapp/Page/Row.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACzE,OAAO,KAAkB,MAAM,OAAO,CAAA;AAMtC,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,gBAAgB,CAAA;IAC7B,kBAAkB,CAAC,EAAE,sBAAsB,EAAE,CAAA;IAC7C,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;CAC/B;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA6B5C,CAAA;AAED,eAAO,MAAM,mBAAmB,2UAQ7B,CAAA"}
1
+ {"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Dapp/Page/Row.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACzE,OAAO,KAAkB,MAAM,OAAO,CAAA;AAMtC,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,gBAAgB,CAAA;IAC7B,kBAAkB,CAAC,EAAE,sBAAsB,EAAE,CAAA;IAC7C,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;CAC/B;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA6B5C,CAAA;AAED,eAAO,MAAM,mBAAmB,ySAQ7B,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { XyOsContext } from '@xyo-network/os-model';
2
2
  import { DappIntentTypes } from '@xyo-network/os-model';
3
- export declare const useDappState: (intentType?: DappIntentTypes, context?: XyOsContext | null) => {
3
+ export declare const dappState: (intentType?: DappIntentTypes, context?: XyOsContext | null) => {
4
4
  active: boolean | null | undefined;
5
5
  minimized: boolean;
6
6
  open: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"useDappState.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/Dapp/modules/Window/hooks/useDappState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAGvD,eAAO,MAAM,YAAY,gBAAiB,eAAe,YAAY,WAAW,GAAG,IAAI;;;;CAUtF,CAAA"}
1
+ {"version":3,"file":"useDappState.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/Dapp/modules/Window/hooks/useDappState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,eAAO,MAAM,SAAS,gBAAiB,eAAe,YAAY,WAAW,GAAG,IAAI;;;;CAUnF,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { RegisteredReactDappSet } from '@xyo-network/os-react-model';
2
- export declare const useDecomposeDappSet: (dappSet?: RegisteredReactDappSet) => {
2
+ export declare const decomposeDappSet: (dappSet?: RegisteredReactDappSet) => {
3
3
  DappComponent: import("react").FC<{}> | (() => import("react/jsx-runtime").JSX.Element);
4
4
  dapp: import("@xyo-network/os-react-model").RegisteredReactDapp | undefined;
5
5
  name: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useDecomposeDappSet.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/Dapp/modules/Window/hooks/useDecomposeDappSet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AAKzE,eAAO,MAAM,mBAAmB,aAAc,sBAAsB;;;;;;CAcnE,CAAA"}
1
+ {"version":3,"file":"useDecomposeDappSet.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/Dapp/modules/Window/hooks/useDecomposeDappSet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AAIzE,eAAO,MAAM,gBAAgB,aAAc,sBAAsB;;;;;;CAchE,CAAA"}
@@ -1,7 +1,7 @@
1
- export declare const StyledMenuIconWrapSpan: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-c90d7bb392/package").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
1
+ export declare const StyledMenuIconWrapSpan: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
2
2
  export declare const StyledListItemButton: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent.js").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, "classes" | "className" | "style" | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "alignItems" | "selected" | "dense" | "disableGutters" | "divider">, "classes" | "className" | "style" | "children" | "sx" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "alignItems" | "selected" | "dense" | "disableGutters" | "divider"> & import(".store/@mui-system-virtual-c90d7bb392/package").MUIStyledCommonProps<import("@mui/material").Theme> & {
4
+ }, "classes" | "className" | "style" | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "alignItems" | "selected" | "dense" | "disableGutters" | "divider">, "classes" | "className" | "style" | "children" | "sx" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "alignItems" | "selected" | "dense" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
5
5
  active?: boolean;
6
6
  }, {}, {}>;
7
7
  //# sourceMappingURL=StyledListItems.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StyledListItems.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/Dapp/modules/Window/menu/StyledListItems.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,uXAIhC,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;aACtB,OAAO;UAyBhB,CAAA"}
1
+ {"version":3,"file":"StyledListItems.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/Dapp/modules/Window/menu/StyledListItems.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,qVAIhC,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;aACtB,OAAO;UAyBhB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDialogState.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/Dapp/modules/access-interface/hooks/useDialogState.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAwB,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAM9E,eAAO,MAAM,cAAc,aAAc,WAAW,GAAG,IAAI;;;sCAoB4mB,2BAA2B;sBAA0D,uBAAuB;yCAAqE,aAAa;iCAA6C,uBAAuB;;;;;;;;;;;;;;CADx6B,CAAA"}
1
+ {"version":3,"file":"useDialogState.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/Dapp/modules/access-interface/hooks/useDialogState.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAwB,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAM9E,eAAO,MAAM,cAAc,aAAc,WAAW,GAAG,IAAI;;;sCAoB+mB,2BAA2B;sBAA0D,uBAAuB;yCAAqE,aAAa;iCAA6C,uBAAuB;;;;;;;;;;;;;;CAD36B,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const StyledNetworkLoadingIndicator: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-c90d7bb392/package").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
1
+ export declare const StyledNetworkLoadingIndicator: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
2
2
  //# sourceMappingURL=StyledLoadingIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StyledLoadingIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/components/StyledLoadingIndicator.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,6BAA6B,mXA6CvC,CAAA"}
1
+ {"version":3,"file":"StyledLoadingIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/components/StyledLoadingIndicator.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,6BAA6B,iVA6CvC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/os-react-runtime",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -31,12 +31,12 @@
31
31
  "dependencies": {
32
32
  "@mui/icons-material": "^6.3.0",
33
33
  "@react-spring/web": "^9.7.5",
34
- "@xylabs/assert": "^4.4.27",
35
- "@xylabs/forget": "^4.4.27",
36
- "@xylabs/hex": "^4.4.27",
37
- "@xylabs/lodash": "^4.4.27",
38
- "@xylabs/object": "^4.4.27",
39
- "@xylabs/promise": "^4.4.27",
34
+ "@xylabs/assert": "^4.4.29",
35
+ "@xylabs/forget": "^4.4.29",
36
+ "@xylabs/hex": "^4.4.29",
37
+ "@xylabs/lodash": "^4.4.29",
38
+ "@xylabs/object": "^4.4.29",
39
+ "@xylabs/promise": "^4.4.29",
40
40
  "@xylabs/react-animation": "^5.3.13",
41
41
  "@xylabs/react-async-effect": "^5.3.13",
42
42
  "@xylabs/react-button": "^5.3.13",
@@ -48,23 +48,23 @@
48
48
  "@xylabs/react-shared": "^5.3.13",
49
49
  "@xyo-network/archivist-indexeddb": "^3.6.5",
50
50
  "@xyo-network/archivist-model": "^3.6.5",
51
- "@xyo-network/bios-browser": "^4.1.1",
52
- "@xyo-network/bios-model": "^4.1.1",
51
+ "@xyo-network/bios-browser": "^4.1.2",
52
+ "@xyo-network/bios-model": "^4.1.2",
53
53
  "@xyo-network/diviner-boundwitness-indexeddb": "^3.6.5",
54
54
  "@xyo-network/diviner-model": "^3.6.5",
55
55
  "@xyo-network/diviner-payload-generic": "^3.6.5",
56
56
  "@xyo-network/diviner-payload-indexeddb": "^3.6.5",
57
57
  "@xyo-network/diviner-payload-model": "^3.6.5",
58
- "@xyo-network/kernel": "^4.1.1",
59
- "@xyo-network/kernel-model": "^4.1.1",
58
+ "@xyo-network/kernel": "^4.1.2",
59
+ "@xyo-network/kernel-model": "^4.1.2",
60
60
  "@xyo-network/module-event-emitter": "^3.6.5",
61
61
  "@xyo-network/module-events": "^3.6.5",
62
62
  "@xyo-network/module-factory-locator": "^3.6.5",
63
63
  "@xyo-network/node-model": "^3.6.5",
64
- "@xyo-network/os-model": "^4.1.1",
65
- "@xyo-network/os-react-debug": "^4.1.1",
66
- "@xyo-network/os-react-model": "^4.1.1",
67
- "@xyo-network/os-runtime": "^4.1.1",
64
+ "@xyo-network/os-model": "^4.1.2",
65
+ "@xyo-network/os-react-debug": "^4.1.2",
66
+ "@xyo-network/os-react-model": "^4.1.2",
67
+ "@xyo-network/os-runtime": "^4.1.2",
68
68
  "@xyo-network/payload-model": "^3.6.5",
69
69
  "@xyo-network/react-archivist": "^4.3.1",
70
70
  "@xyo-network/react-card": "^4.3.1",
@@ -10,13 +10,7 @@ export class ResourceHooks<Views extends string, T extends ResourceStore<Views>>
10
10
  private buildViews: (resource?: T) => { [K in Views]: ReturnType<T['views'][K]> | undefined } | (undefined & Record<'resource', T | undefined>),
11
11
  ) {}
12
12
 
13
- useBuildResourceFromProvidedNode = (pathPrefix?: string) => {
14
- const xyOs = useXyOsUiContext()
15
- return this.buildResource(xyOs, pathPrefix)
16
- }
17
-
18
- // eslint-disable-next-line @eslint-react/hooks-extra/no-redundant-custom-hook
19
- useResourceViewsFromContext = (context?: XyOsContext | null, pathPrefix?: string) => {
13
+ resourceViewsFromContext = (context?: XyOsContext | null, pathPrefix?: string) => {
20
14
  const [resource, resourceError] = this.buildResource(context, pathPrefix)
21
15
  const views = this.buildViews(resource)
22
16
 
@@ -27,6 +21,11 @@ export class ResourceHooks<Views extends string, T extends ResourceStore<Views>>
27
21
  }
28
22
  }
29
23
 
24
+ useBuildResourceFromProvidedNode = (pathPrefix?: string) => {
25
+ const xyOs = useXyOsUiContext()
26
+ return this.buildResource(xyOs, pathPrefix)
27
+ }
28
+
30
29
  useResourceViewsFromProvidedNode = (pathPrefix?: string) => {
31
30
  const [resource, resourceError] = this.useBuildResourceFromProvidedNode(pathPrefix)
32
31
  const views = this.buildViews(resource)
@@ -9,7 +9,7 @@ export const useAddDappMenuItems = (payloads: Payload[]) => {
9
9
  const xyOs = useXyOsUiContext()
10
10
  const {
11
11
  menuItemSelections, menuConfigs, resourceError,
12
- } = DappMenuResourceHooks.useResourceViewsFromContext(xyOs)
12
+ } = DappMenuResourceHooks.resourceViewsFromContext(xyOs)
13
13
  const dappMenuCaller = useDappMenuCaller()
14
14
 
15
15
  const [, addMenuItemsError] = usePromise(async () => {
@@ -5,8 +5,7 @@ export const CustomerParams = [
5
5
  },
6
6
  ]
7
7
 
8
- // eslint-disable-next-line @eslint-react/hooks-extra/no-redundant-custom-hook
9
- export const useDetectCustomer = () => {
8
+ export const detectCustomer = () => {
10
9
  return CustomerParams.find((customerParamSet) => {
11
10
  const searchParams = new URLSearchParams(globalThis.location.search)
12
11
  const searchParamValue = searchParams.get(customerParamSet.key)
@@ -14,7 +14,7 @@ import { DappAccessFlexbox } from '../access-interface/index.ts'
14
14
  import { DappBar } from './AppBar.js'
15
15
  import { DappChrome } from './Chrome.js'
16
16
  import {
17
- useDappMenu, useDappState, useDecomposeDappSet, useManageDappBasedOffRoute, useSyncOsRegisteredAccessInterfaces,
17
+ dappState, decomposeDappSet, useDappMenu, useManageDappBasedOffRoute, useSyncOsRegisteredAccessInterfaces,
18
18
  } from './hooks/index.ts'
19
19
  import { DappLoadingFlexbox } from './LoadingFlexbox.js'
20
20
  import { DappBottomNavigation, DappMenuDrawer } from './menu/index.ts'
@@ -31,14 +31,14 @@ export const DappWindow: React.FC<DappWindowProps> = ({
31
31
  }) => {
32
32
  const {
33
33
  DappComponent, dapp, name, scrollable = true, version,
34
- } = useDecomposeDappSet(dappSet)
34
+ } = decomposeDappSet(dappSet)
35
35
  const {
36
36
  dappWallet, context, nodeCreateError,
37
37
  } = useDappContextCreator(xnsNodeUrl, xnsNetwork, dapp)
38
38
  const { dappIntentType: intentType, intentPayload } = useDappIntentListener(name)
39
39
  const {
40
40
  active, minimized, open,
41
- } = useDappState(intentType, context)
41
+ } = dappState(intentType, context)
42
42
 
43
43
  const TypedDappComponent = useMemo(() => DappComponent as React.FC<{
44
44
  name?: string
@@ -6,7 +6,7 @@ import { DappMenuResourceHooks } from '../../../../../hooks/index.ts'
6
6
  export const useDappMenuDependencies = (context?: XyOsContext | null) => {
7
7
  const {
8
8
  menuConfigs, menuItemSelections, menuItemsVisible, resourceError,
9
- } = DappMenuResourceHooks.useResourceViewsFromContext(context)
9
+ } = DappMenuResourceHooks.resourceViewsFromContext(context)
10
10
  const defaultPath = useMemo(() => menuConfigs?.[0]?.defaultPath, [menuConfigs])
11
11
  const menuSelection = menuItemSelections?.[0]?.path
12
12
 
@@ -1,8 +1,7 @@
1
1
  import type { XyOsContext } from '@xyo-network/os-model'
2
2
  import { DappIntentTypes } from '@xyo-network/os-model'
3
3
 
4
- // eslint-disable-next-line @eslint-react/hooks-extra/no-redundant-custom-hook
5
- export const useDappState = (intentType?: DappIntentTypes, context?: XyOsContext | null) => {
4
+ export const dappState = (intentType?: DappIntentTypes, context?: XyOsContext | null) => {
6
5
  const minimized = intentType === DappIntentTypes.Minimize
7
6
  const open = intentType === DappIntentTypes.Launch
8
7
  const active = context && open
@@ -2,8 +2,7 @@ import type { RegisteredReactDappSet } from '@xyo-network/os-react-model'
2
2
 
3
3
  import { NodeManifest } from '../NodeManifest.js'
4
4
 
5
- // eslint-disable-next-line @eslint-react/hooks-extra/no-redundant-custom-hook
6
- export const useDecomposeDappSet = (dappSet?: RegisteredReactDappSet) => {
5
+ export const decomposeDappSet = (dappSet?: RegisteredReactDappSet) => {
7
6
  const { dapp } = dappSet ?? {}
8
7
  const DappComponent = dapp?.params.modes?.window?.component ?? NodeManifest
9
8
  const name = dapp?.config.name
@@ -1,13 +1,13 @@
1
1
  import { useMemo } from 'react'
2
2
  import { useSearchParams } from 'react-router-dom'
3
3
 
4
- import { useDetectCustomer } from '../../../../../hooks/index.ts'
4
+ import { detectCustomer } from '../../../../../hooks/index.ts'
5
5
 
6
6
  const PARAMS_TO_TARGET = ['username', 'utm_source'] as const
7
7
 
8
8
  export const useSkipLoadingScreen = () => {
9
9
  const [params] = useSearchParams()
10
- const customer = useDetectCustomer()
10
+ const customer = detectCustomer()
11
11
  return useMemo(() => {
12
12
  const hasTargetParams = PARAMS_TO_TARGET.some(param => params.has(param))
13
13
  const isCustomer = !!customer
@@ -17,7 +17,7 @@ import {
17
17
  DappNavMenuConfigSchema,
18
18
  } from '@xyo-network/os-model'
19
19
 
20
- import DefaultDappManifest from './default.manifest.json'
20
+ import DefaultDappManifest from './default.manifest.json' assert { type: 'json' }
21
21
 
22
22
  export const DefaultName: DappName = 'DApp Name' as const
23
23
 
@@ -7,7 +7,7 @@ import { DappAccessRequestResourceHooks, useDappCaller } from '../../../../../ho
7
7
 
8
8
  export const useDialogState = (context?: XyOsContext | null) => {
9
9
  const dappCaller = useDappCaller()
10
- const { accessRequests } = DappAccessRequestResourceHooks.useResourceViewsFromContext(context)
10
+ const { accessRequests } = DappAccessRequestResourceHooks.resourceViewsFromContext(context)
11
11
  const [openAccessDialog, setOpenAccessDialog] = useState(false)
12
12
  const [registeredInterface, setRegisteredInterface] = useState<RegisteredDappAccess>()
13
13