This is an automated email from the ASF dual-hosted git repository.

glynnbird pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git


The following commit(s) were added to refs/heads/main by this push:
     new 066fdb0  add customer headers to typescript definition
066fdb0 is described below

commit 066fdb032f6a1c06bafc789bbc844f4b57c740eb
Author: Glynn Bird <[email protected]>
AuthorDate: Mon Oct 6 09:14:28 2025 +0100

    add customer headers to typescript definition
---
 lib/nano.d.ts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/nano.d.ts b/lib/nano.d.ts
index 60131ce..15fad97 100644
--- a/lib/nano.d.ts
+++ b/lib/nano.d.ts
@@ -105,7 +105,10 @@ declare namespace nano {
     /** Set to false to prevent parsing of url 
      * @see README: {@link https://www.npmjs.com/package/nano#configuration}
      */
-    parseUrl?: boolean;
+    headers?: object;
+    /** Custom request headers
+     * @see README: {@link https://www.npmjs.com/package/nano#configuration}
+     */
   }
 
   /** An error triggered by nano */

Reply via email to