chia-agent 16.1.0 → 16.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [16.1.1]
4
+ ### Fixed
5
+ - Fixed incorrect response type for [`get_auto_farming`](./src/api/rpc/full_node/README.md#get_auto_farmingagent)
6
+ - corrected from `{new_peak_height: uint64; success: bool}` to `{auto_farm_enabled: bool; success: bool}`
7
+
3
8
  ## [16.1.0]
4
9
  ### Added
5
10
  - [Farmer Protocol](./src/api/chia/protocols/farmer_protocol.ts)
@@ -1916,6 +1921,7 @@ daemon.sendMessage(destination, get_block_record_by_height_command, data);
1916
1921
  Initial release.
1917
1922
 
1918
1923
  <!-- [Unreleased]: https://github.com/Chia-Mine/chia-agent/compare/v0.0.1...v0.0.2 -->
1924
+ [16.1.1]: https://github.com/Chia-Mine/chia-agent/compare/v16.1.0...v16.1.1
1919
1925
  [16.1.0]: https://github.com/Chia-Mine/chia-agent/compare/v16.0.2...v16.1.0
1920
1926
  [16.0.2]: https://github.com/Chia-Mine/chia-agent/compare/v16.0.1...v16.0.2
1921
1927
  [16.0.1]: https://github.com/Chia-Mine/chia-agent/compare/v16.0.0...v16.0.1
@@ -388,7 +388,7 @@ export declare function set_auto_farming<T extends TRPCAgent | TDaemon>(agent: T
388
388
  export declare const get_auto_farming_command = "get_auto_farming";
389
389
  export type get_auto_farming_command = typeof get_auto_farming_command;
390
390
  export type TGetAutoFarmingResponse = {
391
- new_peak_height: uint64;
391
+ auto_farm_enabled: bool;
392
392
  success: bool;
393
393
  };
394
394
  export type WsGetAutoFarmingMessage = GetMessageType<chia_full_node_service, get_auto_farming_command, TGetAutoFarmingResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chia-agent",
3
- "version": "16.1.0",
3
+ "version": "16.1.1",
4
4
  "author": "ChiaMineJP <admin@chiamine.jp>",
5
5
  "description": "chia rpc/websocket client library",
6
6
  "license": "MIT",
@@ -34,5 +34,6 @@
34
34
  "@chiamine/json-bigint": "^1.0.3",
35
35
  "ws": "^8.18.2",
36
36
  "yaml": "^2.8.0"
37
- }
37
+ },
38
+ "packageManager": "pnpm@10.22.0+sha512.bf049efe995b28f527fd2b41ae0474ce29186f7edcb3bf545087bd61fbbebb2bf75362d1307fda09c2d288e1e499787ac12d4fcb617a974718a6051f2eee741c"
38
39
  }