@xyo-network/react-wallet 2.76.3 → 2.76.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -21,12 +21,12 @@
21
21
  "@xylabs/react-quick-tip-button": "^3.1.7",
22
22
  "@xylabs/react-select": "^3.1.7",
23
23
  "@xylabs/react-shared": "^3.1.7",
24
- "@xyo-network/account": "^2.101.16",
25
- "@xyo-network/account-model": "^2.101.16",
26
- "@xyo-network/react-address-render": "~2.76.3",
27
- "@xyo-network/react-network": "~2.76.3",
28
- "@xyo-network/react-shared": "~2.76.3",
29
- "@xyo-network/wallet-model": "^2.101.16",
24
+ "@xyo-network/account": "^2.103.0",
25
+ "@xyo-network/account-model": "^2.103.0",
26
+ "@xyo-network/react-address-render": "~2.76.5",
27
+ "@xyo-network/react-network": "~2.76.5",
28
+ "@xyo-network/react-shared": "~2.76.5",
29
+ "@xyo-network/wallet-model": "^2.103.0",
30
30
  "async-mutex": "^0.5.0"
31
31
  },
32
32
  "peerDependencies": {
@@ -41,7 +41,7 @@
41
41
  "@storybook/react": "^7.6.19",
42
42
  "@xylabs/ts-scripts-yarn3": "^3.10.4",
43
43
  "@xylabs/tsconfig-react": "^3.10.4",
44
- "@xyo-network/react-storybook": "~2.76.3",
44
+ "@xyo-network/react-storybook": "~2.76.5",
45
45
  "react-router-dom": "^6.23.1",
46
46
  "typescript": "^5.4.5"
47
47
  },
@@ -95,6 +95,6 @@
95
95
  },
96
96
  "sideEffects": false,
97
97
  "types": "dist/browser/index.d.ts",
98
- "version": "2.76.3",
98
+ "version": "2.76.5",
99
99
  "type": "module"
100
100
  }
@@ -1,9 +1,9 @@
1
1
  import { Button, Typography } from '@mui/material'
2
- import { Meta, StoryFn } from '@storybook/react'
3
- import { FlexCol } from '@xylabs/react-flexbox'
4
2
  import { generateMnemonic } from '@scure/bip39'
5
3
  // eslint-disable-next-line import/no-internal-modules
6
4
  import { wordlist } from '@scure/bip39/wordlists/english'
5
+ import { Meta, StoryFn } from '@storybook/react'
6
+ import { FlexCol } from '@xylabs/react-flexbox'
7
7
  import { useState } from 'react'
8
8
 
9
9
  import { SeedPhraseDialog } from './SeedPhraseDialog'
@@ -2,8 +2,8 @@ import { Stack } from '@mui/material'
2
2
  import { Meta, StoryFn } from '@storybook/react'
3
3
 
4
4
  import { WalletAccountSelect } from './Select'
5
- import { AccountInfo, RootWalletInfo, SelectedWalletInfo, WalletInfo } from './WalletInfo'
6
5
  import { WalletProviderDecorator } from './stories'
6
+ import { AccountInfo, RootWalletInfo, SelectedWalletInfo, WalletInfo } from './WalletInfo'
7
7
 
8
8
  const StorybookEntry = {
9
9
  argTypes: {},
@@ -31,7 +31,7 @@ const WithWalletTemplate: StoryFn<typeof WalletAccountSelect> = (args) => {
31
31
  <WalletInfo />
32
32
  <AccountInfo />
33
33
  </Stack>
34
- </>
34
+ </>
35
35
  )
36
36
  }
37
37
 
@@ -5,7 +5,7 @@ import { useWallets } from '../../hooks'
5
5
  import { WalletAccountSelectBar } from './SelectBar'
6
6
  import { WalletProviderDecorator } from './stories'
7
7
 
8
- const PATHS = { paths: ['0', '3', '5']}
8
+ const PATHS = { paths: ['0', '3', '5'] }
9
9
 
10
10
  const StorybookEntry = {
11
11
  argTypes: {},
@@ -27,21 +27,21 @@ const WithFavoritesTemplate: StoryFn<typeof WalletAccountSelectBar> = (args) =>
27
27
  const [wallets] = useWallets(PATHS)
28
28
  const castWallets = wallets as WalletInstance[] | undefined
29
29
  return (
30
- <WalletAccountSelectBar
31
- addressNames={
32
- castWallets
33
- ? {
34
- [castWallets[0]?.address]: 'first address',
35
- [castWallets[1]?.address]: undefined,
36
- [castWallets[2]?.address]: 'sixth address',
37
- }
38
- : {}
39
- }
40
- icons={true}
41
- maxAccounts={10}
42
- showFavorite
43
- {...args}
44
- />
30
+ <WalletAccountSelectBar
31
+ addressNames={
32
+ castWallets ?
33
+ {
34
+ [castWallets[0]?.address]: 'first address',
35
+ [castWallets[1]?.address]: undefined,
36
+ [castWallets[2]?.address]: 'sixth address',
37
+ }
38
+ : {}
39
+ }
40
+ icons={true}
41
+ maxAccounts={10}
42
+ showFavorite
43
+ {...args}
44
+ />
45
45
  )
46
46
  }
47
47