From 5dc06a3dbbd50a9cc72ede6b4bbf6f778dfb3075 Mon Sep 17 00:00:00 2001 From: Nicolas Lepage <19571875+nlepage@users.noreply.github.com> Date: Thu, 6 Feb 2025 09:55:58 +0100 Subject: [PATCH] docs: updates documentation for registerWasmHTTPListener --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0f92940..fe00359 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,9 @@ URL string of the WebAssembly module, example: `"path/to/my-module.wasm"`. An optional object containing: - `base` (`string`): Base path of the server, relative to the ServiceWorker's scope. +- `cacheName` (`string`): Name of the [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) to store the WebAssembly binary. - `args` (`string[]`): Arguments for the WebAssembly module. +- `passthrough` (`(request: Request): boolean`): Optional callback to allow passing the request through to network. ## Contributors ✨