diff --git a/crates/tauri-plugin-holochain/src/lib.rs b/crates/tauri-plugin-holochain/src/lib.rs index dffe0838..814ce3b9 100644 --- a/crates/tauri-plugin-holochain/src/lib.rs +++ b/crates/tauri-plugin-holochain/src/lib.rs @@ -25,7 +25,7 @@ pub use error::{Error, Result}; use hc_live_file::*; pub use holochain_runtime::*; -const ZOME_CALL_SIGNER_INITIALIZATION_SCRIPT: &'static str = include_str!("../zome-call-signer.js"); +pub const ZOME_CALL_SIGNER_INITIALIZATION_SCRIPT: &'static str = include_str!("../zome-call-signer.js"); /// Access to the holochain APIs. pub struct HolochainPlugin { @@ -176,7 +176,7 @@ impl HolochainPlugin { Ok(admin_ws) } - fn get_allowed_origins(&self, + pub fn get_allowed_origins(&self, app_id: &InstalledAppId, main_window: bool ) -> AllowedOrigins {