keyhive_wasm 0.3.0

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

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