Skip to content

Commit bea60fe

Browse files
committed
update changelog for 0.3.3
1 parent 4c746fc commit bea60fe

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 0.3.3
22

3+
* Use Nip-04 as a default for Nostr communication
4+
* Add incoming bill validation
35
* Add block data validation
46
* Add bill action validation for incoming blocks
57
* Add signer verification for incoming blocks

crates/bcr-ebill-api/src/service/bill_service/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ pub enum Error {
6363
RecourseeNotInContacts,
6464

6565
/// errors that stem from bill validation errors
66-
#[error("bill validation error")]
66+
#[error("bill validation error {0}")]
6767
Validation(#[from] bcr_ebill_core::ValidationError),
6868
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
pub const SURREAL_DB_CON_INDXDB_DATA: &str = "indxdb://data";
2+
pub const API_VERSION: &str = "0.3.3";

crates/bcr-ebill-wasm/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![allow(clippy::arc_with_non_send_sync)]
22
use bcr_ebill_api::{Config as ApiConfig, get_db_context, init};
3-
use constants::SURREAL_DB_CON_INDXDB_DATA;
3+
use constants::{API_VERSION, SURREAL_DB_CON_INDXDB_DATA};
44
use context::{Context, get_ctx};
55
use futures::{StreamExt, future::ready};
66
use gloo_timers::future::{IntervalStream, TimeoutFuture};
@@ -69,6 +69,7 @@ pub async fn initialize_api(
6969
let db = get_db_context(&api_config).await?;
7070
let keys = db.identity_store.get_or_create_key_pair().await?;
7171

72+
info!("Initialized WASM API {}", API_VERSION);
7273
info!("Local node id: {:?}", keys.get_public_key());
7374
info!("Local npub: {:?}", keys.get_nostr_npub());
7475
info!("Local npub as hex: {:?}", keys.get_nostr_npub_as_hex());

0 commit comments

Comments
 (0)