@ocap/indexdb-elasticsearch 1.18.166 → 1.19.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,7 @@ class Asset extends ESIndex {
19
19
  return super.batchInsert(rows.map((row) => Asset.formatRowBeforeInsert(row)));
20
20
  }
21
21
 
22
+ // eslint-disable-next-line require-await
22
23
  async _insert(row) {
23
24
  return super._insert(Asset.formatRowBeforeInsert(row));
24
25
  }
@@ -21,6 +21,7 @@ class Factory extends ESIndex {
21
21
  return super.batchInsert(rows.map((row) => Factory.formatBeforeUpdate(row, this.tokenLength)));
22
22
  }
23
23
 
24
+ // eslint-disable-next-line require-await
24
25
  async _insert(row) {
25
26
  return super._insert(Factory.formatBeforeUpdate(row, this.tokenLength));
26
27
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocap/indexdb-elasticsearch",
3
3
  "description": "OCAP indexdb adapter that uses elasticsearch as backend",
4
- "version": "1.18.166",
4
+ "version": "1.19.1",
5
5
  "author": "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/ArcBlock/blockchain/issues",
@@ -35,15 +35,14 @@
35
35
  "scripts": {
36
36
  "lint": "eslint tests lib",
37
37
  "lint:fix": "eslint --fix tests lib",
38
- "test": "jest --forceExit --detectOpenHandles",
39
- "coverage": "npm run test -- --coverage"
38
+ "test": "jest --forceExit --detectOpenHandles"
40
39
  },
41
- "gitHead": "58c8356b3b8c238728560e4c3fef6ed1704d3ac4",
40
+ "gitHead": "21184488172c6c824ebd1714f728ff2aee4a3ac0",
42
41
  "dependencies": {
43
- "@arcblock/did": "1.18.166",
42
+ "@arcblock/did": "1.19.1",
44
43
  "@elastic/elasticsearch": "7.13.0",
45
- "@ocap/indexdb": "1.18.166",
46
- "@ocap/util": "1.18.166",
44
+ "@ocap/indexdb": "1.19.1",
45
+ "@ocap/util": "1.19.1",
47
46
  "axios": "^1.7.5",
48
47
  "bn.js": "^5.2.1",
49
48
  "debug": "^4.3.6",