diff --git a/book/src/user/wasm-port.md b/book/src/user/wasm-port.md index 157f453f9c..c4a801e594 100644 --- a/book/src/user/wasm-port.md +++ b/book/src/user/wasm-port.md @@ -28,7 +28,7 @@ While the specific inputs and their serialisations will depend on your circuit a This function takes as input the `final_word` that the user aimed for, and the words they attempted to use (in the form of `words_js`). It also takes as input the parameters for the circuit, which are serialized in `params_ser`. We will expand on this in the [Params](#params) section below. -Note that the function parameters are passed in `wasm_bindgen`-compatible formats: `String` and `JsValue`. The `JsValue` type is a type from the [`Serde`](https://serde.rs) library. You can find much more details about this type and how to use it in the documentation [here](https://rustwasm.github.io/wasm-bindgen/reference/arbitrary-data-with-serde.html#serializing-and-deserializing-arbitrary-data-into-and-from-jsvalue-with-serde). +Note that the function parameters are passed in `wasm_bindgen`-compatible formats: `String` and `JsValue`. The `JsValue` type is a type from the [`Serde`](https://serde.rs) library. You can find much more details about this type and how to use it in the documentation [here](https://wasm-bindgen.github.io/wasm-bindgen/reference/arbitrary-data-with-serde.html#serializing-and-deserializing-arbitrary-data-into-and-from-jsvalue-with-serde). The output is a `Vec` converted to a `JSValue` using Serde. This is later passed in as input to the the verifier function.