Skip to content

Commit 7917d79

Browse files
committed
Merge branch 'release/0.1.5'
2 parents 0704255 + e4db8d8 commit 7917d79

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [0.1.5] - 2018-02-17
11+
12+
### Changed
13+
14+
* Fixes timeouts on PoW (attachToTangle) calls
15+
* Upgrades iota.lib.js
16+
1017
## [0.1.4] - 2018-02-16
1118

1219
### Added

dist/field.js

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ var Field = function (_Base) {
110110
this.proxy = hoxy.createServer({
111111
upstreamProxy: this.opts.IRIHostname + ':' + this.opts.IRIPort
112112
}).listen(this.opts.port);
113+
this.proxy._server.timeout = 0;
113114
this.proxy.intercept({
114115
phase: 'request',
115116
as: 'string'

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "field.cli",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "CarrIOTA Field Client",
55
"main": "dist/field.js",
66
"homepage": "https://semkodev.com",
@@ -35,7 +35,7 @@
3535
"commander": "^2.13.0",
3636
"hoxy": "^3.2.2",
3737
"ini": "^1.3.5",
38-
"iota.lib.js": "0.4.7",
38+
"iota.lib.js": "^0.4.7",
3939
"ip": "^1.1.5",
4040
"node-machine-id": "^1.1.10",
4141
"request": "^2.83.0"

src/field.js

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ class Field extends Base {
9898
upstreamProxy: `${this.opts.IRIHostname}:${this.opts.IRIPort}`
9999
})
100100
.listen(this.opts.port);
101+
this.proxy._server.timeout = 0;
101102
this.proxy.intercept(
102103
{
103104
phase: 'request',

yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -2094,7 +2094,7 @@ invert-kv@^1.0.0:
20942094
version "1.0.0"
20952095
resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6"
20962096

2097-
2097+
iota.lib.js@^0.4.7:
20982098
version "0.4.7"
20992099
resolved "https://registry.yarnpkg.com/iota.lib.js/-/iota.lib.js-0.4.7.tgz#c2af1a7886b8b0e239a4b54b5caa9dd239c2d7eb"
21002100
dependencies:

0 commit comments

Comments
 (0)