Skip to content

Commit 7e82940

Browse files
authored
Make network node API URL public (#19)
* Make network node API URL public * Update changelog * Fix version numbers in CHANGELOG
1 parent f4a0646 commit 7e82940

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,18 @@ Possible header types:
99
- `Bug Fixes` for any bug fixes.
1010
- `Breaking Changes` for any backwards-incompatible changes.
1111

12-
## [Unreleased]
12+
## v0.1.0-beta.2 (2023-12-23)
13+
14+
### Bug Fixes
15+
- HTTP node public url made public to allow alternative URLs
16+
-
17+
## v0.1.0-beta.1 (2023-12-23)
1318

1419
### Features
1520
- Made RLP encoding components public and rewrite it with more conscious syntax.
16-
- Added network support for Transaction and Block retrieval.
21+
- Added network support for Transaction, Account and Block retrieval.
1722

18-
## v0.0.1-alpha.1 (2023-10-01)
23+
## v0.1.0-alpha.1 (2023-10-01)
1924

2025
- Initial Release on [crates.io] :tada:
2126

src/network.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ impl std::fmt::Display for ValidationError {
3535

3636
/// A simple HTTP REST client for a VeChain node.
3737
pub struct ThorNode {
38-
base_url: Url,
38+
/// API base url
39+
pub base_url: Url,
3940
/// Chain tag used for this network.
4041
pub chain_tag: u8,
4142
}

0 commit comments

Comments
 (0)