@ocap/tx-pipeline 1.18.113 → 1.18.114

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 @@ module.exports = function DecodeTx(context, next) {
19
19
  Object.defineProperty(context, 'txSize', { value: Buffer.byteLength(txBuffer), enumerable: true });
20
20
  Object.defineProperty(context, 'txHash', { value: toTxHash(txBuffer), enumerable: true });
21
21
  Object.defineProperty(context, 'txTime', { value: new Date().toISOString(), enumerable: true });
22
+ Object.defineProperty(context, 'txBaseGas', { value: true, enumerable: true, writable: true });
22
23
  } catch (err) {
23
24
  debug('failed to decode transaction', { txBase64: context.txBase64, error: err });
24
25
  return next(new Error('INVALID_TX', 'Can not decode base64 encoded transaction'));
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.18.113",
6
+ "version": "1.18.114",
7
7
  "description": "Pipeline runner and common pipelines to process transactions",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -29,16 +29,16 @@
29
29
  "elliptic": "6.5.3"
30
30
  },
31
31
  "dependencies": {
32
- "@arcblock/did": "1.18.113",
33
- "@arcblock/did-util": "1.18.113",
34
- "@ocap/mcrypto": "1.18.113",
35
- "@ocap/message": "1.18.113",
36
- "@ocap/state": "1.18.113",
37
- "@ocap/util": "1.18.113",
38
- "@ocap/wallet": "1.18.113",
32
+ "@arcblock/did": "1.18.114",
33
+ "@arcblock/did-util": "1.18.114",
34
+ "@ocap/mcrypto": "1.18.114",
35
+ "@ocap/message": "1.18.114",
36
+ "@ocap/state": "1.18.114",
37
+ "@ocap/util": "1.18.114",
38
+ "@ocap/wallet": "1.18.114",
39
39
  "debug": "^4.3.4",
40
40
  "empty-value": "^1.0.1",
41
41
  "lodash": "^4.17.21"
42
42
  },
43
- "gitHead": "658f9e820479ce9ee2280f524a4e471d58cde39f"
43
+ "gitHead": "e2f91c7848d50b6614c6e90ce3992a88ebc57f39"
44
44
  }