keyhive_wasm 0.3.0

WebAssembly wrappers for keyhive_core
Documentation
1
2
3
4
5
6
7
8
use super::{change_id::JsChangeId, event_handler::JsEventHandler, signer::JsSigner};
use derive_more::{From, Into};
use keyhive_core::invocation::Invocation;
use wasm_bindgen::prelude::*;

#[derive(Clone, Debug, From, Into)]
#[wasm_bindgen(js_name = Invocation)]
pub struct JsInvocation(pub(crate) Invocation<JsSigner, JsChangeId, JsEventHandler>);