@xyo-network/os-react-runtime 4.0.5 → 4.0.6
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/StyledBuilder.d.ts +1 -1
- package/dist/browser/components/Widgets/Types/BarGraph/StyledLinearProgress.d.ts +1 -1
- package/dist/browser/components/Widgets/Types/Stat/Subtitle.d.ts +1 -1
- package/dist/browser/components/Widgets/Types/Stat/Unit.d.ts +1 -1
- package/dist/browser/components/Widgets/Types/Stat/Value.d.ts +1 -1
- package/dist/browser/components/Widgets/Types/Tables/BooleanTable.d.ts +4 -4
- package/dist/browser/dapps/shared/accounts/models/CreditCardInput.d.ts +9 -1
- package/dist/browser/dapps/shared/accounts/models/CreditCardInput.d.ts.map +1 -1
- package/dist/browser/dapps/shared/table/head/Payload.d.ts +10 -4
- package/dist/browser/dapps/shared/table/head/Payload.d.ts.map +1 -1
- package/dist/browser/dapps/shared/table/head/Schema.d.ts.map +1 -1
- package/dist/browser/dapps/shared/table/head/components/StyledTableRowHeader.d.ts +1 -1
- package/dist/browser/helpers/BridgeActivityHelper.d.ts +103 -32
- package/dist/browser/helpers/BridgeActivityHelper.d.ts.map +1 -1
- package/dist/browser/helpers/widget/Caller.d.ts +9 -2
- package/dist/browser/helpers/widget/Caller.d.ts.map +1 -1
- package/dist/browser/hooks/DappIntentResourceHooks.d.ts +11 -13
- package/dist/browser/hooks/DappIntentResourceHooks.d.ts.map +1 -1
- package/dist/browser/hooks/NameServiceRegistrationHooks.d.ts +2 -2
- package/dist/browser/hooks/NameServiceRegistrationHooks.d.ts.map +1 -1
- package/dist/browser/hooks/ResourceHooks.d.ts +3 -3
- package/dist/browser/hooks/ResourceHooks.d.ts.map +1 -1
- package/dist/browser/hooks/access-requests/useBuildDappAccessRequestResource.d.ts +15 -5
- package/dist/browser/hooks/access-requests/useBuildDappAccessRequestResource.d.ts.map +1 -1
- package/dist/browser/hooks/intent/useDappIntentListener.d.ts +7 -8
- package/dist/browser/hooks/intent/useDappIntentListener.d.ts.map +1 -1
- package/dist/browser/hooks/intent/useDappIntentListener2.d.ts +2 -2
- package/dist/browser/hooks/intent/useDappIntentListener2.d.ts.map +1 -1
- package/dist/browser/hooks/menu/useAddDappMenuItems.d.ts +10 -2
- package/dist/browser/hooks/menu/useAddDappMenuItems.d.ts.map +1 -1
- package/dist/browser/hooks/menu/useBuildDappMenuResource.d.ts +33 -5
- package/dist/browser/hooks/menu/useBuildDappMenuResource.d.ts.map +1 -1
- package/dist/browser/hooks/os/useWidgetDapps.d.ts +2 -2
- package/dist/browser/hooks/os/useWidgetDapps.d.ts.map +1 -1
- package/dist/browser/hooks/useAccountArchivist.d.ts +56 -14
- package/dist/browser/hooks/useAccountArchivist.d.ts.map +1 -1
- package/dist/browser/hooks/useExposedNode.d.ts +36 -7
- package/dist/browser/hooks/useExposedNode.d.ts.map +1 -1
- package/dist/browser/hooks/usePhraseFile.d.ts +1 -7
- package/dist/browser/hooks/usePhraseFile.d.ts.map +1 -1
- package/dist/browser/index.mjs +12 -12
- package/dist/browser/index.mjs.map +1 -1
- package/dist/browser/modules/Dapp/Button/StyledComponents.d.ts +3 -3
- package/dist/browser/modules/Dapp/Button/lib/decomposeProps.d.ts +291 -291
- package/dist/browser/modules/Dapp/Button/lib/decomposeProps.d.ts.map +1 -1
- package/dist/browser/modules/Dapp/Page/Row.d.ts +1 -1
- package/dist/browser/modules/Dapp/modules/Window/hooks/menu/useDappMenu.d.ts +16 -2
- package/dist/browser/modules/Dapp/modules/Window/hooks/menu/useDappMenu.d.ts.map +1 -1
- package/dist/browser/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappIntentRequest.d.ts.map +1 -1
- package/dist/browser/modules/Dapp/modules/Window/hooks/useDappMenuResourceValues.d.ts +16 -2
- package/dist/browser/modules/Dapp/modules/Window/hooks/useDappMenuResourceValues.d.ts.map +1 -1
- package/dist/browser/modules/Dapp/modules/Window/menu/StyledListItems.d.ts +2 -2
- package/dist/browser/modules/Dapp/modules/Window/menu/stories/DefaultData.d.ts +126 -12
- package/dist/browser/modules/Dapp/modules/Window/menu/stories/DefaultData.d.ts.map +1 -1
- package/dist/browser/modules/Dapp/modules/access-interface/hooks/useDialogState.d.ts +13 -4
- package/dist/browser/modules/Dapp/modules/access-interface/hooks/useDialogState.d.ts.map +1 -1
- package/dist/browser/modules/network/components/StyledLoadingIndicator.d.ts +1 -1
- package/package.json +61 -61
- package/src/dapps/shared/accounts/models/CreditCardInput.ts +2 -2
- package/src/helpers/BridgeActivityHelper.ts +2 -2
- package/src/helpers/monitor/XyOsBrowserMonitor.ts +1 -1
- package/src/hooks/ResourceHooks.ts +2 -2
- package/src/hooks/intent/useNavigateIntent.tsx +3 -3
- package/src/hooks/os/useWidgetDapps.tsx +2 -2
- package/src/hooks/useDebugClick.tsx +1 -1
- package/src/hooks/useTabs.ts +1 -1
- package/src/modules/Dapp/modules/Window/hooks/menu/useDappMenu.tsx +1 -1
- package/src/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappInjectableParamsFromRoute.tsx +1 -1
- package/src/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappIntentRequest.tsx +1 -2
- package/src/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappPathFromRoute.tsx +1 -1
- package/src/modules/Dapp/modules/access-interface/hooks/useDialogState.tsx +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decomposeProps.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/Dapp/Button/lib/decomposeProps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAIrD,eAAO,MAAM,cAAc,cAAe,QAAQ,UAAU,aAAa
|
|
1
|
+
{"version":3,"file":"decomposeProps.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/Dapp/Button/lib/decomposeProps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAIrD,eAAO,MAAM,cAAc,cAAe,QAAQ,UAAU,aAAa;;;;;;;;;;;;;gBAU26C,MAAO,aAAa;;;;;;;;;;;;;;;;;;;;;;;;+BAAwhB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAy1C,MAAO,WAAW;iBAH93G,MAAQ,GAAE;;;;;;;wBAGkoD,MAAO,WAAW;yBAA6I,MAAO,iBAAiB;;yBAAoa,MAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAA9xB,MAAO,aAAa;;;;;;;;;;;;;;;;;;;;;;;;+BAAwhB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAy1C,MAAO,WAAW;iBAH93G,MAAQ,GAAE;;;;;;;wBAGkoD,MAAO,WAAW;yBAA6I,MAAO,iBAAiB;;yBAAoa,MAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAA9xB,MAAO,aAAa;;;;;;;;;;;;;;;;;;;;;;;;+BAAwhB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAy1C,MAAO,WAAW;iBAH93G,MAAQ,GAAE;;;;;;;wBAGkoD,MAAO,WAAW;yBAA6I,MAAO,iBAAiB;;yBAAoa,MAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CADjxE,CAAA"}
|
|
@@ -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-
|
|
12
|
+
export declare const StyledGridContainer: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-c992b302fd/package").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
|
|
@@ -5,8 +5,22 @@ import type { DappName, XyOsContext } from '@xyo-network/os-model';
|
|
|
5
5
|
export declare const useDappMenu: (context?: XyOsContext | null, dappName?: DappName) => {
|
|
6
6
|
activePath: string | undefined;
|
|
7
7
|
error: Error | undefined;
|
|
8
|
-
menuConfig: import("@xyo-network/payload-model").
|
|
9
|
-
|
|
8
|
+
menuConfig: import("@xyo-network/payload-model").WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
9
|
+
schema: "network.xyo.dapp.nav.menu.config";
|
|
10
|
+
defaultPath?: string | undefined;
|
|
11
|
+
hideMobileMenu?: boolean | undefined;
|
|
12
|
+
}>> | undefined;
|
|
13
|
+
menuItemsVisible: import("@xyo-network/payload-model").WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
14
|
+
schema: "network.xyo.dapp.nav.item";
|
|
15
|
+
hidden?: boolean | undefined;
|
|
16
|
+
matchType?: "startsWith" | "exact" | undefined;
|
|
17
|
+
path: string;
|
|
18
|
+
primaryText: string;
|
|
19
|
+
secondaryText?: string | undefined;
|
|
20
|
+
svgIcon?: string | undefined;
|
|
21
|
+
svgIconActive?: string | undefined;
|
|
22
|
+
weight?: number | undefined;
|
|
23
|
+
}>>[] | undefined;
|
|
10
24
|
onPathChange: (path: string) => void;
|
|
11
25
|
};
|
|
12
26
|
//# sourceMappingURL=useDappMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDappMenu.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/Dapp/modules/Window/hooks/menu/useDappMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AASlE;;GAEG;AAEH,eAAO,MAAM,WAAW,aAAc,WAAW,GAAG,IAAI,aAAa,QAAQ
|
|
1
|
+
{"version":3,"file":"useDappMenu.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/Dapp/modules/Window/hooks/menu/useDappMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AASlE;;GAEG;AAEH,eAAO,MAAM,WAAW,aAAc,WAAW,GAAG,IAAI,aAAa,QAAQ;;;;;;;;;;;;;;;;;;;yBAuC/C,MAAM;CAiBnC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useManageDappIntentRequest.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappIntentRequest.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EAAc,WAAW,EAChC,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"useManageDappIntentRequest.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/Dapp/modules/Window/hooks/route/helpers/useManageDappIntentRequest.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EAAc,WAAW,EAChC,MAAM,uBAAuB,CAAA;AAQ9B,eAAO,MAAM,0BAA0B,aAAc,WAAW,GAAG,IAAI,WAAW,MAAM,sBAqDvF,CAAA"}
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
import type { XyOsContext } from '@xyo-network/os-model';
|
|
2
2
|
export declare const useDappMenuDependencies: (context?: XyOsContext | null) => {
|
|
3
3
|
defaultPath: string | undefined;
|
|
4
|
-
menuConfigs: import("@xyo-network/payload-model").
|
|
5
|
-
|
|
4
|
+
menuConfigs: import("@xyo-network/payload-model").WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
5
|
+
schema: "network.xyo.dapp.nav.menu.config";
|
|
6
|
+
defaultPath?: string | undefined;
|
|
7
|
+
hideMobileMenu?: boolean | undefined;
|
|
8
|
+
}>>[] | undefined;
|
|
9
|
+
menuItemsVisible: import("@xyo-network/payload-model").WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
10
|
+
schema: "network.xyo.dapp.nav.item";
|
|
11
|
+
hidden?: boolean | undefined;
|
|
12
|
+
matchType?: "startsWith" | "exact" | undefined;
|
|
13
|
+
path: string;
|
|
14
|
+
primaryText: string;
|
|
15
|
+
secondaryText?: string | undefined;
|
|
16
|
+
svgIcon?: string | undefined;
|
|
17
|
+
svgIconActive?: string | undefined;
|
|
18
|
+
weight?: number | undefined;
|
|
19
|
+
}>>[] | undefined;
|
|
6
20
|
menuSelection: string | undefined;
|
|
7
21
|
resourceError: Error | undefined;
|
|
8
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDappMenuResourceValues.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/Dapp/modules/Window/hooks/useDappMenuResourceValues.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAKxD,eAAO,MAAM,uBAAuB,aAAc,WAAW,GAAG,IAAI
|
|
1
|
+
{"version":3,"file":"useDappMenuResourceValues.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/Dapp/modules/Window/hooks/useDappMenuResourceValues.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAKxD,eAAO,MAAM,uBAAuB,aAAc,WAAW,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;CAUnE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const StyledMenuIconWrapSpan: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-
|
|
1
|
+
export declare const StyledMenuIconWrapSpan: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-c992b302fd/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>>, {}>;
|
|
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-
|
|
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-c992b302fd/package").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
5
5
|
active?: boolean;
|
|
6
6
|
}, {}, {}>;
|
|
7
7
|
//# sourceMappingURL=StyledListItems.d.ts.map
|
|
@@ -1,24 +1,138 @@
|
|
|
1
1
|
import type { DappConfig, DappIcon, DappName, DappNavItem, DappNavMenuConfig, DappVersion } from '@xyo-network/os-model';
|
|
2
|
+
import { DappMode } from '@xyo-network/os-model';
|
|
2
3
|
export declare const DefaultName: DappName;
|
|
3
4
|
export declare const DefaultConfig: DappConfig;
|
|
4
5
|
export declare const DefaultDappIcon: DappIcon;
|
|
5
|
-
export declare const DefaultPayloads: (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
export declare const DefaultPayloads: (import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
7
|
+
schema: "network.xyo.dapp.icon";
|
|
8
|
+
active?: boolean | undefined;
|
|
9
|
+
color?: string | undefined;
|
|
10
|
+
installed?: import("@xyo-network/os-model").InstallationType | undefined;
|
|
9
11
|
name: DappName;
|
|
10
12
|
type: import("@xyo-network/os-model").KnownDappTypes;
|
|
11
13
|
version: DappVersion;
|
|
12
|
-
windowId?: string | null;
|
|
13
|
-
}
|
|
14
|
-
schema: "network.xyo.dapp.icon";
|
|
15
|
-
}) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/os-model").DappConfigBase & {
|
|
16
|
-
sources: string[];
|
|
17
|
-
} & {
|
|
14
|
+
windowId?: string | null | undefined;
|
|
15
|
+
}> | import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
18
16
|
schema: "network.xyo.os.dapp.config";
|
|
19
|
-
|
|
17
|
+
exposedModuleIds?: string[] | undefined;
|
|
18
|
+
manifest: {
|
|
19
|
+
schema: "network.xyo.manifest.package.dapp";
|
|
20
|
+
external?: {
|
|
21
|
+
modules: {
|
|
22
|
+
name: import("@xyo-network/module-model").ModuleIdentifier;
|
|
23
|
+
}[];
|
|
24
|
+
} | undefined;
|
|
25
|
+
modules?: {
|
|
26
|
+
[x: string]: {
|
|
27
|
+
config: {
|
|
28
|
+
accountPath?: string | undefined;
|
|
29
|
+
features?: string[] | undefined;
|
|
30
|
+
labels?: {
|
|
31
|
+
[x: string]: string | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
language?: string | undefined;
|
|
34
|
+
name: string;
|
|
35
|
+
os?: string | undefined;
|
|
36
|
+
schema: string;
|
|
37
|
+
};
|
|
38
|
+
lazyStart?: boolean | undefined;
|
|
39
|
+
status?: {
|
|
40
|
+
address: import("@xylabs/hex").Address;
|
|
41
|
+
children?: {
|
|
42
|
+
[x: Lowercase<string>]: string | null;
|
|
43
|
+
} | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
description?: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
} | undefined;
|
|
48
|
+
nodes: {
|
|
49
|
+
modules?: {
|
|
50
|
+
private?: (string | {
|
|
51
|
+
config: {
|
|
52
|
+
accountPath?: string | undefined;
|
|
53
|
+
features?: string[] | undefined;
|
|
54
|
+
labels?: {
|
|
55
|
+
[x: string]: string | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
language?: string | undefined;
|
|
58
|
+
name: string;
|
|
59
|
+
os?: string | undefined;
|
|
60
|
+
schema: string;
|
|
61
|
+
};
|
|
62
|
+
lazyStart?: boolean | undefined;
|
|
63
|
+
status?: {
|
|
64
|
+
address: import("@xylabs/hex").Address;
|
|
65
|
+
children?: {
|
|
66
|
+
[x: Lowercase<string>]: string | null;
|
|
67
|
+
} | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
description?: string | undefined;
|
|
70
|
+
})[] | undefined;
|
|
71
|
+
public?: (string | {
|
|
72
|
+
config: {
|
|
73
|
+
accountPath?: string | undefined;
|
|
74
|
+
features?: string[] | undefined;
|
|
75
|
+
labels?: {
|
|
76
|
+
[x: string]: string | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
language?: string | undefined;
|
|
79
|
+
name: string;
|
|
80
|
+
os?: string | undefined;
|
|
81
|
+
schema: string;
|
|
82
|
+
};
|
|
83
|
+
lazyStart?: boolean | undefined;
|
|
84
|
+
status?: {
|
|
85
|
+
address: import("@xylabs/hex").Address;
|
|
86
|
+
children?: {
|
|
87
|
+
[x: Lowercase<string>]: string | null;
|
|
88
|
+
} | undefined;
|
|
89
|
+
} | undefined;
|
|
90
|
+
description?: string | undefined;
|
|
91
|
+
})[] | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
config: {
|
|
94
|
+
accountPath?: string | undefined;
|
|
95
|
+
features?: string[] | undefined;
|
|
96
|
+
labels?: {
|
|
97
|
+
[x: string]: string | undefined;
|
|
98
|
+
} | undefined;
|
|
99
|
+
language?: string | undefined;
|
|
100
|
+
name: string;
|
|
101
|
+
os?: string | undefined;
|
|
102
|
+
schema: string;
|
|
103
|
+
};
|
|
104
|
+
lazyStart?: boolean | undefined;
|
|
105
|
+
status?: {
|
|
106
|
+
address: import("@xylabs/hex").Address;
|
|
107
|
+
children?: {
|
|
108
|
+
[x: Lowercase<string>]: string | null;
|
|
109
|
+
} | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
description?: string | undefined;
|
|
112
|
+
}[];
|
|
113
|
+
description?: string | undefined;
|
|
114
|
+
};
|
|
115
|
+
modes: DappMode[];
|
|
116
|
+
readonly name: string;
|
|
117
|
+
readonly version: string;
|
|
118
|
+
sources: string[];
|
|
119
|
+
}>)[];
|
|
20
120
|
export type DefaultMenuItemPaths = 'all' | 'payment-methods' | 'keys' | 'links' | 'crypto' | 'emails' | 'phones' | 'dapps';
|
|
21
121
|
export declare const DefaultMenuItems: DappNavItem<DefaultMenuItemPaths>[];
|
|
22
122
|
export declare const DefaultMenuConfig: DappNavMenuConfig;
|
|
23
|
-
export declare const DefaultMenuPayloads: (
|
|
123
|
+
export declare const DefaultMenuPayloads: (import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
124
|
+
schema: "network.xyo.dapp.nav.menu.config";
|
|
125
|
+
defaultPath?: string | undefined;
|
|
126
|
+
hideMobileMenu?: boolean | undefined;
|
|
127
|
+
}> | import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
128
|
+
schema: "network.xyo.dapp.nav.item";
|
|
129
|
+
hidden?: boolean | undefined;
|
|
130
|
+
matchType?: "startsWith" | "exact" | undefined;
|
|
131
|
+
path: DefaultMenuItemPaths;
|
|
132
|
+
primaryText: string;
|
|
133
|
+
secondaryText?: string | undefined;
|
|
134
|
+
svgIcon?: string | undefined;
|
|
135
|
+
svgIconActive?: string | undefined;
|
|
136
|
+
weight?: number | undefined;
|
|
137
|
+
}>)[];
|
|
24
138
|
//# sourceMappingURL=DefaultData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultData.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/Dapp/modules/Window/menu/stories/DefaultData.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,iBAAiB,EAEjB,WAAW,EACZ,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"DefaultData.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/Dapp/modules/Window/menu/stories/DefaultData.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,iBAAiB,EAEjB,WAAW,EACZ,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAGL,QAAQ,EAGT,MAAM,uBAAuB,CAAA;AAI9B,eAAO,MAAM,WAAW,EAAE,QAA+B,CAAA;AAIzD,eAAO,MAAM,aAAa,EAAE,UAO3B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,QAO7B,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAmC,CAAA;AAE/D,MAAM,MAAM,oBAAoB,GAAG,KAAK,GAAG,iBAAiB,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE1H,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,oBAAoB,CAAC,EAgE/D,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,iBAG/B,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;KAA2C,CAAA"}
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
import type { XyOsContext } from '@xyo-network/os-model';
|
|
2
|
-
import type { WithMeta } from '@xyo-network/payload-model';
|
|
3
2
|
export declare const useDialogState: (context?: XyOsContext | null) => {
|
|
4
|
-
accessRequests:
|
|
3
|
+
accessRequests: import("@xyo-network/payload-model").WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
5
4
|
schema: "network.xyo.os.dapp.access.request";
|
|
6
|
-
|
|
5
|
+
destinationArchivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
6
|
+
mode?: import("@xyo-network/os-model").DappMode | undefined;
|
|
7
|
+
registeredDappAccessHash: import("@xylabs/hex").Hash;
|
|
8
|
+
requestingDappId: import("@xyo-network/os-model").DappId;
|
|
9
|
+
timestamp: number;
|
|
10
|
+
}>>[] | undefined;
|
|
7
11
|
allowAccessDialogError: Error | undefined;
|
|
8
12
|
openAccessDialog: boolean;
|
|
9
|
-
registeredInterface:
|
|
13
|
+
registeredInterface: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
10
14
|
schema: "network.xyo.os.dapp.access.registered";
|
|
15
|
+
timestamp: number;
|
|
16
|
+
name: import("@xyo-network/os-model").DappAccessName;
|
|
17
|
+
registeringDappId: import("@xyo-network/os-model").DappId;
|
|
18
|
+
rootModuleId: import("@xyo-network/module-model").ModuleIdentifier;
|
|
19
|
+
version: import("@xyo-network/os-model").DappVersion;
|
|
11
20
|
}> | undefined;
|
|
12
21
|
setOpenAccessDialog: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
13
22
|
};
|
|
@@ -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;
|
|
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,2 +1,2 @@
|
|
|
1
|
-
export declare const StyledNetworkLoadingIndicator: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-
|
|
1
|
+
export declare const StyledNetworkLoadingIndicator: import("@emotion/styled").StyledComponent<import(".store/@mui-system-virtual-c992b302fd/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>>, {}>;
|
|
2
2
|
//# sourceMappingURL=StyledLoadingIndicator.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/os-react-runtime",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.6",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,77 +29,77 @@
|
|
|
29
29
|
"main": "dist/browser/index.mjs",
|
|
30
30
|
"types": "dist/browser/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@mui/icons-material": "^6.1
|
|
32
|
+
"@mui/icons-material": "^6.2.1",
|
|
33
33
|
"@react-spring/web": "^9.7.5",
|
|
34
|
-
"@xylabs/assert": "^4.
|
|
35
|
-
"@xylabs/forget": "^4.
|
|
36
|
-
"@xylabs/hex": "^4.
|
|
37
|
-
"@xylabs/lodash": "^4.
|
|
38
|
-
"@xylabs/object": "^4.
|
|
39
|
-
"@xylabs/promise": "^4.
|
|
40
|
-
"@xylabs/react-animation": "^5.
|
|
41
|
-
"@xylabs/react-async-effect": "^5.
|
|
42
|
-
"@xylabs/react-button": "^5.
|
|
43
|
-
"@xylabs/react-error": "^5.
|
|
44
|
-
"@xylabs/react-flexbox": "^5.
|
|
45
|
-
"@xylabs/react-invertible-theme": "^5.
|
|
46
|
-
"@xylabs/react-link": "^5.
|
|
47
|
-
"@xylabs/react-promise": "^5.
|
|
48
|
-
"@xylabs/react-shared": "^5.
|
|
49
|
-
"@xyo-network/archivist-indexeddb": "^3.
|
|
50
|
-
"@xyo-network/archivist-model": "^3.
|
|
51
|
-
"@xyo-network/bios-browser": "^4.0.
|
|
52
|
-
"@xyo-network/bios-model": "^4.0.
|
|
53
|
-
"@xyo-network/diviner-boundwitness-indexeddb": "^3.
|
|
54
|
-
"@xyo-network/diviner-model": "^3.
|
|
55
|
-
"@xyo-network/diviner-payload-generic": "^3.
|
|
56
|
-
"@xyo-network/diviner-payload-indexeddb": "^3.
|
|
57
|
-
"@xyo-network/diviner-payload-model": "^3.
|
|
58
|
-
"@xyo-network/kernel": "^4.0.
|
|
59
|
-
"@xyo-network/kernel-model": "^4.0.
|
|
60
|
-
"@xyo-network/module-event-emitter": "^3.
|
|
61
|
-
"@xyo-network/module-events": "^3.
|
|
62
|
-
"@xyo-network/module-factory-locator": "^3.
|
|
63
|
-
"@xyo-network/node-model": "^3.
|
|
64
|
-
"@xyo-network/os-model": "^4.0.
|
|
65
|
-
"@xyo-network/os-react-debug": "^4.0.
|
|
66
|
-
"@xyo-network/os-react-model": "^4.0.
|
|
67
|
-
"@xyo-network/os-runtime": "^4.0.
|
|
68
|
-
"@xyo-network/payload-model": "^3.
|
|
69
|
-
"@xyo-network/react-archivist": "^4.
|
|
70
|
-
"@xyo-network/react-card": "^4.
|
|
71
|
-
"@xyo-network/react-form-credit-card": "^4.
|
|
72
|
-
"@xyo-network/react-node": "^4.
|
|
73
|
-
"@xyo-network/react-shared": "^4.
|
|
74
|
-
"@xyo-network/react-table": "^4.
|
|
75
|
-
"@xyo-network/react-wallet": "^4.
|
|
76
|
-
"@xyo-network/wallet-model": "^3.
|
|
77
|
-
"country-region-data": "^3.
|
|
34
|
+
"@xylabs/assert": "^4.4.26",
|
|
35
|
+
"@xylabs/forget": "^4.4.26",
|
|
36
|
+
"@xylabs/hex": "^4.4.26",
|
|
37
|
+
"@xylabs/lodash": "^4.4.26",
|
|
38
|
+
"@xylabs/object": "^4.4.26",
|
|
39
|
+
"@xylabs/promise": "^4.4.26",
|
|
40
|
+
"@xylabs/react-animation": "^5.3.13",
|
|
41
|
+
"@xylabs/react-async-effect": "^5.3.13",
|
|
42
|
+
"@xylabs/react-button": "^5.3.13",
|
|
43
|
+
"@xylabs/react-error": "^5.3.13",
|
|
44
|
+
"@xylabs/react-flexbox": "^5.3.13",
|
|
45
|
+
"@xylabs/react-invertible-theme": "^5.3.13",
|
|
46
|
+
"@xylabs/react-link": "^5.3.13",
|
|
47
|
+
"@xylabs/react-promise": "^5.3.13",
|
|
48
|
+
"@xylabs/react-shared": "^5.3.13",
|
|
49
|
+
"@xyo-network/archivist-indexeddb": "^3.6.0",
|
|
50
|
+
"@xyo-network/archivist-model": "^3.6.0",
|
|
51
|
+
"@xyo-network/bios-browser": "^4.0.6",
|
|
52
|
+
"@xyo-network/bios-model": "^4.0.6",
|
|
53
|
+
"@xyo-network/diviner-boundwitness-indexeddb": "^3.6.0",
|
|
54
|
+
"@xyo-network/diviner-model": "^3.6.0",
|
|
55
|
+
"@xyo-network/diviner-payload-generic": "^3.6.0",
|
|
56
|
+
"@xyo-network/diviner-payload-indexeddb": "^3.6.0",
|
|
57
|
+
"@xyo-network/diviner-payload-model": "^3.6.0",
|
|
58
|
+
"@xyo-network/kernel": "^4.0.6",
|
|
59
|
+
"@xyo-network/kernel-model": "^4.0.6",
|
|
60
|
+
"@xyo-network/module-event-emitter": "^3.6.0",
|
|
61
|
+
"@xyo-network/module-events": "^3.6.0",
|
|
62
|
+
"@xyo-network/module-factory-locator": "^3.6.0",
|
|
63
|
+
"@xyo-network/node-model": "^3.6.0",
|
|
64
|
+
"@xyo-network/os-model": "^4.0.6",
|
|
65
|
+
"@xyo-network/os-react-debug": "^4.0.6",
|
|
66
|
+
"@xyo-network/os-react-model": "^4.0.6",
|
|
67
|
+
"@xyo-network/os-runtime": "^4.0.6",
|
|
68
|
+
"@xyo-network/payload-model": "^3.6.0",
|
|
69
|
+
"@xyo-network/react-archivist": "^4.3.0",
|
|
70
|
+
"@xyo-network/react-card": "^4.3.0",
|
|
71
|
+
"@xyo-network/react-form-credit-card": "^4.3.0",
|
|
72
|
+
"@xyo-network/react-node": "^4.3.0",
|
|
73
|
+
"@xyo-network/react-shared": "^4.3.0",
|
|
74
|
+
"@xyo-network/react-table": "^4.3.0",
|
|
75
|
+
"@xyo-network/react-wallet": "^4.3.0",
|
|
76
|
+
"@xyo-network/wallet-model": "^3.6.0",
|
|
77
|
+
"country-region-data": "^3.1.0",
|
|
78
78
|
"luxon": "^3.5.0",
|
|
79
79
|
"react-helmet": "^6.1.0",
|
|
80
|
-
"react-icons": "^5.
|
|
81
|
-
"react-router-dom": "^
|
|
80
|
+
"react-icons": "^5.4.0",
|
|
81
|
+
"react-router-dom": "^7.1.1",
|
|
82
82
|
"react-use-gesture": "^9.1.3",
|
|
83
83
|
"rollbar": "^2.26.4"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@emotion/react": "^11.
|
|
87
|
-
"@emotion/styled": "^11.
|
|
88
|
-
"@mui/material": "^6.1
|
|
89
|
-
"@mui/styles": "^6.1
|
|
90
|
-
"@storybook/react": "^8.
|
|
86
|
+
"@emotion/react": "^11.14.0",
|
|
87
|
+
"@emotion/styled": "^11.14.0",
|
|
88
|
+
"@mui/material": "^6.2.1",
|
|
89
|
+
"@mui/styles": "^6.2.1",
|
|
90
|
+
"@storybook/react": "^8.4.7",
|
|
91
91
|
"@types/luxon": "^3.4.2",
|
|
92
|
-
"@types/react": "^18.3.
|
|
92
|
+
"@types/react": "^18.3.18",
|
|
93
93
|
"@types/react-helmet": "^6.1.11",
|
|
94
|
-
"@xylabs/ts-scripts-react-yarn3": "^4.2.
|
|
95
|
-
"@xylabs/ts-scripts-yarn3": "^4.2.
|
|
96
|
-
"@xylabs/tsconfig": "^4.2.
|
|
97
|
-
"@xylabs/tsconfig-dom": "^4.2.
|
|
98
|
-
"@xylabs/tsconfig-react": "^4.2.
|
|
94
|
+
"@xylabs/ts-scripts-react-yarn3": "^4.2.6",
|
|
95
|
+
"@xylabs/ts-scripts-yarn3": "^4.2.6",
|
|
96
|
+
"@xylabs/tsconfig": "^4.2.6",
|
|
97
|
+
"@xylabs/tsconfig-dom": "^4.2.6",
|
|
98
|
+
"@xylabs/tsconfig-react": "^4.2.6",
|
|
99
99
|
"react": "^18.3.1",
|
|
100
100
|
"react-dom": "^18.3.1",
|
|
101
|
-
"storybook": "^8.
|
|
102
|
-
"typescript": "^5.
|
|
101
|
+
"storybook": "^8.4.7",
|
|
102
|
+
"typescript": "^5.7.2"
|
|
103
103
|
},
|
|
104
104
|
"peerDependencies": {
|
|
105
105
|
"@emotion/react": "^11",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Payload } from '@xyo-network/payload-model'
|
|
2
|
-
import {
|
|
2
|
+
import { isPayloadOfSchemaType } from '@xyo-network/payload-model'
|
|
3
3
|
|
|
4
4
|
export const CreditCardInputSchema = 'network.xyo.credit.card.input' as const
|
|
5
5
|
export type CreditCardInputSchema = typeof CreditCardInputSchema
|
|
@@ -17,4 +17,4 @@ export type CreditCardInputFields = {
|
|
|
17
17
|
|
|
18
18
|
export type CreditCardInput = Payload<CreditCardInputFields, CreditCardInputSchema>
|
|
19
19
|
|
|
20
|
-
export const isCreditCardInput =
|
|
20
|
+
export const isCreditCardInput = isPayloadOfSchemaType<CreditCardInput>(CreditCardInputSchema)
|
|
@@ -30,8 +30,8 @@ export class BridgeActivityHelper<TParams extends BridgeActivityHelperParams | v
|
|
|
30
30
|
return this.archivist.next(options)
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
nextByAddress(address: Address, options?: Pick<PayloadDivinerQueryPayload<EmptyObject
|
|
34
|
-
const query: PayloadDivinerQueryPayload<EmptyObject
|
|
33
|
+
nextByAddress(address: Address, options?: Pick<PayloadDivinerQueryPayload<EmptyObject>, 'cursor' | 'order'>) {
|
|
34
|
+
const query: PayloadDivinerQueryPayload<EmptyObject> = {
|
|
35
35
|
address, ...options, schema: PayloadDivinerQuerySchema,
|
|
36
36
|
}
|
|
37
37
|
return this.diviner.divine([query])
|
|
@@ -5,7 +5,7 @@ export class XyOsBrowserMonitor extends XyOsMonitor {
|
|
|
5
5
|
protected connection(): Connection | undefined {
|
|
6
6
|
try {
|
|
7
7
|
if (globalThis !== undefined) {
|
|
8
|
-
return 'connection' in globalThis.navigator ? (globalThis.navigator.connection as Connection) : undefined
|
|
8
|
+
return 'connection' in globalThis.navigator ? (globalThis.navigator.connection as unknown as Connection) : undefined
|
|
9
9
|
}
|
|
10
10
|
} catch {
|
|
11
11
|
return
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { UsePromiseState } from '@xylabs/react-promise'
|
|
2
2
|
import type { XyOsContext } from '@xyo-network/os-model'
|
|
3
3
|
import type { ResourceStore } from '@xyo-network/os-runtime'
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import { useXyOsUiContext } from '../modules/index.ts'
|
|
|
6
6
|
|
|
7
7
|
export class ResourceHooks<Views extends string, T extends ResourceStore<Views>> {
|
|
8
8
|
constructor(
|
|
9
|
-
private buildResource: (context?: XyOsContext | null, pathPrefix?: string) => [T | undefined, Error | undefined,
|
|
9
|
+
private buildResource: (context?: XyOsContext | null, pathPrefix?: string) => [T | undefined, Error | undefined, UsePromiseState | undefined],
|
|
10
10
|
private buildViews: (resource?: T) => { [K in Views]: ReturnType<T['views'][K]> | undefined } | (undefined & Record<'resource', T | undefined>),
|
|
11
11
|
) {}
|
|
12
12
|
|
|
@@ -29,16 +29,16 @@ export const useNavigateIntent = () => {
|
|
|
29
29
|
if (dappNameDeSlugged !== dappName) {
|
|
30
30
|
// navigating from the root to allow overwriting duplicate slugs
|
|
31
31
|
const slugFromRoot = `${rootRoute}${slug}${intentParams ? `/${intentParams}` : ''}`
|
|
32
|
-
if (!skipNavigate) navigate(slugFromRoot)
|
|
32
|
+
if (!skipNavigate) void navigate(slugFromRoot)
|
|
33
33
|
}
|
|
34
34
|
break
|
|
35
35
|
}
|
|
36
36
|
case DappIntentTypes.Minimize: {
|
|
37
|
-
if (!skipNavigate)navigate(rootRoute)
|
|
37
|
+
if (!skipNavigate) void navigate(rootRoute)
|
|
38
38
|
break
|
|
39
39
|
}
|
|
40
40
|
case DappIntentTypes.Close: {
|
|
41
|
-
if (!skipNavigate) navigate(rootRoute)
|
|
41
|
+
if (!skipNavigate) void navigate(rootRoute)
|
|
42
42
|
break
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { UsePromiseState } from '@xylabs/react-promise'
|
|
2
2
|
import { usePromise } from '@xylabs/react-promise'
|
|
3
3
|
import type { WidgetTrayLayout } from '@xyo-network/os-model'
|
|
4
4
|
import type { RegisteredReactDappSet } from '@xyo-network/os-react-model'
|
|
@@ -12,7 +12,7 @@ type WidgetResults = [(JSX.Element | undefined)[] | undefined, (Error | undefine
|
|
|
12
12
|
export const useWidgetDapps = (
|
|
13
13
|
registeredDapps?: RegisteredReactDappSet[],
|
|
14
14
|
widgetTrayLayout?: WidgetTrayLayout,
|
|
15
|
-
): [WidgetResults, Error | undefined,
|
|
15
|
+
): [WidgetResults, Error | undefined, UsePromiseState | undefined] => {
|
|
16
16
|
const context = useXyOsUiContext()
|
|
17
17
|
return usePromise(async () => {
|
|
18
18
|
if (registeredDapps && context && widgetTrayLayout) {
|
|
@@ -25,7 +25,7 @@ export const useDebugClick = () => {
|
|
|
25
25
|
openFromClick.current = false
|
|
26
26
|
closeFromClick.current = true
|
|
27
27
|
initialized.current = false
|
|
28
|
-
navigate(-1)
|
|
28
|
+
void navigate(-1)
|
|
29
29
|
// eslint-disable-next-line @eslint-react/hooks-extra/no-direct-set-state-in-use-effect
|
|
30
30
|
setDebugOpen(false)
|
|
31
31
|
}, [navigate])
|
package/src/hooks/useTabs.ts
CHANGED
|
@@ -8,7 +8,7 @@ export const useTabs = (): [string, Dispatch<string>] => {
|
|
|
8
8
|
const rootFolder = location.pathname.split('/')[1]
|
|
9
9
|
const tab = rootFolder?.length > 0 ? rootFolder : 'node'
|
|
10
10
|
const setTab = (tab: string) => {
|
|
11
|
-
navigate(`/${tab}`)
|
|
11
|
+
void navigate(`/${tab}`)
|
|
12
12
|
}
|
|
13
13
|
return [tab, setTab]
|
|
14
14
|
}
|
|
@@ -57,7 +57,7 @@ export const useDappMenu = (context?: XyOsContext | null, dappName?: DappName) =
|
|
|
57
57
|
|
|
58
58
|
// navigate to the new path so listeners on the route can react
|
|
59
59
|
const destinationPath = DappPathHelpers.deriveDestinationPath(path, defaultPath, dappName)
|
|
60
|
-
navigate(destinationPath)
|
|
60
|
+
void navigate(destinationPath)
|
|
61
61
|
currentPathRef.current = path
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -31,7 +31,7 @@ export const useManageDappInjectableParamsFromRoute = (context?: XyOsContext | n
|
|
|
31
31
|
if (injectableParams && context) {
|
|
32
32
|
const pathname = globalThis.location.pathname
|
|
33
33
|
if (pathname !== injectableParams.path) {
|
|
34
|
-
navigate(injectableParams.path)
|
|
34
|
+
void navigate(injectableParams.path)
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|