@ocap/tx-pipeline 1.18.113 → 1.18.114
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/pipes/decode-tx.js +1 -0
- package/package.json +9 -9
package/lib/pipes/decode-tx.js
CHANGED
@@ -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.
|
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.
|
33
|
-
"@arcblock/did-util": "1.18.
|
34
|
-
"@ocap/mcrypto": "1.18.
|
35
|
-
"@ocap/message": "1.18.
|
36
|
-
"@ocap/state": "1.18.
|
37
|
-
"@ocap/util": "1.18.
|
38
|
-
"@ocap/wallet": "1.18.
|
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": "
|
43
|
+
"gitHead": "e2f91c7848d50b6614c6e90ce3992a88ebc57f39"
|
44
44
|
}
|