Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wasm API to entropy-protocol uses camelCase function names #566

Merged
merged 3 commits into from
Dec 15, 2023

Conversation

ameba23
Copy link
Contributor

@ameba23 ameba23 commented Dec 15, 2023

Just a small fix i want to get in before publishing entropy-protocol - change function names to camelCase.

Copy link

vercel bot commented Dec 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
entropy-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 15, 2023 0:13am

@@ -62,7 +62,7 @@ extern "C" {
/// Details of a validator intended for use on JS
/// This differs from [crate::ValidatorInfo] only in that the fields must be private
#[derive(TryFromJsValue)]
#[wasm_bindgen]
#[wasm_bindgen(inspectable)]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just makes the type look more meaningful when displayed in JS - see https://rustwasm.github.io/docs/wasm-bindgen/reference/attributes/on-rust-exports/inspectable.html

@ameba23 ameba23 merged commit 71a6873 into master Dec 15, 2023
10 checks passed
@ameba23 ameba23 deleted the peg/entropy-protocol-fixes branch December 15, 2023 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants