@xyo-network/xl1-react-client-sdk 2.0.13 → 2.1.0
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/client/components/connected/SignTransactionButton.d.ts +56 -0
- package/dist/browser/client/components/connected/SignTransactionButton.d.ts.map +1 -0
- package/dist/browser/client/components/connected/index.d.ts +1 -0
- package/dist/browser/client/components/connected/index.d.ts.map +1 -1
- package/dist/browser/client/index.mjs +178 -20
- package/dist/browser/client/index.mjs.map +4 -4
- package/dist/browser/index.mjs +212 -54
- package/dist/browser/index.mjs.map +4 -4
- package/dist/browser/shared/index.mjs +1 -1
- package/dist/browser/shared/index.mjs.map +1 -1
- package/package.json +28 -36
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
Typography as Typography2,
|
|
111
111
|
useTheme as useTheme3
|
|
112
112
|
} from "@mui/material";
|
|
113
|
-
import { ellipsize } from "@xylabs/
|
|
113
|
+
import { ellipsize } from "@xylabs/eth-address";
|
|
114
114
|
import { isXyoAddress } from "@xyo-network/address";
|
|
115
115
|
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
116
116
|
var LabelValueStack = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/shared/components/menu-item/ActiveMenuItem.tsx", "../../../src/shared/components/stack/DetailsStack.tsx", "../../../src/shared/components/stack/LabelValueStack.tsx", "../../../src/shared/decorators/IframeWalletWarningDecorator.tsx", "../../../src/model/types/XyoGlobal.ts"],
|
|
4
|
-
"sourcesContent": ["import type { MenuItemProps } from '@mui/material'\nimport { MenuItem, useTheme } from '@mui/material'\nimport React from 'react'\n\nexport const ActiveMenuItem: React.FC<MenuItemProps & { active?: boolean }> = ({\n active, children, sx, ...props\n}) => {\n const theme = useTheme()\n return (\n <MenuItem\n disableRipple\n sx={{\n 'display': 'flex-inline',\n 'flexDirection': 'row',\n 'gap': 1,\n 'padding': 0,\n 'paddingLeft': 1,\n 'marginBottom': 1,\n // left border color and background color for active state\n 'borderLeft': `5px solid ${active ? theme.vars.palette.secondary.light : 'transparent'}`,\n 'backgroundColor': active ? theme.vars.palette.secondary.dark : 'transparent',\n // force white text color for active state for improved readability with background color\n 'color': active ? 'white' : 'unset',\n '&:hover': {\n // overriding default hover color and backgroundColor since active state conflicts visually with\n // default styles of MenuItem hover\n ...(active ? { backgroundColor: theme.vars.palette.secondary.dark } : {}),\n color: active ? 'white' : 'unset',\n },\n ...sx,\n }}\n {...props}\n >\n {children}\n </MenuItem>\n )\n}\n", "import type { StackProps } from '@mui/material'\nimport {\n Stack, Tooltip, Typography, useTheme,\n} from '@mui/material'\nimport { isDefined } from '@xylabs/sdk-js'\nimport type {\n ComponentType, ReactNode, SVGAttributes,\n} from 'react'\nimport React, { useMemo } from 'react'\n\nconst isComponentType = (value: unknown): value is ComponentType<SVGAttributes<SVGElement>> =>\n typeof value === 'function'\n || (typeof value === 'object' && value !== null && ('$$typeof' in value || 'render' in value))\n\nexport interface DetailsStackProps extends StackProps {\n IconComponent?: ComponentType<SVGAttributes<SVGElement>> | ReactNode\n heading?: string\n tooltipTitle?: string\n}\n\nexport const DetailsStack: React.FC<DetailsStackProps> = ({\n IconComponent, heading, children, tooltipTitle, ...props\n}) => {\n const theme = useTheme()\n\n const hasTooltip = isDefined(tooltipTitle)\n const resolvedIconComponent = useMemo(() => {\n return isComponentType(IconComponent)\n ? (\n <IconComponent\n style={{\n /** height and marginTop adjusted to account for font not filling container with line-height: 1 */\n height: '0.85rem',\n marginTop: 0.5,\n marginLeft: theme.spacing(1),\n }}\n />\n )\n : IconComponent ?? null\n }, [IconComponent, theme])\n\n return (\n <Stack\n direction=\"column\"\n {...props}\n sx={{\n flexGrow: 1,\n flexWrap: 'wrap',\n minWidth: '1px',\n ...props.sx,\n }}\n >\n <Typography\n sx={{\n display: 'flex',\n fontFamily: 'monospace',\n lineHeight: 1,\n marginBottom: 1.5,\n }}\n >\n {heading}\n {hasTooltip\n ? (\n <Tooltip title={tooltipTitle}>\n <span>{resolvedIconComponent}</span>\n </Tooltip>\n )\n : resolvedIconComponent}\n </Typography>\n {children}\n </Stack>\n )\n}\n", "import type { StackProps } from '@mui/material'\nimport {\n Stack, Typography, useTheme,\n} from '@mui/material'\nimport { ellipsize } from '@xylabs/
|
|
4
|
+
"sourcesContent": ["import type { MenuItemProps } from '@mui/material'\nimport { MenuItem, useTheme } from '@mui/material'\nimport React from 'react'\n\nexport const ActiveMenuItem: React.FC<MenuItemProps & { active?: boolean }> = ({\n active, children, sx, ...props\n}) => {\n const theme = useTheme()\n return (\n <MenuItem\n disableRipple\n sx={{\n 'display': 'flex-inline',\n 'flexDirection': 'row',\n 'gap': 1,\n 'padding': 0,\n 'paddingLeft': 1,\n 'marginBottom': 1,\n // left border color and background color for active state\n 'borderLeft': `5px solid ${active ? theme.vars.palette.secondary.light : 'transparent'}`,\n 'backgroundColor': active ? theme.vars.palette.secondary.dark : 'transparent',\n // force white text color for active state for improved readability with background color\n 'color': active ? 'white' : 'unset',\n '&:hover': {\n // overriding default hover color and backgroundColor since active state conflicts visually with\n // default styles of MenuItem hover\n ...(active ? { backgroundColor: theme.vars.palette.secondary.dark } : {}),\n color: active ? 'white' : 'unset',\n },\n ...sx,\n }}\n {...props}\n >\n {children}\n </MenuItem>\n )\n}\n", "import type { StackProps } from '@mui/material'\nimport {\n Stack, Tooltip, Typography, useTheme,\n} from '@mui/material'\nimport { isDefined } from '@xylabs/sdk-js'\nimport type {\n ComponentType, ReactNode, SVGAttributes,\n} from 'react'\nimport React, { useMemo } from 'react'\n\nconst isComponentType = (value: unknown): value is ComponentType<SVGAttributes<SVGElement>> =>\n typeof value === 'function'\n || (typeof value === 'object' && value !== null && ('$$typeof' in value || 'render' in value))\n\nexport interface DetailsStackProps extends StackProps {\n IconComponent?: ComponentType<SVGAttributes<SVGElement>> | ReactNode\n heading?: string\n tooltipTitle?: string\n}\n\nexport const DetailsStack: React.FC<DetailsStackProps> = ({\n IconComponent, heading, children, tooltipTitle, ...props\n}) => {\n const theme = useTheme()\n\n const hasTooltip = isDefined(tooltipTitle)\n const resolvedIconComponent = useMemo(() => {\n return isComponentType(IconComponent)\n ? (\n <IconComponent\n style={{\n /** height and marginTop adjusted to account for font not filling container with line-height: 1 */\n height: '0.85rem',\n marginTop: 0.5,\n marginLeft: theme.spacing(1),\n }}\n />\n )\n : IconComponent ?? null\n }, [IconComponent, theme])\n\n return (\n <Stack\n direction=\"column\"\n {...props}\n sx={{\n flexGrow: 1,\n flexWrap: 'wrap',\n minWidth: '1px',\n ...props.sx,\n }}\n >\n <Typography\n sx={{\n display: 'flex',\n fontFamily: 'monospace',\n lineHeight: 1,\n marginBottom: 1.5,\n }}\n >\n {heading}\n {hasTooltip\n ? (\n <Tooltip title={tooltipTitle}>\n <span>{resolvedIconComponent}</span>\n </Tooltip>\n )\n : resolvedIconComponent}\n </Typography>\n {children}\n </Stack>\n )\n}\n", "import type { StackProps } from '@mui/material'\nimport {\n Stack, Typography, useTheme,\n} from '@mui/material'\nimport { ellipsize } from '@xylabs/eth-address'\nimport { isXyoAddress } from '@xyo-network/address'\nimport React from 'react'\n\nexport interface LabelValueStackProps extends StackProps {\n labels: string[]\n values: (string | undefined)[]\n}\n\nexport const LabelValueStack: React.FC<LabelValueStackProps> = ({\n labels, values, ...props\n}) => {\n const theme = useTheme()\n const formattedValue = (value: string | undefined): string | undefined => {\n if (isXyoAddress(value)) {\n return ellipsize(value, 8)\n }\n return value\n }\n return (\n <Stack\n {...props}\n sx={{\n flexDirection: 'row',\n flexGrow: 1,\n ...props.sx,\n }}\n >\n <Stack>\n {labels.map(label => (\n <Typography\n key={label}\n variant=\"body2\"\n sx={{\n fontWeight: '300',\n borderBottom: `1px solid ${theme.vars?.palette.divider}`,\n opacity: 0.7,\n }}\n >\n {label}\n :\n </Typography>\n ))}\n </Stack>\n <Stack\n sx={{\n alignItems: 'end',\n flexGrow: 1,\n }}\n >\n {values.map((value, index) => (\n <Typography\n title={value}\n variant=\"body2\"\n // Use matching label as key since values might be the same\n key={labels[index]}\n sx={{\n fontFamily: 'monospace',\n width: '100%',\n display: 'flex',\n justifyContent: 'end',\n borderBottom: `1px solid ${theme.vars?.palette.divider}`,\n }}\n >\n {formattedValue(value)}\n </Typography>\n ))}\n </Stack>\n </Stack>\n )\n}\n", "import { Alert, Stack } from '@mui/material'\nimport type { Decorator } from '@storybook/react-vite'\nimport React from 'react'\n\nimport { isXyoGlobal } from '../../model/index.ts'\n\nconst inIframe = globalThis.self !== window.top\n\n/**\n * Storybook decorator that displays warning banners when:\n * - the story is rendered inside an iframe (prompt user to open in a standalone tab), or\n * - the XYO wallet extension is not detected (prompt user to install it).\n *\n * Stories that require direct browser-extension access should use this decorator.\n */\nexport const IframeWalletWarningDecorator: Decorator = (Story, args) => {\n const hasXyoGlobal = isXyoGlobal((globalThis as Record<string, unknown>).xyo)\n return (\n <Stack sx={{ gap: 2 }}>\n {inIframe\n ? (\n <Alert severity=\"warning\">\n This story is running in an iframe. Please run it in a standalone browser window to test the wallet extension.\n </Alert>\n )\n : null}\n {hasXyoGlobal\n ? null\n : (\n <Alert severity=\"warning\">\n No wallet extension found. Please install the Xyo Wallet Chrome Extension.\n </Alert>\n )}\n <Story {...args} />\n </Stack>\n )\n}\n", "import { isDefinedNotNull, isObject } from '@xylabs/sdk-js'\nimport type {\n NetworkBootstrap, NetworkId, XyoClient,\n} from '@xyo-network/xl1-sdk'\n\nexport interface XyoGlobal extends UninitializedXyoGlobal {\n client: XyoClient\n errors: Error[]\n}\n\n/**\n * Describes the initial state of the global XYO object before initialization\n * (i.e. before the client is initialized).\n *\n * `dataLakes` is optional because the wallet's data-lake provider is injected\n * by a separate content-script and may arrive before, after, or never relative\n * to the rest of `xyo`. Pages should null-check before using.\n */\nexport interface UninitializedXyoGlobal {\n connections: Record<NetworkId, NetworkBootstrap>\n sessionId: () => string\n walletExtensionId: () => string\n}\n\nexport const isXyoGlobal = (obj: unknown): obj is XyoGlobal => {\n return (\n isDefinedNotNull(obj)\n && isObject(obj)\n && 'client' in obj\n && 'connections' in obj\n && 'errors' in obj\n && 'sessionId' in obj\n && 'walletExtensionId' in obj\n )\n}\n\nexport const isUninitializedXyoGlobal = (obj: unknown): obj is UninitializedXyoGlobal => {\n return (\n isDefinedNotNull(obj)\n && isObject(obj)\n && 'connections' in obj\n && 'sessionId' in obj\n && 'walletExtensionId' in obj\n && !('client' in obj)\n && ('errors' in obj)\n && Array.isArray((obj).errors)\n && obj.errors.length === 0\n )\n}\n"],
|
|
5
5
|
"mappings": ";AACA,SAAS,UAAU,gBAAgB;AAQ/B;AALG,IAAM,iBAAiE,CAAC;AAAA,EAC7E;AAAA,EAAQ;AAAA,EAAU;AAAA,EAAI,GAAG;AAC3B,MAAM;AACJ,QAAM,QAAQ,SAAS;AACvB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAa;AAAA,MACb,IAAI;AAAA,QACF,WAAW;AAAA,QACX,iBAAiB;AAAA,QACjB,OAAO;AAAA,QACP,WAAW;AAAA,QACX,eAAe;AAAA,QACf,gBAAgB;AAAA;AAAA,QAEhB,cAAc,aAAa,SAAS,MAAM,KAAK,QAAQ,UAAU,QAAQ,aAAa;AAAA,QACtF,mBAAmB,SAAS,MAAM,KAAK,QAAQ,UAAU,OAAO;AAAA;AAAA,QAEhE,SAAS,SAAS,UAAU;AAAA,QAC5B,WAAW;AAAA;AAAA;AAAA,UAGT,GAAI,SAAS,EAAE,iBAAiB,MAAM,KAAK,QAAQ,UAAU,KAAK,IAAI,CAAC;AAAA,UACvE,OAAO,SAAS,UAAU;AAAA,QAC5B;AAAA,QACA,GAAG;AAAA,MACL;AAAA,MACC,GAAG;AAAA,MAEH;AAAA;AAAA,EACH;AAEJ;;;ACnCA;AAAA,EACE;AAAA,EAAO;AAAA,EAAS;AAAA,EAAY,YAAAA;AAAA,OACvB;AACP,SAAS,iBAAiB;AAI1B,SAAgB,eAAe;AAqBr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,CAAC,QAAmC;AAC7D,SACE,iBAAiB,GAAG,KACjB,SAAS,GAAG,KACZ,YAAY,OACZ,iBAAiB,OACjB,YAAY,OACZ,eAAe,OACf,uBAAuB;AAE9B;;;ADhBI,SAGQ,OAAAC,MAHR,QAAAC,aAAA;AAZJ,IAAM,WAAW,WAAW,SAAS,OAAO;AASrC,IAAM,+BAA0C,CAAC,OAAO,SAAS;AACtE,QAAM,eAAe,YAAa,WAAuC,GAAG;AAC5E,SACE,gBAAAA,MAACC,QAAA,EAAM,IAAI,EAAE,KAAK,EAAE,GACjB;AAAA,eAEK,gBAAAF,KAAC,SAAM,UAAS,WAAU,4HAE1B,IAEF;AAAA,IACH,eACG,OAEE,gBAAAA,KAAC,SAAM,UAAS,WAAU,wFAE1B;AAAA,IAEN,gBAAAA,KAAC,SAAO,GAAG,MAAM;AAAA,KACnB;AAEJ;",
|
|
6
6
|
"names": ["useTheme", "jsx", "Stack", "Typography", "useTheme", "jsx", "jsxs", "Stack", "jsx", "jsxs", "Stack"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@xyo-network/xl1-react-client-sdk",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"description": "XL1 React Client/Wallet SDK",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"README.md"
|
|
64
64
|
],
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@xyo-network/xl1-protocol-lib": "~2.0
|
|
67
|
-
"@xyo-network/xl1-blockies": "~2.0
|
|
68
|
-
"@xyo-network/xl1-sdk": "~2.0
|
|
66
|
+
"@xyo-network/xl1-protocol-lib": "~2.1.0",
|
|
67
|
+
"@xyo-network/xl1-blockies": "~2.1.0",
|
|
68
|
+
"@xyo-network/xl1-sdk": "~2.1.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@bitauth/libauth": "~3.0.0",
|
|
@@ -80,28 +80,28 @@
|
|
|
80
80
|
"@react-spring/web": "~10.1.0",
|
|
81
81
|
"@scure/base": "~2.2.0",
|
|
82
82
|
"@scure/bip39": "~2.2.0",
|
|
83
|
-
"@storybook/react-vite": "^10.4.
|
|
83
|
+
"@storybook/react-vite": "^10.4.3",
|
|
84
84
|
"@types/react": "^19.2.17",
|
|
85
|
-
"@xylabs/
|
|
86
|
-
"@xylabs/
|
|
87
|
-
"@xylabs/
|
|
88
|
-
"@xylabs/react-
|
|
89
|
-
"@xylabs/react-
|
|
90
|
-
"@xylabs/react-
|
|
91
|
-
"@xylabs/react-
|
|
92
|
-
"@xylabs/
|
|
93
|
-
"@xylabs/
|
|
94
|
-
"@xylabs/
|
|
95
|
-
"@xylabs/
|
|
96
|
-
"@xylabs/tsconfig
|
|
97
|
-
"@xylabs/tsconfig-
|
|
85
|
+
"@xylabs/eth-address": "~6.1.0",
|
|
86
|
+
"@xylabs/geo": "^6.1.0",
|
|
87
|
+
"@xylabs/pixel": "~6.1",
|
|
88
|
+
"@xylabs/react-button": "~9.1",
|
|
89
|
+
"@xylabs/react-error": "~9.1",
|
|
90
|
+
"@xylabs/react-promise": "~9.1",
|
|
91
|
+
"@xylabs/react-shared": "~9.1",
|
|
92
|
+
"@xylabs/react-theme": "~9.1",
|
|
93
|
+
"@xylabs/sdk-js": "^6.1.0",
|
|
94
|
+
"@xylabs/threads": "~6.1",
|
|
95
|
+
"@xylabs/toolchain": "~8.1.20",
|
|
96
|
+
"@xylabs/tsconfig": "~8.1.20",
|
|
97
|
+
"@xylabs/tsconfig-dom": "~8.1.20",
|
|
98
|
+
"@xylabs/tsconfig-react": "~8.1.20",
|
|
98
99
|
"@xyo-network/address": "^6.0.9",
|
|
99
100
|
"@xyo-network/sdk-js": "^6.0.4",
|
|
100
101
|
"@xyo-network/sdk-protocol-js": "~6.0.9",
|
|
101
102
|
"ajv": "^8.20.0",
|
|
102
103
|
"async-mutex": "^0.5.0",
|
|
103
104
|
"bn.js": "^5.2.3",
|
|
104
|
-
"bowser": "^2.14.1",
|
|
105
105
|
"buffer": "^6.0.3",
|
|
106
106
|
"cosmiconfig": "^9.0.2",
|
|
107
107
|
"debug": "~4.4.3",
|
|
@@ -109,16 +109,12 @@
|
|
|
109
109
|
"ethers": "^6.16.0",
|
|
110
110
|
"hash-wasm": "~4.12.0",
|
|
111
111
|
"idb": "^8.0.3",
|
|
112
|
-
"lru-cache": "^11.
|
|
113
|
-
"mixpanel-browser": "~2.79",
|
|
112
|
+
"lru-cache": "^11.5.1",
|
|
114
113
|
"observable-fns": "~0.6.1",
|
|
115
114
|
"query-string": "~9.4",
|
|
116
115
|
"react": "^19.2.7",
|
|
117
116
|
"react-dom": "^19.2.7",
|
|
118
|
-
"react-is": "^19.2.7",
|
|
119
117
|
"react-router-dom": "^7.17.0",
|
|
120
|
-
"recharts": "^3.8.1",
|
|
121
|
-
"spark-md5": "~3.0.2",
|
|
122
118
|
"storybook": "^10.4.3",
|
|
123
119
|
"typescript": "~6.0.3",
|
|
124
120
|
"uuid": "~14.0.0",
|
|
@@ -139,22 +135,22 @@
|
|
|
139
135
|
"@react-spring/web": "~10.1",
|
|
140
136
|
"@scure/base": "~2.2",
|
|
141
137
|
"@scure/bip39": "~2.2",
|
|
138
|
+
"@xylabs/eth-address": "^6.1",
|
|
142
139
|
"@xylabs/geo": "^6.0",
|
|
143
|
-
"@xylabs/pixel": "
|
|
144
|
-
"@xylabs/react-button": "
|
|
145
|
-
"@xylabs/react-error": "
|
|
146
|
-
"@xylabs/react-promise": "
|
|
147
|
-
"@xylabs/react-shared": "
|
|
148
|
-
"@xylabs/react-theme": "
|
|
140
|
+
"@xylabs/pixel": "^6.1",
|
|
141
|
+
"@xylabs/react-button": "^9.1",
|
|
142
|
+
"@xylabs/react-error": "^9.1",
|
|
143
|
+
"@xylabs/react-promise": "^9.1",
|
|
144
|
+
"@xylabs/react-shared": "^9.1",
|
|
145
|
+
"@xylabs/react-theme": "^9.1",
|
|
149
146
|
"@xylabs/sdk-js": "^6.0",
|
|
150
|
-
"@xylabs/threads": "
|
|
147
|
+
"@xylabs/threads": "^6.1",
|
|
151
148
|
"@xyo-network/address": "^6.0",
|
|
152
149
|
"@xyo-network/sdk-js": "^6.0",
|
|
153
150
|
"@xyo-network/sdk-protocol-js": "~6.0",
|
|
154
151
|
"ajv": "^8.20",
|
|
155
152
|
"async-mutex": "^0.5",
|
|
156
153
|
"bn.js": "^5.2",
|
|
157
|
-
"bowser": "^2.14",
|
|
158
154
|
"buffer": "^6.0",
|
|
159
155
|
"cosmiconfig": "^9.0",
|
|
160
156
|
"debug": "~4.4",
|
|
@@ -162,15 +158,11 @@
|
|
|
162
158
|
"hash-wasm": "~4.12",
|
|
163
159
|
"idb": "^8.0",
|
|
164
160
|
"lru-cache": "^11.3",
|
|
165
|
-
"mixpanel-browser": "~2.79",
|
|
166
161
|
"observable-fns": "~0.6",
|
|
167
162
|
"query-string": "~9.4",
|
|
168
163
|
"react": "^19.2",
|
|
169
164
|
"react-dom": "^19.2",
|
|
170
|
-
"react-is": "^19.2",
|
|
171
165
|
"react-router-dom": "^7.15",
|
|
172
|
-
"recharts": "^3.8",
|
|
173
|
-
"spark-md5": "~3.0",
|
|
174
166
|
"uuid": "~14.0",
|
|
175
167
|
"webextension-polyfill": "^0.12",
|
|
176
168
|
"zod": "~4.4"
|