Skip to content

Commit

Permalink
SharedSecret wasm-binding now derives AsRef.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Aug 22, 2023
1 parent 2c1288b commit c3fe68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ferveo/src/bindings_wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ pub fn ferveo_encrypt(
}

#[wasm_bindgen]
#[derive(Clone, Debug, Serialize, Deserialize)]
#[derive(Clone, Debug, Serialize, Deserialize, derive_more::AsRef)]
pub struct SharedSecret(api::SharedSecret);

generate_common_methods!(SharedSecret);
Expand Down

0 comments on commit c3fe68a

Please sign in to comment.