diff --git a/index.d.ts b/index.d.ts index 5199f608..c897a3fd 100644 --- a/index.d.ts +++ b/index.d.ts @@ -206,8 +206,8 @@ export interface HttpResponse { export interface HttpRequest { /** Returns the lowercased header value or empty string. */ getHeader(lowerCaseKey: RecognizedString) : string; - /** Returns the parsed parameter at index. Corresponds to route. Can also take the name of the parameter. */ - getParameter(index: number | RecognizedString) : string | undefined; + /** Returns the parsed parameter at index. Corresponds to route. */ + getParameter(index: number) : string; /** Returns the URL including initial /slash */ getUrl() : string; /** Returns the lowercased HTTP method, useful for "any" routes. */ diff --git a/source_commit b/source_commit index 723e1e3b..d089415f 100644 --- a/source_commit +++ b/source_commit @@ -1 +1 @@ -4af87d37edf978055e00071baa993f2b16c64cdc +6da4d74fc04bd5634ca4d6d0169fb30a38501b47 diff --git a/uws_linux_arm64_108.node b/uws_linux_arm64_108.node index 1a0df35e..5696dc6a 100644 Binary files a/uws_linux_arm64_108.node and b/uws_linux_arm64_108.node differ diff --git a/uws_linux_arm64_115.node b/uws_linux_arm64_115.node index 3e08153b..690b2f4f 100644 Binary files a/uws_linux_arm64_115.node and b/uws_linux_arm64_115.node differ diff --git a/uws_linux_arm64_120.node b/uws_linux_arm64_120.node index db610c2b..b065b62d 100644 Binary files a/uws_linux_arm64_120.node and b/uws_linux_arm64_120.node differ diff --git a/uws_linux_arm64_127.node b/uws_linux_arm64_127.node index 13b34669..53f16bea 100644 Binary files a/uws_linux_arm64_127.node and b/uws_linux_arm64_127.node differ