Skip to content

Commit b1e0e64

Browse files
committed
Bump nostr upstream deps to 0.42.0
Signed-off-by: Yuki Kishimoto <[email protected]>
1 parent c6c4fba commit b1e0e64

File tree

4 files changed

+28
-27
lines changed

4 files changed

+28
-27
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
2626
-->
2727

28+
## Unreleased
29+
30+
* Bump nostr upstream deps to 0.42.0 (see the [Upstream CHANGELOG] for more details)
31+
2832
## v0.41.1 - 2025/04/15
2933

3034
### Fixes

Cargo.lock

Lines changed: 17 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ crate-type = ["cdylib"]
1010
[dependencies]
1111
console_error_panic_hook = "0.1"
1212
js-sys = "0.3"
13-
nostr-connect = "0.41.0"
14-
nostr-sdk = { version = "0.41.0", default-features = false, features = ["all-nips", "indexeddb"] }
15-
nwc = "0.41.0"
13+
nostr-connect = "0.42.0"
14+
nostr-sdk = { version = "0.42.0", default-features = false, features = ["all-nips", "indexeddb"] }
15+
nwc = "0.42.0"
1616
tracing = "0.1"
1717
tracing-subscriber = "0.3"
1818
# Pin wasm-bindgen to 0.2.95 for now, fo avoid to had to manually add constructors to records (structs with public fields)

src/protocol/event/kind.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ pub enum JsKindStandard {
139139
Reaction,
140140
/// Badge Award (NIP58)
141141
BadgeAward,
142+
/// Blossom Authorization
143+
BlossomAuth,
142144
/// Channel Creation (NIP28)
143145
ChannelCreation,
144146
/// Channel Metadata (NIP28)
@@ -443,6 +445,7 @@ fn convert(k: Kind) -> Option<JsKindStandard> {
443445
Kind::CashuWalletUnspentProof => Some(JsKindStandard::CashuWalletUnspentProof),
444446
Kind::CashuWalletSpendingHistory => Some(JsKindStandard::CashuWalletSpendingHistory),
445447
Kind::CodeSnippet => Some(JsKindStandard::CodeSnippet),
448+
Kind::BlossomAuth => Some(JsKindStandard::BlossomAuth),
446449
Kind::Custom(..) => None,
447450
}
448451
}
@@ -460,6 +463,7 @@ impl From<JsKindStandard> for Kind {
460463
JsKindStandard::Comment => Self::Comment,
461464
JsKindStandard::Reaction => Self::Reaction,
462465
JsKindStandard::BadgeAward => Self::BadgeAward,
466+
JsKindStandard::BlossomAuth => Self::BlossomAuth,
463467
JsKindStandard::ChannelCreation => Self::ChannelCreation,
464468
JsKindStandard::ChannelMetadata => Self::ChannelMetadata,
465469
JsKindStandard::ChannelMessage => Self::ChannelMessage,

0 commit comments

Comments
 (0)