@calp-pro/honeypot-not 1.1.53 → 1.1.57

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.
@@ -57,3 +57,6 @@ jobs:
57
57
  echo "No changes"
58
58
  fi
59
59
 
60
+ - name: Publish to NPM
61
+ if: steps.commit.outputs.can_publish == 'true'
62
+ run: npm publish
package/good_p2tt.bin CHANGED
Binary file
package/good_pairs.bin CHANGED
Binary file
package/good_tokens.bin CHANGED
Binary file
package/honeypot-not.bin CHANGED
Binary file
package/honeypot.bin CHANGED
Binary file
package/is.js CHANGED
@@ -119,12 +119,12 @@ Promise.all(
119
119
  count.cache_hit += 0.5
120
120
  if (is_honey_t0 == false) {
121
121
  count.good++
122
- db.index([pair.pair, pair.token0, pair.token1])
122
+ db.index(pair.pair, pair.token0, pair.token1)
123
123
  } else {
124
124
  return check_request(pair.token0)
125
125
  .then(() => {
126
126
  count.good++
127
- db.index([pair.pair, pair.token0, pair.token1])
127
+ db.index(pair.pair, pair.token0, pair.token1)
128
128
  })
129
129
  .catch(() => {
130
130
  count.bad++
@@ -136,7 +136,7 @@ Promise.all(
136
136
  return check_request(pair.token1)
137
137
  .then(() => {
138
138
  count.good++
139
- db.index([pair.pair, pair.token0, pair.token1])
139
+ db.index(pair.pair, pair.token0, pair.token1)
140
140
  })
141
141
  .catch(() => {
142
142
  count.bad++
@@ -148,7 +148,7 @@ Promise.all(
148
148
  ])
149
149
  .then(() => {
150
150
  count.good++
151
- db.index([pair.pair, pair.token0, pair.token1])
151
+ db.index(pair.pair, pair.token0, pair.token1)
152
152
  })
153
153
  .catch(() => {
154
154
  count.bad++
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@calp-pro/honeypot-not",
3
- "version": "1.1.53",
3
+ "version": "1.1.57",
4
4
  "description": "Filter all protocols by honeypot.is check",
5
5
  "keywords": [
6
6
  "honeypot.is",
7
7
  "DEX"
8
8
  ],
9
- "homepage": "https://github.com/calp-pro/honeypot-is#readme",
9
+ "homepage": "https://github.com/calp-pro/honeypot-not#readme",
10
10
  "bugs": {
11
- "url": "https://github.com/calp-pro/honeypot-is/issues"
11
+ "url": "https://github.com/calp-pro/honeypot-not/issues"
12
12
  },
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "git+https://github.com/calp-pro/honeypot-is.git"
15
+ "url": "git+https://github.com/calp-pro/honeypot-not.git"
16
16
  },
17
17
  "license": "MIT",
18
18
  "author": "Vladimir Spirin (spirin.vladimir@gmail.com)",
@@ -23,7 +23,7 @@
23
23
  "test": "node --test test.js"
24
24
  },
25
25
  "dependencies": {
26
- "@calp-pro/dex-db": "2.1.*",
26
+ "@calp-pro/dex-db": "3.0.*",
27
27
  "defiswap-dump": "1.0.*",
28
28
  "ethervista-dump": "1.0.*",
29
29
  "pancakeswap-dump": "1.0.*",
@@ -33,6 +33,7 @@
33
33
  "uniswap-v2-dump": "3.0.*"
34
34
  },
35
35
  "publishConfig": {
36
- "access": "public"
36
+ "access": "public",
37
+ "provenance": true
37
38
  }
38
39
  }