This commit is contained in:
parent
2126a142f4
commit
c148314742
17 changed files with 541 additions and 70 deletions
|
|
@ -9,6 +9,13 @@ pub struct ConnectionConfig {
|
|||
pub(crate) description: Option<String>,
|
||||
}
|
||||
|
||||
/// Newer API name for the browser connection configuration.
|
||||
///
|
||||
/// `ConnectionConfig` remains the concrete wasm-bindgen class for backwards
|
||||
/// compatibility with the existing raw JavaScript bindings. The alias keeps
|
||||
/// Rust consumers aligned with the native/WASM naming used by the public API.
|
||||
pub type WasmClientConfig = ConnectionConfig;
|
||||
|
||||
#[wasm_bindgen]
|
||||
impl ConnectionConfig {
|
||||
#[wasm_bindgen(constructor)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue