1pub mod derive;
13pub mod didcomm;
14pub mod error;
15pub mod examples;
16pub mod message;
17pub mod utils;
18
19pub use didcomm::{
21 Attachment, AttachmentData, Base64AttachmentData, JsonAttachmentData, LinksAttachmentData,
22 OutOfBand, PlainMessage,
23};
24pub use error::{Error, Result};
25pub use message::{
26 create_tap_message, AddAgents, Authorize, DocumentReference, ErrorBody, Invoice, LineItem,
27 OrderReference, Participant, Payment, Presentation, Reject, Settle, TapMessageBody,
28 TaxCategory, TaxSubtotal, TaxTotal, Transfer,
29};
30
31#[cfg(target_arch = "wasm32")]
33pub mod wasm {
34 use wasm_bindgen::prelude::*;
37
38 #[wasm_bindgen(js_name = init_tap_msg)]
40 pub fn init() {
41 #[cfg(feature = "console_error_panic_hook")]
42 console_error_panic_hook::set_once();
43 }
44}
45
46#[cfg(test)]
48mod tests {
49 }