@ocap/resolver 1.14.1 → 1.14.5
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/index.js +0 -17
- package/package.json +12 -12
package/lib/index.js
CHANGED
|
@@ -467,10 +467,6 @@ module.exports = class OCAPResolver {
|
|
|
467
467
|
});
|
|
468
468
|
}
|
|
469
469
|
|
|
470
|
-
getSwapState() {
|
|
471
|
-
return null;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
470
|
async getForgeStats() {
|
|
475
471
|
const [accountCount, assetCount, txCount] = await Promise.all([
|
|
476
472
|
this.indexdb.account.count(),
|
|
@@ -617,19 +613,6 @@ module.exports = class OCAPResolver {
|
|
|
617
613
|
return { blocks: [] };
|
|
618
614
|
}
|
|
619
615
|
|
|
620
|
-
getHealthStatus() {
|
|
621
|
-
// TODO: implement this
|
|
622
|
-
return null;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
listSwap() {
|
|
626
|
-
return { swap: [] };
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
getSwapStatistics() {
|
|
630
|
-
return null;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
616
|
validateTokenConfig() {
|
|
634
617
|
const { accounts, token } = this.config;
|
|
635
618
|
const sum = accounts.reduce((acc, x) => acc.add(toBN(x.balance)), toBN(0));
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.14.
|
|
6
|
+
"version": "1.14.5",
|
|
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": "^27.3.1"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@arcblock/did": "1.14.
|
|
26
|
-
"@arcblock/did-util": "1.14.
|
|
27
|
-
"@ocap/config": "1.14.
|
|
28
|
-
"@ocap/indexdb": "1.14.
|
|
29
|
-
"@ocap/mcrypto": "1.14.
|
|
30
|
-
"@ocap/message": "1.14.
|
|
31
|
-
"@ocap/state": "1.14.
|
|
32
|
-
"@ocap/tx-protocols": "1.14.
|
|
33
|
-
"@ocap/util": "1.14.
|
|
34
|
-
"@ocap/validator": "1.14.
|
|
25
|
+
"@arcblock/did": "1.14.5",
|
|
26
|
+
"@arcblock/did-util": "1.14.5",
|
|
27
|
+
"@ocap/config": "1.14.5",
|
|
28
|
+
"@ocap/indexdb": "1.14.5",
|
|
29
|
+
"@ocap/mcrypto": "1.14.5",
|
|
30
|
+
"@ocap/message": "1.14.5",
|
|
31
|
+
"@ocap/state": "1.14.5",
|
|
32
|
+
"@ocap/tx-protocols": "1.14.5",
|
|
33
|
+
"@ocap/util": "1.14.5",
|
|
34
|
+
"@ocap/validator": "1.14.5",
|
|
35
35
|
"debug": "^4.3.2",
|
|
36
36
|
"lodash": "^4.17.21"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "9a685c7182412efc208a5193c17b92ec299dccb2"
|
|
39
39
|
}
|