Interface for loading WASM modules required by the SDK.
The SDK needs two files:
wasm_exec.js
document_validator.wasm
Different environments load these differently:
Execute the Go WASM runtime JS wrapper. This must attach Go constructor to globalThis.
Go
Load and compile the WASM module.
Interface for loading WASM modules required by the SDK.
The SDK needs two files:
wasm_exec.js: Go's WASM runtime supportdocument_validator.wasm: The compiled validatorDifferent environments load these differently: