@xchainjs/xchain-avax 2.0.11 → 2.0.13
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/README.md +9 -3
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -6,13 +6,19 @@
|
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
|
-
```
|
|
9
|
+
```sh
|
|
10
10
|
yarn add @xchainjs/xchain-avax
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
or
|
|
14
14
|
|
|
15
|
+
```sh
|
|
16
|
+
npm install @xchainjs/xchain-avax
|
|
15
17
|
```
|
|
18
|
+
|
|
19
|
+
Following peer dependencies have to be installed into your project. These are not included in `@xchainjs/xchain-avax`.
|
|
20
|
+
|
|
21
|
+
```sh
|
|
16
22
|
yarn add @xchainjs/xchain-evm @xchainjs/xchain-client @xchainjs/xchain-crypto @xchainjs/xchain-util axios ethers
|
|
17
23
|
```
|
|
18
24
|
|
|
@@ -39,7 +45,7 @@ Etherscan API rate limits: https://snowtrace.io/apis
|
|
|
39
45
|
|
|
40
46
|
- This package uses `etherjs` library, by default it uses several providers. (`https://docs.ethers.io/v5/api-keys/`)
|
|
41
47
|
|
|
42
|
-
###
|
|
48
|
+
### Environment Variables
|
|
43
49
|
|
|
44
50
|
|
|
45
51
|
```sh
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-avax",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.13",
|
|
4
4
|
"description": "Avax EVM client for XChainJS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"XChain",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
|
|
30
30
|
"test": "jest --passWithNoTests",
|
|
31
31
|
"e2e": "jest --config jest.config.e2e.mjs",
|
|
32
|
-
"lint": "eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0"
|
|
32
|
+
"lint": "eslint --config ../../eslint.config.mjs \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@ledgerhq/hw-transport": "^6.31.6",
|
|
40
|
-
"@xchainjs/xchain-client": "2.0.
|
|
41
|
-
"@xchainjs/xchain-evm": "2.0.
|
|
42
|
-
"@xchainjs/xchain-evm-providers": "2.0.
|
|
43
|
-
"@xchainjs/xchain-util": "2.0.
|
|
44
|
-
"bignumber.js": "^9.
|
|
40
|
+
"@xchainjs/xchain-client": "2.0.9",
|
|
41
|
+
"@xchainjs/xchain-evm": "2.0.13",
|
|
42
|
+
"@xchainjs/xchain-evm-providers": "2.0.12",
|
|
43
|
+
"@xchainjs/xchain-util": "2.0.5",
|
|
44
|
+
"bignumber.js": "^9.1.2",
|
|
45
45
|
"ethers": "^6.14.3"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|