@xyo-network/react-wallet 2.66.1 → 2.66.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.
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/eth-address": "^2.13.9",
13
+ "@xylabs/eth-address": "^2.13.18",
14
14
  "@xylabs/react-button": "^3.0.21",
15
15
  "@xylabs/react-crypto": "^3.0.21",
16
16
  "@xylabs/react-flexbox": "^3.0.21",
@@ -20,14 +20,13 @@
20
20
  "@xylabs/react-quick-tip-button": "^3.0.21",
21
21
  "@xylabs/react-select": "^3.0.21",
22
22
  "@xylabs/react-shared": "^3.0.21",
23
- "@xyo-network/account": "^2.81.6",
24
- "@xyo-network/account-model": "^2.81.6",
25
- "@xyo-network/bip39": "^2.81.6",
26
- "@xyo-network/core": "^2.81.6",
27
- "@xyo-network/react-address-render": "~2.66.1",
28
- "@xyo-network/react-network": "~2.66.1",
29
- "@xyo-network/react-shared": "~2.66.1",
30
- "@xyo-network/wallet-model": "^2.81.6",
23
+ "@xyo-network/account": "^2.81.10",
24
+ "@xyo-network/account-model": "^2.81.10",
25
+ "@xyo-network/bip39": "^2.81.10",
26
+ "@xyo-network/react-address-render": "~2.66.2",
27
+ "@xyo-network/react-network": "~2.66.2",
28
+ "@xyo-network/react-shared": "~2.66.2",
29
+ "@xyo-network/wallet-model": "^2.81.10",
31
30
  "async-mutex": "^0.4.0"
32
31
  },
33
32
  "peerDependencies": {
@@ -40,10 +39,10 @@
40
39
  "description": "Common React library for all XYO projects that use React",
41
40
  "devDependencies": {
42
41
  "@storybook/react": "^7.5.3",
43
- "@xylabs/ts-scripts-yarn3": "^3.2.8",
44
- "@xylabs/tsconfig-react": "^3.2.8",
45
- "react-router-dom": "^6.19.0",
46
- "typescript": "^5.2.2"
42
+ "@xylabs/ts-scripts-yarn3": "^3.2.10",
43
+ "@xylabs/tsconfig-react": "^3.2.10",
44
+ "react-router-dom": "^6.20.0",
45
+ "typescript": "^5.3.2"
47
46
  },
48
47
  "docs": "dist/docs.json",
49
48
  "exports": {
@@ -95,6 +94,6 @@
95
94
  },
96
95
  "sideEffects": false,
97
96
  "types": "dist/browser/index.d.ts",
98
- "version": "2.66.1",
97
+ "version": "2.66.2",
99
98
  "type": "module"
100
99
  }
@@ -1,6 +1,5 @@
1
1
  import { usePromise } from '@xylabs/react-promise'
2
2
  import { HDWallet } from '@xyo-network/account'
3
- import { DataLike } from '@xyo-network/core'
4
3
  import { WalletInstance } from '@xyo-network/wallet-model'
5
4
  import { useState } from 'react'
6
5
 
@@ -10,7 +9,7 @@ export interface WalletHookParams {
10
9
  mnemonic?: string
11
10
  path?: string
12
11
  required?: boolean
13
- seed?: DataLike
12
+ seed?: Uint8Array | string
14
13
  wallet?: WalletInstance | null
15
14
  }
16
15