@ocap/resolver 1.18.149 → 1.18.150

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.
Files changed (2) hide show
  1. package/lib/token-flow.js +2 -2
  2. package/package.json +12 -12
package/lib/token-flow.js CHANGED
@@ -170,8 +170,8 @@ const verifyAccountRisk = async ({ accountAddress, tokenAddress }, resolver, ctx
170
170
  // Avoid circular query
171
171
  if (checkedAccounts.has(address)) continue;
172
172
  // skip trusted accounts
173
- if (await resolver.filter.isTrusted(accountAddress)) {
174
- checkedAccounts.set(accountAddress, {});
173
+ if (await resolver.filter.isTrusted(address)) {
174
+ checkedAccounts.set(address, {});
175
175
  continue;
176
176
  }
177
177
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.18.149",
6
+ "version": "1.18.150",
7
7
  "description": "GraphQL resolver built upon ocap statedb and GQL layer",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -22,18 +22,18 @@
22
22
  "jest": "^29.7.0"
23
23
  },
24
24
  "dependencies": {
25
- "@arcblock/did": "1.18.149",
26
- "@arcblock/did-util": "1.18.149",
27
- "@arcblock/validator": "1.18.149",
28
- "@ocap/config": "1.18.149",
29
- "@ocap/indexdb": "1.18.149",
30
- "@ocap/mcrypto": "1.18.149",
31
- "@ocap/message": "1.18.149",
32
- "@ocap/state": "1.18.149",
33
- "@ocap/tx-protocols": "1.18.149",
34
- "@ocap/util": "1.18.149",
25
+ "@arcblock/did": "1.18.150",
26
+ "@arcblock/did-util": "1.18.150",
27
+ "@arcblock/validator": "1.18.150",
28
+ "@ocap/config": "1.18.150",
29
+ "@ocap/indexdb": "1.18.150",
30
+ "@ocap/mcrypto": "1.18.150",
31
+ "@ocap/message": "1.18.150",
32
+ "@ocap/state": "1.18.150",
33
+ "@ocap/tx-protocols": "1.18.150",
34
+ "@ocap/util": "1.18.150",
35
35
  "debug": "^4.3.6",
36
36
  "lodash": "^4.17.21"
37
37
  },
38
- "gitHead": "8979a303ba489127e429df9ce09738995f716d71"
38
+ "gitHead": "700ffd83b7fbb781d68ef761aa9b1b004a961d9f"
39
39
  }