@xyo-network/react-wallet 2.26.2 → 2.26.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/dist/cjs/components/WalletAccountDetails/WalletAccountDetails.d.ts +1 -1
- package/dist/cjs/contexts/Account/MemoryProvider.d.ts +1 -1
- package/dist/cjs/contexts/Account/State.d.ts +1 -1
- package/dist/cjs/contexts/Wallet/Provider.d.ts +1 -1
- package/dist/cjs/contexts/Wallet/State.d.ts +1 -1
- package/dist/esm/components/WalletAccountDetails/WalletAccountDetails.d.ts +1 -1
- package/dist/esm/contexts/Account/MemoryProvider.d.ts +1 -1
- package/dist/esm/contexts/Account/State.d.ts +1 -1
- package/dist/esm/contexts/Wallet/Provider.d.ts +1 -1
- package/dist/esm/contexts/Wallet/State.d.ts +1 -1
- package/package.json +6 -4
- package/src/components/WalletAccountDetails/WalletAccountDetails.tsx +1 -1
- package/src/components/WalletAccountDetails/WalletAccountDetailsWithProvider.stories.tsx +1 -1
- package/src/components/WalletAccountSelect/WalletAccountSelect.stories.tsx +1 -1
- package/src/components/WalletAccountSelect/WalletAccountSelectBar.stories.tsx +1 -1
- package/src/components/WalletAccountSelect/WalletAccountSelectWithProvider.stories.tsx +1 -1
- package/src/contexts/Account/MemoryProvider.tsx +1 -1
- package/src/contexts/Account/State.ts +1 -1
- package/src/contexts/Wallet/Provider.tsx +1 -1
- package/src/contexts/Wallet/State.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
3
|
-
import { XyoAccount } from '@xyo-network/
|
|
3
|
+
import { XyoAccount } from '@xyo-network/account';
|
|
4
4
|
export interface WalletAccountDetailsProps extends FlexBoxProps {
|
|
5
5
|
account?: XyoAccount;
|
|
6
6
|
exploreUrl?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WithChildren } from '@xylabs/react-shared';
|
|
3
|
-
import { XyoAccount } from '@xyo-network/
|
|
3
|
+
import { XyoAccount } from '@xyo-network/account';
|
|
4
4
|
export interface AccountMemoryProviderProps {
|
|
5
5
|
defaultAccount?: XyoAccount;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WithChildren } from '@xylabs/react-shared';
|
|
3
|
-
import { XyoWalletBase } from '@xyo-network/
|
|
3
|
+
import { XyoWalletBase } from '@xyo-network/wallet';
|
|
4
4
|
export interface WalletProviderProps {
|
|
5
5
|
defaultWallet?: XyoWalletBase;
|
|
6
6
|
defaultActiveAccountIndex?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { XyoWalletBase } from '@xyo-network/core';
|
|
2
1
|
import { ContextExState } from '@xyo-network/react-shared';
|
|
2
|
+
import { XyoWalletBase } from '@xyo-network/wallet';
|
|
3
3
|
import { Dispatch } from 'react';
|
|
4
4
|
export interface WalletContextState extends ContextExState {
|
|
5
5
|
wallet?: XyoWalletBase;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
3
|
-
import { XyoAccount } from '@xyo-network/
|
|
3
|
+
import { XyoAccount } from '@xyo-network/account';
|
|
4
4
|
export interface WalletAccountDetailsProps extends FlexBoxProps {
|
|
5
5
|
account?: XyoAccount;
|
|
6
6
|
exploreUrl?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WithChildren } from '@xylabs/react-shared';
|
|
3
|
-
import { XyoAccount } from '@xyo-network/
|
|
3
|
+
import { XyoAccount } from '@xyo-network/account';
|
|
4
4
|
export interface AccountMemoryProviderProps {
|
|
5
5
|
defaultAccount?: XyoAccount;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WithChildren } from '@xylabs/react-shared';
|
|
3
|
-
import { XyoWalletBase } from '@xyo-network/
|
|
3
|
+
import { XyoWalletBase } from '@xyo-network/wallet';
|
|
4
4
|
export interface WalletProviderProps {
|
|
5
5
|
defaultWallet?: XyoWalletBase;
|
|
6
6
|
defaultActiveAccountIndex?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { XyoWalletBase } from '@xyo-network/core';
|
|
2
1
|
import { ContextExState } from '@xyo-network/react-shared';
|
|
2
|
+
import { XyoWalletBase } from '@xyo-network/wallet';
|
|
3
3
|
import { Dispatch } from 'react';
|
|
4
4
|
export interface WalletContextState extends ContextExState {
|
|
5
5
|
wallet?: XyoWalletBase;
|
package/package.json
CHANGED
|
@@ -19,9 +19,11 @@
|
|
|
19
19
|
"@xylabs/react-identicon": "^2.14.4",
|
|
20
20
|
"@xylabs/react-shared": "^2.14.4",
|
|
21
21
|
"@xylabs/sdk-js": "^2.5.9",
|
|
22
|
-
"@xyo-network/
|
|
23
|
-
"@xyo-network/
|
|
24
|
-
"@xyo-network/react-
|
|
22
|
+
"@xyo-network/account": "^2.21.11",
|
|
23
|
+
"@xyo-network/core": "^2.21.11",
|
|
24
|
+
"@xyo-network/react-network": "^2.26.5",
|
|
25
|
+
"@xyo-network/react-shared": "^2.26.5",
|
|
26
|
+
"@xyo-network/wallet": "^2.21.11",
|
|
25
27
|
"react": "^18.2.0",
|
|
26
28
|
"react-dom": "^18.2.0",
|
|
27
29
|
"react-router-dom": "^6.3.0",
|
|
@@ -84,6 +86,6 @@
|
|
|
84
86
|
},
|
|
85
87
|
"sideEffects": false,
|
|
86
88
|
"types": "dist/esm/index.d.ts",
|
|
87
|
-
"version": "2.26.
|
|
89
|
+
"version": "2.26.5",
|
|
88
90
|
"packageManager": "yarn@3.1.1"
|
|
89
91
|
}
|
|
@@ -2,7 +2,7 @@ import { NumberStatus } from '@xylabs/react-common'
|
|
|
2
2
|
import { EthAccountButton } from '@xylabs/react-crypto'
|
|
3
3
|
import { FlexBoxProps, FlexCol, FlexRow } from '@xylabs/react-flexbox'
|
|
4
4
|
import { EthAddress } from '@xylabs/sdk-js'
|
|
5
|
-
import { XyoAccount } from '@xyo-network/
|
|
5
|
+
import { XyoAccount } from '@xyo-network/account'
|
|
6
6
|
import { useNetwork } from '@xyo-network/react-network'
|
|
7
7
|
|
|
8
8
|
import { useAccount } from '../../contexts'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentMeta, ComponentStory } from '@storybook/react'
|
|
2
|
-
import { XyoWalletBase } from '@xyo-network/
|
|
2
|
+
import { XyoWalletBase } from '@xyo-network/wallet'
|
|
3
3
|
import { BrowserRouter } from 'react-router-dom'
|
|
4
4
|
|
|
5
5
|
import { WalletProvider } from '../../contexts'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react'
|
|
3
|
-
import { XyoWalletBase } from '@xyo-network/
|
|
3
|
+
import { XyoWalletBase } from '@xyo-network/wallet'
|
|
4
4
|
|
|
5
5
|
import { WalletProvider } from '../../contexts'
|
|
6
6
|
import { WalletAccountSelect } from './Select'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable import/no-internal-modules */
|
|
2
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react'
|
|
3
|
-
import { XyoWalletBase } from '@xyo-network/
|
|
3
|
+
import { XyoWalletBase } from '@xyo-network/wallet'
|
|
4
4
|
|
|
5
5
|
import { WalletProvider } from '../../contexts'
|
|
6
6
|
import { WalletAccountSelectBar } from './SelectBar'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentMeta, ComponentStory } from '@storybook/react'
|
|
2
|
-
import { XyoWalletBase } from '@xyo-network/
|
|
2
|
+
import { XyoWalletBase } from '@xyo-network/wallet'
|
|
3
3
|
|
|
4
4
|
import { WalletProvider } from '../../contexts'
|
|
5
5
|
import { WalletAccountSelect } from './Select'
|