@ocap/indexdb-elasticsearch 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.
@@ -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.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",
@@ -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": "e1a9e9e807ca049f67ffbb5ac556b014461cb7a1",
40
+ "gitHead": "1b6fac03988fb18507c8ef4c21de282762005f87",
42
41
  "dependencies": {
43
- "@arcblock/did": "1.18.165",
42
+ "@arcblock/did": "1.19.0",
44
43
  "@elastic/elasticsearch": "7.13.0",
45
- "@ocap/indexdb": "1.18.165",
46
- "@ocap/util": "1.18.165",
44
+ "@ocap/indexdb": "1.19.0",
45
+ "@ocap/util": "1.19.0",
47
46
  "axios": "^1.7.5",
48
47
  "bn.js": "^5.2.1",
49
48
  "debug": "^4.3.6",