-
The Would it be possible to take |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Apologies for the very late response! |
Beta Was this translation helpful? Give feedback.
-
The question wasn't about |
Beta Was this translation helpful? Give feedback.
-
Ah, I see! So What exactly are you trying to achieve? |
Beta Was this translation helpful? Give feedback.
-
I'm not sure what you mean by "internal API". It seems to be exposed: We considered using it, but it requires cloning to turn the PublicKey::try_from(js_value_ref) With PublicKey::try_from_js_value(js_value_ref.to_owned()) Could the |
Beta Was this translation helpful? Give feedback.
-
It says right there at the top of the module:
Unless you know exactly what you are doing, don't use this API. What kind of type is |
Beta Was this translation helpful? Give feedback.
It says right there at the top of the module:
Unless you know exactly what you are doing, don't use this API.
Its meant for proc-macros and using
wasm-bindgen
descriptors to define how exports/imports are generated.What kind of type is
PublicKey
?I assume its an exported type?
You should probably take a look at
JsCast
.