You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vec<MyType> is not supported as a parameter in wasm-bindgen (see rustwasm/wasm-bindgen#111), so we have to work around that by building an ephemeral struct:
For now we're using a custom type (VerifedCapsuleFragArray, declared as TS VerifiedCapsuleFrag[]) and a manual dynamic conversion to js_sys::Array and further to VerifedCapsuleFrag using wasm-bindgen-derive. When wasm-bindgen fixes the underlying issue, the internals can be updated too.
Vec<MyType>
is not supported as a parameter inwasm-bindgen
(see rustwasm/wasm-bindgen#111), so we have to work around that by building an ephemeral struct:That won't work very well when the threshold is not known statically.
The text was updated successfully, but these errors were encountered: