chia-agent 16.1.0 → 16.1.2

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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [16.1.2]
4
+ ### Fixed
5
+ - Fixed `TGetCoinRecordsByPuzzleHashRequest` type definition
6
+ - Made `start_height`, `end_height`, and `include_spent_coins` optional parameters
7
+
8
+ ## [16.1.1]
9
+ ### Fixed
10
+ - Fixed incorrect response type for [`get_auto_farming`](./src/api/rpc/full_node/README.md#get_auto_farmingagent)
11
+ - corrected from `{new_peak_height: uint64; success: bool}` to `{auto_farm_enabled: bool; success: bool}`
12
+
3
13
  ## [16.1.0]
4
14
  ### Added
5
15
  - [Farmer Protocol](./src/api/chia/protocols/farmer_protocol.ts)
@@ -1916,6 +1926,7 @@ daemon.sendMessage(destination, get_block_record_by_height_command, data);
1916
1926
  Initial release.
1917
1927
 
1918
1928
  <!-- [Unreleased]: https://github.com/Chia-Mine/chia-agent/compare/v0.0.1...v0.0.2 -->
1929
+ [16.1.1]: https://github.com/Chia-Mine/chia-agent/compare/v16.1.0...v16.1.1
1919
1930
  [16.1.0]: https://github.com/Chia-Mine/chia-agent/compare/v16.0.2...v16.1.0
1920
1931
  [16.0.2]: https://github.com/Chia-Mine/chia-agent/compare/v16.0.1...v16.0.2
1921
1932
  [16.0.1]: https://github.com/Chia-Mine/chia-agent/compare/v16.0.0...v16.0.1
@@ -198,9 +198,9 @@ export declare const get_coin_records_by_puzzle_hash_command = "get_coin_records
198
198
  export type get_coin_records_by_puzzle_hash_command = typeof get_coin_records_by_puzzle_hash_command;
199
199
  export type TGetCoinRecordsByPuzzleHashRequest = {
200
200
  puzzle_hash: str;
201
- start_height: uint32;
202
- end_height: uint32;
203
- include_spent_coins: bool;
201
+ start_height?: uint32;
202
+ end_height?: uint32;
203
+ include_spent_coins?: bool;
204
204
  };
205
205
  export type TGetCoinRecordsByPuzzleHashResponse = {
206
206
  coin_records: CoinRecordBackwardCompatible[];
@@ -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.2",
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
  }