WASM module initialization status.
import type { WasmStatus } from "@aspect/crypto-wasm";const status: WasmStatus = { available: true, version: "0.0.3", operations: ["hash-sha256", "aes-gcm-encrypt"], memoryUsageBytes: 65536,}; Copy
import type { WasmStatus } from "@aspect/crypto-wasm";const status: WasmStatus = { available: true, version: "0.0.3", operations: ["hash-sha256", "aes-gcm-encrypt"], memoryUsageBytes: 65536,};
Whether WASM is available in the current runtime.
Semantic version of the loaded WASM module, or null if unavailable.
null
List of operations the WASM module can accelerate.
Current WASM linear memory usage in bytes.
WASM module initialization status.
Example