uniswap-v2-loader 5.0.22 → 5.0.24

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.
@@ -45,7 +45,7 @@ jobs:
45
45
  node --experimental-test-coverage --test \
46
46
  --test-reporter=spec --test-reporter-destination=stdout \
47
47
  --test-reporter=lcov --test-reporter-destination=lcov.info \
48
- test*.js
48
+ test/test*.js
49
49
 
50
50
  - name: Upload to Coveralls
51
51
  uses: coverallsapp/github-action@v2
package/README.md CHANGED
@@ -106,7 +106,8 @@ load({
106
106
  to: 100,
107
107
  progress: (i, total, pair) =>
108
108
  console.log(pair.token0, pair.token1)
109
- }).then(pairs => {
109
+ })
110
+ .then(pairs => {
110
111
  console.timeEnd('SushiSwap')
111
112
  console.log(pairs.length, 'pairs')
112
113
  })
package/package.json CHANGED
@@ -1,18 +1,20 @@
1
1
  {
2
2
  "name": "uniswap-v2-loader",
3
- "version": "5.0.22",
3
+ "version": "5.0.24",
4
4
  "description": "Uniswap v2 protocol loader",
5
5
  "keywords": [
6
+ "DEFI",
6
7
  "uniswap-v2",
7
8
  "protocol",
8
9
  "loader",
9
10
  "crypto",
10
11
  "ethereum",
11
- "defi",
12
12
  "sushiswap",
13
13
  "pancakeswap",
14
14
  "shibaswap",
15
- "dex",
15
+ "radioshack",
16
+ "ethervista",
17
+ "DEX",
16
18
  "exchange"
17
19
  ],
18
20
  "homepage": "https://github.com/calp-pro/uniswap-v2-loader#readme",
@@ -26,23 +28,23 @@
26
28
  "license": "MIT",
27
29
  "author": "Vladimir Spirin (spirin.vladimir@gmail.com)",
28
30
  "type": "commonjs",
29
- "main": "index.js",
30
- "module": "index.mjs",
31
+ "main": "src/index.js",
32
+ "module": "src/index.mjs",
31
33
  "exports": {
32
34
  ".": {
33
- "types": "./index.d.ts",
34
- "require": "./index.js",
35
- "import": "./index.mjs",
36
- "default": "./index.js"
35
+ "types": "./src/index.d.ts",
36
+ "require": "./src/index.js",
37
+ "import": "./src/index.mjs",
38
+ "default": "./src/index.js"
37
39
  }
38
40
  },
39
- "types": "index.d.ts",
41
+ "types": "src/index.d.ts",
40
42
  "scripts": {
41
- "test": "node --test test.js",
42
- "test-esm": "node --test test-esm.mjs"
43
+ "test": "node --test test/test.js",
44
+ "test-esm": "node --test test/test-esm.mjs"
43
45
  },
44
46
  "bin": {
45
- "uniswap-v2-loader": "bin/uniswap-v2-loader"
47
+ "uniswap-v2-loader": "src/uniswap-v2-loader"
46
48
  },
47
49
  "publishConfig": {
48
50
  "provenance": true
@@ -2,7 +2,7 @@ const path = require('path')
2
2
  const fs = require('fs')
3
3
  const os = require('os')
4
4
  const home = os.homedir()
5
- const pkg = require('./package.json')
5
+ const pkg = require('../package.json')
6
6
 
7
7
  module.exports = factory => path.join(
8
8
  ...(process.env.GITHUB_ACTIONS
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const { load } = require('../index')
2
+ const { load } = require('./index')
3
3
  const rl = require('readline')
4
4
 
5
5
  const options = [
package/logo-dark.svg DELETED
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2
- <polygon points="16,2 28,9 28,23 16,30 4,23 4,9" fill="none" stroke="#fff" stroke-width="3" transform="rotate(24 16 16)"/>
3
- </svg>
package/logo-light.svg DELETED
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2
- <polygon points="16,2 28,9 28,23 16,30 4,23 4,9" fill="none" stroke="#000" stroke-width="3" transform="rotate(24 16 16)"/>
3
- </svg>
File without changes
File without changes
File without changes
File without changes