chia-agent 2.0.5 → 2.0.6

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.6]
4
+ ### Changed
5
+ - Updated [`keyring_status`](./src/api/ws/daemon/README.md#keyring_statusdaemon) of Daemon Websocket API
6
+ - Updated [`migrate_keyring`](./src/api/ws/daemon/README.md#migrate_keyringdaemon-params)
7
+ - Updated [`set_keyring_passphrase`](./src/api/ws/daemon/README.md#set_keyring_passphrasedaemon-params)
8
+
3
9
  ## [2.0.5]
4
10
  ### Changed
5
11
  - Updated [`keyring_status`](./src/api/ws/daemon/README.md#keyring_statusdaemon) of Daemon Websocket API
@@ -168,6 +174,7 @@ daemon.sendMessage(destination, get_block_record_by_height_command, data);
168
174
  Initial release.
169
175
 
170
176
  <!-- [Unreleased]: https://github.com/Chia-Mine/chia-agent/compare/v0.0.1...v0.0.2 -->
177
+ [2.0.6]: https://github.com/Chia-Mine/chia-agent/compare/v2.0.5...v2.0.6
171
178
  [2.0.5]: https://github.com/Chia-Mine/chia-agent/compare/v2.0.4...v2.0.5
172
179
  [2.0.4]: https://github.com/Chia-Mine/chia-agent/compare/v2.0.3...v2.0.4
173
180
  [2.0.3]: https://github.com/Chia-Mine/chia-agent/compare/v2.0.2...v2.0.3
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![npm version](https://badge.fury.io/js/chia-agent.svg)](https://badge.fury.io/js/chia-agent) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
7
 
8
8
  chia rpc/websocket client library for NodeJS.
9
- Supports all RPC/Websocket API available at `chia 1.2.8`.
9
+ Supports all RPC/Websocket API available at `chia 1.2.10`.
10
10
  \(If you need previous version, search for the corresponding release [here](https://github.com/Chia-Mine/chia-agent/releases)\)
11
11
 
12
12
  you can develop your own nodejs script with `chia-agent` to:
@@ -26,10 +26,10 @@ yarn add chia-agent
26
26
 
27
27
  ## Compatibility
28
28
  This code is compatible with:
29
- - [`6bbc9c388860cdb9547e53de16149d78531bb9eb`](https://github.com/Chia-Network/chia-blockchain/tree/6bbc9c388860cdb9547e53de16149d78531bb9eb) of [chia-blockchain@1.2.8](https://github.com/Chia-Network/chia-blockchain)
30
- - [Diff to the latest chia-blockchain](https://github.com/Chia-Network/chia-blockchain/compare/6bbc9c388860cdb9547e53de16149d78531bb9eb...main)
31
- - [`32907fb429fead42ce74e62ac1abf87759217c0d`](https://github.com/Chia-Network/pool-reference/tree/32907fb429fead42ce74e62ac1abf87759217c0d) of [pool-reference](https://github.com/Chia-Network/pool-reference)
32
- - [Diff to the latest pool-reference](https://github.com/Chia-Network/pool-reference/compare/32907fb429fead42ce74e62ac1abf87759217c0d...main)
29
+ - [`00382222d96fdafe429f6aa77682d91e3beffc3b`](https://github.com/Chia-Network/chia-blockchain/tree/00382222d96fdafe429f6aa77682d91e3beffc3b) of [chia-blockchain@1.2.10](https://github.com/Chia-Network/chia-blockchain)
30
+ - [Diff to the latest chia-blockchain](https://github.com/Chia-Network/chia-blockchain/compare/00382222d96fdafe429f6aa77682d91e3beffc3b...main)
31
+ - [`d6d1d0ea41b81e1c6b23688206c6ab3ba6418a95`](https://github.com/Chia-Network/pool-reference/tree/d6d1d0ea41b81e1c6b23688206c6ab3ba6418a95) of [pool-reference](https://github.com/Chia-Network/pool-reference)
32
+ - [Diff to the latest pool-reference](https://github.com/Chia-Network/pool-reference/compare/d6d1d0ea41b81e1c6b23688206c6ab3ba6418a95...main)
33
33
 
34
34
  ## API
35
35
  There are 2 kinds of APIs in chia.
@@ -203,6 +203,9 @@ export declare type TKeyringStatusResponse = {
203
203
  can_save_passphrase: bool;
204
204
  user_passphrase_is_set: bool;
205
205
  needs_migration: bool;
206
+ can_remove_legacy_keys: bool;
207
+ can_set_passphrase_hint: bool;
208
+ passphrase_hint: str;
206
209
  passphrase_requirements: {} | {
207
210
  is_optional: True;
208
211
  min_length: int;
@@ -232,7 +235,9 @@ export declare function validate_keyring_passphrase(daemon: TDaemon, data: TVali
232
235
  export declare const migrate_keyring_command = "migrate_keyring";
233
236
  export declare type migrate_keyring_command = typeof migrate_keyring_command;
234
237
  export declare type TMigrateKeyringRequest = {
235
- passphrase?: string;
238
+ passphrase?: str;
239
+ passphrase_hint?: str;
240
+ save_passphrase?: bool;
236
241
  cleanup_legacy_keyring?: bool;
237
242
  };
238
243
  export declare type TMigrateKeyringResponse = {
@@ -243,8 +248,10 @@ export declare function migrate_keyring(daemon: TDaemon, data: TMigrateKeyringRe
243
248
  export declare const set_keyring_passphrase_command = "set_keyring_passphrase";
244
249
  export declare type set_keyring_passphrase_command = typeof set_keyring_passphrase_command;
245
250
  export declare type TSetKeyringPassphraseRequest = {
246
- current_passphrase: string;
247
- new_passphrase: string;
251
+ current_passphrase: str;
252
+ new_passphrase: str;
253
+ passphrase_hint?: str;
254
+ save_passphrase?: bool;
248
255
  };
249
256
  export declare type TSetKeyringPassphraseResponse = {
250
257
  success: bool;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chia-agent",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "author": "ChiaMineJP <admin@chiamine.jp>",
5
5
  "description": "chia rpc/websocket client library",
6
6
  "license": "MIT",