@ocap/resolver 1.14.0 → 1.14.4

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/index.js +0 -17
  2. 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.0",
6
+ "version": "1.14.4",
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.0",
26
- "@arcblock/did-util": "1.14.0",
27
- "@ocap/config": "1.14.0",
28
- "@ocap/indexdb": "1.14.0",
29
- "@ocap/mcrypto": "1.14.0",
30
- "@ocap/message": "1.14.0",
31
- "@ocap/state": "1.14.0",
32
- "@ocap/tx-protocols": "1.14.0",
33
- "@ocap/util": "1.14.0",
34
- "@ocap/validator": "1.14.0",
25
+ "@arcblock/did": "1.14.4",
26
+ "@arcblock/did-util": "1.14.4",
27
+ "@ocap/config": "1.14.4",
28
+ "@ocap/indexdb": "1.14.4",
29
+ "@ocap/mcrypto": "1.14.4",
30
+ "@ocap/message": "1.14.4",
31
+ "@ocap/state": "1.14.4",
32
+ "@ocap/tx-protocols": "1.14.4",
33
+ "@ocap/util": "1.14.4",
34
+ "@ocap/validator": "1.14.4",
35
35
  "debug": "^4.3.2",
36
36
  "lodash": "^4.17.21"
37
37
  },
38
- "gitHead": "b97f12d12f4764a7797c85954592f2ef50825245"
38
+ "gitHead": "33f7b1d72aa51e58a269b2681bd19e2119d1721e"
39
39
  }