lib.rs 233 B

123456789101112
  1. use wasm_bindgen::prelude::*;
  2. pub mod error;
  3. pub mod nuts;
  4. mod types;
  5. pub use self::types::{JsAmount, JsBolt11Invoice, JsProofsStatus, JsSecret};
  6. #[wasm_bindgen(start)]
  7. pub fn start() {
  8. console_error_panic_hook::set_once();
  9. }