@ocap/statedb-fs 1.18.165 → 1.19.0

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.
@@ -1,6 +1,7 @@
1
1
  const FsTable = require('./base');
2
2
 
3
3
  class RollupTable extends FsTable {
4
+ // eslint-disable-next-line require-await
4
5
  async existByToken(token) {
5
6
  if (!token) {
6
7
  return false;
@@ -1,6 +1,7 @@
1
1
  const FsTable = require('./base');
2
2
 
3
3
  class TokenTable extends FsTable {
4
+ // eslint-disable-next-line require-await
4
5
  async existBySymbol(symbol) {
5
6
  if (!symbol) {
6
7
  throw new Error('param symbol is required');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocap/statedb-fs",
3
3
  "description": "OCAP statedb adapter that uses fs as backend",
4
- "version": "1.18.165",
4
+ "version": "1.19.0",
5
5
  "author": "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/ArcBlock/blockchain/issues",
@@ -37,11 +37,11 @@
37
37
  "test": "jest --forceExit --detectOpenHandles",
38
38
  "coverage": "npm run test -- --coverage & exit 0"
39
39
  },
40
- "gitHead": "e1a9e9e807ca049f67ffbb5ac556b014461cb7a1",
40
+ "gitHead": "1b6fac03988fb18507c8ef4c21de282762005f87",
41
41
  "dependencies": {
42
- "@ocap/state": "1.18.165",
43
- "@ocap/statedb": "1.18.165",
44
- "@ocap/util": "1.18.165",
42
+ "@ocap/state": "1.19.0",
43
+ "@ocap/statedb": "1.19.0",
44
+ "@ocap/util": "1.19.0",
45
45
  "debug": "^4.3.6",
46
46
  "lodash": "^4.17.21",
47
47
  "lokijs": "^1.5.12"