chia-agent 14.3.6-beta.1 → 14.3.7
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.
- package/CHANGELOG.md +5 -0
- package/daemon/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [14.3.7]
|
|
4
|
+
### Fixed
|
|
5
|
+
- Fixed an issue where `Daemon.sendMessage()` could send invalid message
|
|
6
|
+
|
|
3
7
|
## [14.3.6]
|
|
4
8
|
### Fixed
|
|
5
9
|
- Fixed logging issues where it crashes upon stringifying an object with circular references
|
|
@@ -1760,6 +1764,7 @@ daemon.sendMessage(destination, get_block_record_by_height_command, data);
|
|
|
1760
1764
|
Initial release.
|
|
1761
1765
|
|
|
1762
1766
|
<!-- [Unreleased]: https://github.com/Chia-Mine/chia-agent/compare/v0.0.1...v0.0.2 -->
|
|
1767
|
+
[14.3.7]: https://github.com/Chia-Mine/chia-agent/compare/v14.3.6...v14.3.7
|
|
1763
1768
|
[14.3.6]: https://github.com/Chia-Mine/chia-agent/compare/v14.3.5...v14.3.6
|
|
1764
1769
|
[14.3.5]: https://github.com/Chia-Mine/chia-agent/compare/v14.3.4...v14.3.5
|
|
1765
1770
|
[14.3.4]: https://github.com/Chia-Mine/chia-agent/compare/v14.3.3...v14.3.4
|
package/daemon/index.js
CHANGED
|
@@ -228,7 +228,7 @@ class Daemon {
|
|
|
228
228
|
timeout,
|
|
229
229
|
};
|
|
230
230
|
(0, logger_1.getLogger)().debug(() => `Sending Ws message. dest=${destination} command=${command} reqId=${reqId}`);
|
|
231
|
-
const messageStr =
|
|
231
|
+
const messageStr = JSON.stringify(message);
|
|
232
232
|
this._socket.send(messageStr, (err) => {
|
|
233
233
|
if (err) {
|
|
234
234
|
(0, logger_1.getLogger)().error(`Error while sending message: ${messageStr}`);
|