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 bindings: Expose AccessKey de/serialization #294

Closed
Tracked by #295
matheus23 opened this issue Jun 29, 2023 · 0 comments · Fixed by #296
Closed
Tracked by #295

Wasm bindings: Expose AccessKey de/serialization #294

matheus23 opened this issue Jun 29, 2023 · 0 comments · Fixed by #296

Comments

@matheus23
Copy link
Member

Currently there's no way to deserialize an AccessKey with wnfs-wasm, and only a way to hand-serialize an AccessKey by deconstructing it into its parts.

Instead of exposing the AccessKey parts via getters, we should provide function to turn AccessKey into a Uint8Array (or Vec<u8>) and vice versa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant