diff --git a/index.d.ts b/index.d.ts index 37721c30..498914be 100644 --- a/index.d.ts +++ b/index.d.ts @@ -216,8 +216,8 @@ export interface HttpRequest { getCaseSensitiveMethod() : string; /** Returns the raw querystring (the part of URL after ? sign) or empty string. */ getQuery() : string; - /** Returns a decoded query parameter value or empty string. */ - getQuery(key: string) : string; + /** Returns a decoded query parameter value or undefined. */ + getQuery(key: string) : string | undefined; /** Loops over all headers. */ forEach(cb: (key: string, value: string) => void) : void; /** Setting yield to true is to say that this route handler did not handle the route, causing the router to continue looking for a matching route handler, or fail. */ diff --git a/source_commit b/source_commit index 2e9bde74..e1461e75 100644 --- a/source_commit +++ b/source_commit @@ -1 +1 @@ -f2c021f369d37c28979d8380ea6d6221b52b2c08 +ecd89ce24ae98fd3936e3387ccd315615d1eee37 diff --git a/uws_linux_x64_108.node b/uws_linux_x64_108.node index 21e21245..85e27925 100644 Binary files a/uws_linux_x64_108.node and b/uws_linux_x64_108.node differ diff --git a/uws_linux_x64_115.node b/uws_linux_x64_115.node index e5a89eda..ceea40ee 100644 Binary files a/uws_linux_x64_115.node and b/uws_linux_x64_115.node differ diff --git a/uws_linux_x64_93.node b/uws_linux_x64_93.node index 08a2271f..6816eaec 100644 Binary files a/uws_linux_x64_93.node and b/uws_linux_x64_93.node differ