@reality.eth/reality-eth-lib 3.3.2 → 3.4.1

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.
@@ -452,9 +452,9 @@ exports.getAnswerString = function(question_json, answer) {
452
452
  case 'int':
453
453
  label = module.exports.bytes32ToString(answer, question_json);
454
454
  break;
455
- //case 'hash':
456
- // label = module.exports.bytes32ToString(answer, question_json);
457
- // break;
455
+ case 'hash':
456
+ label = module.exports.bytes32ToString(answer, question_json);
457
+ break;
458
458
  case 'bool':
459
459
  if (new BigNumber(answer).toNumber() === 1) {
460
460
  label = 'Yes';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reality.eth/reality-eth-lib",
3
- "version": "3.3.2",
3
+ "version": "3.4.1",
4
4
  "description": "Tools for handling questions in the reality.eth fact verification platform",
5
5
  "scripts": {
6
6
  "test": "env TZ='Asia/Kabul' mocha ./test"
@@ -16,7 +16,7 @@
16
16
  "author": "Edmund Edgar (https://reality.eth.link)",
17
17
  "license": "GPL-3.0",
18
18
  "dependencies": {
19
- "@reality.eth/contracts": "^3.0.80",
19
+ "@reality.eth/contracts": "^3.2.0",
20
20
  "bignumber.js": "^7.2.1",
21
21
  "bn.js": "^5.2.1",
22
22
  "ethereumjs-abi": "^0.6.5",
@@ -39,5 +39,5 @@
39
39
  "url": "https://github.com/RealityETH/monorepo/issues"
40
40
  },
41
41
  "homepage": "https://reality.eth.link",
42
- "gitHead": "4a690cfacbd1d55ccda7f5c26686853cc5c8cb0f"
42
+ "gitHead": "3657381c3ba9f62bb6d3f07e59e38f7cebf8ffdd"
43
43
  }