@ocap/resolver 1.18.143 → 1.18.144
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/lib/token-flow.js +2 -2
- package/package.json +12 -12
package/lib/token-flow.js
CHANGED
|
@@ -151,7 +151,7 @@ const verifyAccountRisk = async ({ accountAddress, tokenAddress }, resolver, ctx
|
|
|
151
151
|
if (checkedAccounts.has(address)) continue;
|
|
152
152
|
|
|
153
153
|
const transactions = await resolver._getAllResults('transactions', (paging) =>
|
|
154
|
-
resolver.listTransactions({ paging, accountFilter: { accounts: address } }, ctx)
|
|
154
|
+
resolver.listTransactions({ paging, accountFilter: { accounts: [address] } }, ctx)
|
|
155
155
|
);
|
|
156
156
|
const accountState = await resolver.getAccountState({ address }, ctx);
|
|
157
157
|
if (!accountState) {
|
|
@@ -274,7 +274,7 @@ const listTokenFlows = async (
|
|
|
274
274
|
|
|
275
275
|
const transactions = await resolver._getAllResults('transactions', (page) =>
|
|
276
276
|
resolver.listTransactions(
|
|
277
|
-
{ paging: page, accountFilter: { accounts: address }, tokenFilter: { tokens: tokenAddress } },
|
|
277
|
+
{ paging: page, accountFilter: { accounts: [address] }, tokenFilter: { tokens: [tokenAddress] } },
|
|
278
278
|
ctx
|
|
279
279
|
)
|
|
280
280
|
);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.18.
|
|
6
|
+
"version": "1.18.144",
|
|
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.
|
|
26
|
-
"@arcblock/did-util": "1.18.
|
|
27
|
-
"@arcblock/validator": "1.18.
|
|
28
|
-
"@ocap/config": "1.18.
|
|
29
|
-
"@ocap/indexdb": "1.18.
|
|
30
|
-
"@ocap/mcrypto": "1.18.
|
|
31
|
-
"@ocap/message": "1.18.
|
|
32
|
-
"@ocap/state": "1.18.
|
|
33
|
-
"@ocap/tx-protocols": "1.18.
|
|
34
|
-
"@ocap/util": "1.18.
|
|
25
|
+
"@arcblock/did": "1.18.144",
|
|
26
|
+
"@arcblock/did-util": "1.18.144",
|
|
27
|
+
"@arcblock/validator": "1.18.144",
|
|
28
|
+
"@ocap/config": "1.18.144",
|
|
29
|
+
"@ocap/indexdb": "1.18.144",
|
|
30
|
+
"@ocap/mcrypto": "1.18.144",
|
|
31
|
+
"@ocap/message": "1.18.144",
|
|
32
|
+
"@ocap/state": "1.18.144",
|
|
33
|
+
"@ocap/tx-protocols": "1.18.144",
|
|
34
|
+
"@ocap/util": "1.18.144",
|
|
35
35
|
"debug": "^4.3.6",
|
|
36
36
|
"lodash": "^4.17.21"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "541c65e8f06b20c6182d335a7f2ed6e09c1e289d"
|
|
39
39
|
}
|