File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
bindings/nostr-sdk-js/src/client Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ impl JsClient {
195
195
/// Take an [`EventBuilder`], sign it by using the [`ClientSigner`] and broadcast to all relays.
196
196
///
197
197
/// Rise an error if the [`ClientSigner`] is not set.
198
- #[ wasm_bindgen( js_name = sendEvent ) ]
198
+ #[ wasm_bindgen( js_name = sendEventBuilder ) ]
199
199
pub async fn send_event_builder ( & self , builder : & JsEventBuilder ) -> Result < JsEventId > {
200
200
self . inner
201
201
. send_event_builder ( builder. deref ( ) . clone ( ) )
@@ -207,7 +207,7 @@ impl JsClient {
207
207
/// Take an [`EventBuilder`], sign it by using the [`ClientSigner`] and broadcast to specific relays.
208
208
///
209
209
/// Rise an error if the [`ClientSigner`] is not set.
210
- #[ wasm_bindgen( js_name = sendEventTo ) ]
210
+ #[ wasm_bindgen( js_name = sendEventBuilderTo ) ]
211
211
pub async fn send_event_builder_to (
212
212
& self ,
213
213
url : String ,
You can’t perform that action at this time.
0 commit comments