@ocap/resolver 1.18.3 → 1.18.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 +2 -1
  2. package/package.json +12 -12
package/lib/index.js CHANGED
@@ -31,6 +31,7 @@ const {
31
31
  createIndexedRollup,
32
32
  createIndexedRollupBlock,
33
33
  isDefaultTokenChanged,
34
+ attachPaidTxGas,
34
35
  } = require('@ocap/indexdb/lib/util');
35
36
  const { formatTxType } = require('@ocap/util');
36
37
 
@@ -869,7 +870,7 @@ module.exports = class OCAPResolver {
869
870
  this.fixReceiptTokens(tx, ctx);
870
871
  this.fixTokenSymbols(tx, ctx);
871
872
 
872
- return tx;
873
+ return attachPaidTxGas(tx);
873
874
  }
874
875
 
875
876
  async formatTokenArray(tokens) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.18.3",
6
+ "version": "1.18.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.5.1"
23
23
  },
24
24
  "dependencies": {
25
- "@arcblock/did": "1.18.3",
26
- "@arcblock/did-util": "1.18.3",
27
- "@arcblock/validator": "1.18.3",
28
- "@ocap/config": "1.18.3",
29
- "@ocap/indexdb": "1.18.3",
30
- "@ocap/mcrypto": "1.18.3",
31
- "@ocap/message": "1.18.3",
32
- "@ocap/state": "1.18.3",
33
- "@ocap/tx-protocols": "1.18.3",
34
- "@ocap/util": "1.18.3",
25
+ "@arcblock/did": "1.18.4",
26
+ "@arcblock/did-util": "1.18.4",
27
+ "@arcblock/validator": "1.18.4",
28
+ "@ocap/config": "1.18.4",
29
+ "@ocap/indexdb": "1.18.4",
30
+ "@ocap/mcrypto": "1.18.4",
31
+ "@ocap/message": "1.18.4",
32
+ "@ocap/state": "1.18.4",
33
+ "@ocap/tx-protocols": "1.18.4",
34
+ "@ocap/util": "1.18.4",
35
35
  "debug": "^4.3.4",
36
36
  "lodash": "^4.17.21"
37
37
  },
38
- "gitHead": "31b77b9c7247a28dc16f23b2404f08581688ac9e"
38
+ "gitHead": "08c8557c30fc3f61988a23033e9751a945599171"
39
39
  }