diff --git a/CHANGELOG.md b/CHANGELOG.md
index 95efcd3..ecc9d3d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## UNRELEASED
+
+Fixes only passing `authToken` in the `sql` HTTP request and not in the `neon` connection setup.
+
## 0.10.3 (2024-11-06)
Fixes `authToken` overriding in `sql` HTTP request.
diff --git a/dist/jsr/index.js b/dist/jsr/index.js
index e022292..f3c1a20 100644
--- a/dist/jsr/index.js
+++ b/dist/jsr/index.js
@@ -1,14 +1,14 @@
///
-var io=Object.create;var Te=Object.defineProperty;var so=Object.getOwnPropertyDescriptor;var oo=Object.getOwnPropertyNames;var ao=Object.getPrototypeOf,uo=Object.prototype.hasOwnProperty;var co=(r,e,t)=>e in r?Te(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):
-r[e]=t;var a=(r,e)=>Te(r,"name",{value:e,configurable:!0});var z=(r,e)=>()=>(r&&(e=r(r=0)),e);var I=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),se=(r,e)=>{for(var t in e)
-Te(r,t,{get:e[t],enumerable:!0})},Tn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e==
-"function")for(let i of oo(e))!uo.call(r,i)&&i!==t&&Te(r,i,{get:()=>e[i],enumerable:!(n=
-so(e,i))||n.enumerable});return r};var Ie=(r,e,t)=>(t=r!=null?io(ao(r)):{},Tn(e||!r||!r.__esModule?Te(t,"default",{
-value:r,enumerable:!0}):t,r)),O=r=>Tn(Te({},"__esModule",{value:!0}),r);var _=(r,e,t)=>co(r,typeof e!="symbol"?e+"":e,t);var Bn=I(st=>{"use strict";p();st.byteLength=lo;st.toByteArray=po;st.fromByteArray=
-go;var oe=[],re=[],ho=typeof Uint8Array<"u"?Uint8Array:Array,Rt="ABCDEFGHIJKLMNO\
+var io=Object.create;var Ce=Object.defineProperty;var so=Object.getOwnPropertyDescriptor;var oo=Object.getOwnPropertyNames;var ao=Object.getPrototypeOf,uo=Object.prototype.hasOwnProperty;var co=(r,e,t)=>e in r?Ce(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):
+r[e]=t;var a=(r,e)=>Ce(r,"name",{value:e,configurable:!0});var z=(r,e)=>()=>(r&&(e=r(r=0)),e);var I=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),se=(r,e)=>{for(var t in e)
+Ce(r,t,{get:e[t],enumerable:!0})},Tn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e==
+"function")for(let i of oo(e))!uo.call(r,i)&&i!==t&&Ce(r,i,{get:()=>e[i],enumerable:!(n=
+so(e,i))||n.enumerable});return r};var Te=(r,e,t)=>(t=r!=null?io(ao(r)):{},Tn(e||!r||!r.__esModule?Ce(t,"default",{
+value:r,enumerable:!0}):t,r)),O=r=>Tn(Ce({},"__esModule",{value:!0}),r);var _=(r,e,t)=>co(r,typeof e!="symbol"?e+"":e,t);var Bn=I(st=>{"use strict";p();st.byteLength=lo;st.toByteArray=po;st.fromByteArray=
+go;var ae=[],re=[],ho=typeof Uint8Array<"u"?Uint8Array:Array,Rt="ABCDEFGHIJKLMNO\
PQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ve=0,In=Rt.length;ve0)throw new Error("Invalid string. Length must be a multip\
le of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}a(Pn,
"getLens");function lo(r){var e=Pn(r),t=e[0],n=e[1];return(t+n)*3/4-n}a(lo,"byte\
@@ -18,12 +18,12 @@ var e,t=Pn(r),n=t[0],i=t[1],s=new ho(fo(r,n,i)),o=0,u=i>0?n-4:n,c;for(c=0;c>16&255,s[o++]=e>>8&255,s[o++]=e&255;return i===2&&(e=
re[r.charCodeAt(c)]<<2|re[r.charCodeAt(c+1)]>>4,s[o++]=e&255),i===1&&(e=re[r.charCodeAt(
c)]<<10|re[r.charCodeAt(c+1)]<<4|re[r.charCodeAt(c+2)]>>2,s[o++]=e>>8&255,s[o++]=
-e&255),s}a(po,"toByteArray");function yo(r){return oe[r>>18&63]+oe[r>>12&63]+oe[r>>
-6&63]+oe[r&63]}a(yo,"tripletToBase64");function mo(r,e,t){for(var n,i=[],s=e;s>18&63]+ae[r>>12&63]+ae[r>>
+6&63]+ae[r&63]}a(yo,"tripletToBase64");function mo(r,e,t){for(var n,i=[],s=e;su?u:o+s));return n===1?(e=r[t-1],i.push(oe[e>>2]+
-oe[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(oe[e>>10]+oe[e>>4&63]+oe[e<<
+u=t-n;ou?u:o+s));return n===1?(e=r[t-1],i.push(ae[e>>2]+
+ae[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(ae[e>>10]+ae[e>>4&63]+ae[e<<
2&63]+"=")),i.join("")}a(go,"fromByteArray")});var Ln=I(Ft=>{p();Ft.read=function(r,e,t,n,i){var s,o,u=i*8-n-1,c=(1<>
1,l=-7,d=t?i-1:0,b=t?-1:1,C=r[e+d];for(d+=b,s=C&(1<<-l)-1,C>>=-l,l+=u;l>0;s=s*256+
r[e+d],d+=b,l-=8);for(o=s&(1<<-l)-1,s>>=-l,l+=n;l>0;o=o*256+r[e+d],d+=b,l-=8);if(s===
@@ -34,9 +34,9 @@ e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,o=l):(o=Mat
floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+d>=1?e+=b/c:e+=
b*Math.pow(2,1-d),e*c>=2&&(o++,c/=2),o+d>=l?(u=0,o=l):o+d>=1?(u=(e*c-1)*Math.pow(
2,i),o=o+d):(u=e*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;r[t+C]=u&255,C+=B,u/=256,
-i-=8);for(o=o<0;r[t+C]=o&255,C+=B,o/=256,h-=8);r[t+C-B]|=Q*128}});var Kn=I(Re=>{"use strict";p();var Mt=Bn(),Be=Ln(),Rn=typeof Symbol=="function"&&
-typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Re.Buffer=
-f;Re.SlowBuffer=xo;Re.INSPECT_MAX_BYTES=50;var ot=2147483647;Re.kMaxLength=ot;f.
+i-=8);for(o=o<0;r[t+C]=o&255,C+=B,o/=256,h-=8);r[t+C-B]|=Q*128}});var Kn=I(Le=>{"use strict";p();var Mt=Bn(),Pe=Ln(),Rn=typeof Symbol=="function"&&
+typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Le.Buffer=
+f;Le.SlowBuffer=xo;Le.INSPECT_MAX_BYTES=50;var ot=2147483647;Le.kMaxLength=ot;f.
TYPED_ARRAY_SUPPORT=wo();!f.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.
error=="function"&&console.error("This browser lacks typed array (Uint8Array) su\
pport which is required by `buffer` v5.x. Use `buffer` v4.x if you require old b\
@@ -53,8 +53,8 @@ rgument must be of type string. Received type number');return Ot(r)}return kn(r,
e,t)}a(f,"Buffer");f.poolSize=8192;function kn(r,e,t){if(typeof r=="string")return So(
r,e);if(ArrayBuffer.isView(r))return Eo(r);if(r==null)throw new TypeError("The f\
irst argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-l\
-ike Object. Received type "+typeof r);if(ae(r,ArrayBuffer)||r&&ae(r.buffer,ArrayBuffer)||
-typeof SharedArrayBuffer<"u"&&(ae(r,SharedArrayBuffer)||r&&ae(r.buffer,SharedArrayBuffer)))
+ike Object. Received type "+typeof r);if(ue(r,ArrayBuffer)||r&&ue(r.buffer,ArrayBuffer)||
+typeof SharedArrayBuffer<"u"&&(ue(r,SharedArrayBuffer)||r&&ue(r.buffer,SharedArrayBuffer)))
return kt(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument\
must not be of type number. Received type number');let n=r.valueOf&&r.valueOf();
if(n!=null&&n!==r)return f.from(n,e,t);let i=vo(r);if(i)return i;if(typeof Symbol<
@@ -73,7 +73,7 @@ function(r){return Ot(r)};function So(r,e){if((typeof e!="string"||e==="")&&(e="
utf8"),!f.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let t=On(r,e)|
0,n=le(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}a(So,"fromString");function Dt(r){
let e=r.length<0?0:Nt(r.length)|0,t=le(e);for(let n=0;n=
ot)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+
ot.toString(16)+" bytes");return r|0}a(Nt,"checked");function xo(r){return+r!=r&&
(r=0),f.alloc(+r)}a(xo,"SlowBuffer");f.isBuffer=a(function(e){return e!=null&&e.
-_isBuffer===!0&&e!==f.prototype},"isBuffer");f.compare=a(function(e,t){if(ae(e,Uint8Array)&&
-(e=f.from(e,e.offset,e.byteLength)),ae(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),
+_isBuffer===!0&&e!==f.prototype},"isBuffer");f.compare=a(function(e,t){if(ue(e,Uint8Array)&&
+(e=f.from(e,e.offset,e.byteLength)),ue(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),
!f.isBuffer(e)||!f.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments\
must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,i=t.
length;for(let s=0,o=Math.min(n,i);si.length?(f.isBuffer(
+for(n=0;ni.length?(f.isBuffer(
o)||(o=f.from(o)),o.copy(i,s)):Uint8Array.prototype.set.call(i,o,s);else if(f.isBuffer(
o))o.copy(i,s);else throw new TypeError('"list" argument must be an Array of Buf\
fers');s+=o.length}return i},"concat");function On(r,e){if(f.isBuffer(r))return r.
-length;if(ArrayBuffer.isView(r)||ae(r,ArrayBuffer))return r.byteLength;if(typeof r!=
+length;if(ArrayBuffer.isView(r)||ue(r,ArrayBuffer))return r.byteLength;if(typeof r!=
"string")throw new TypeError('The "string" argument must be one of type string, \
Buffer, or ArrayBuffer. Received type '+typeof r);let t=r.length,n=arguments.length>
2&&arguments[2]===!0;if(!n&&t===0)return 0;let i=!1;for(;;)switch(e){case"ascii":case"\
@@ -128,10 +128,10 @@ toString=a(function(){let e=this.length;return e===0?"":arguments.length===0?qn(
this,0,e):_o.apply(this,arguments)},"toString");f.prototype.toLocaleString=f.prototype.
toString;f.prototype.equals=a(function(e){if(!f.isBuffer(e))throw new TypeError(
"Argument must be a Buffer");return this===e?!0:f.compare(this,e)===0},"equals");
-f.prototype.inspect=a(function(){let e="",t=Re.INSPECT_MAX_BYTES;return e=this.toString(
+f.prototype.inspect=a(function(){let e="",t=Le.INSPECT_MAX_BYTES;return e=this.toString(
"hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),""},"inspect");Rn&&(f.prototype[Rn]=f.prototype.inspect);f.prototype.compare=
-a(function(e,t,n,i,s){if(ae(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.
+a(function(e,t,n,i,s){if(ue(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.
isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffe\
r or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?
e.length:0),i===void 0&&(i=0),s===void 0&&(s=this.length),t<0||n>e.length||i<0||
@@ -210,11 +210,11 @@ readUint32LE=f.prototype.readUInt32LE=a(function(e,t){return e=e>>>0,t||N(e,4,th
length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},"readUInt32LE");
f.prototype.readUint32BE=f.prototype.readUInt32BE=a(function(e,t){return e=e>>>0,
t||N(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},"\
-readUInt32BE");f.prototype.readBigUInt64LE=me(a(function(e){e=e>>>0,Le(e,"offset");
+readUInt32BE");f.prototype.readBigUInt64LE=me(a(function(e){e=e>>>0,Be(e,"offset");
let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,this.length-8);let i=t+
this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,s=this[++e]+this[++e]*2**8+this[++e]*
2**16+n*2**24;return BigInt(i)+(BigInt(s)<>>0,Le(e,"offset");let t=this[e],n=this[e+7];
+readBigUInt64BE=me(a(function(e){e=e>>>0,Be(e,"offset");let t=this[e],n=this[e+7];
(t===void 0||n===void 0)&&We(e,this.length-8);let i=t*2**24+this[++e]*2**16+this[++e]*
2**8+this[++e],s=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n;return(BigInt(
i)<>>0,t||N(e,2,this.length);let n=this[e]|this[e+1]<<8;return
length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},"readInt32LE");f.prototype.
readInt32BE=a(function(e,t){return e=e>>>0,t||N(e,4,this.length),this[e]<<24|this[e+
1]<<16|this[e+2]<<8|this[e+3]},"readInt32BE");f.prototype.readBigInt64LE=me(a(function(e){
-e=e>>>0,Le(e,"offset");let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,
+e=e>>>0,Be(e,"offset");let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,
this.length-8);let i=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(n<<24);return(BigInt(
i)<>>0,Le(e,"offset");
+igInt64LE"));f.prototype.readBigInt64BE=me(a(function(e){e=e>>>0,Be(e,"offset");
let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,this.length-8);let i=(t<<
24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(i)<>>0,t||N(e,4,this.length),Be.read(this,e,
+readFloatLE=a(function(e,t){return e=e>>>0,t||N(e,4,this.length),Pe.read(this,e,
!0,23,4)},"readFloatLE");f.prototype.readFloatBE=a(function(e,t){return e=e>>>0,
-t||N(e,4,this.length),Be.read(this,e,!1,23,4)},"readFloatBE");f.prototype.readDoubleLE=
-a(function(e,t){return e=e>>>0,t||N(e,8,this.length),Be.read(this,e,!0,52,8)},"r\
+t||N(e,4,this.length),Pe.read(this,e,!1,23,4)},"readFloatBE");f.prototype.readDoubleLE=
+a(function(e,t){return e=e>>>0,t||N(e,8,this.length),Pe.read(this,e,!0,52,8)},"r\
eadDoubleLE");f.prototype.readDoubleBE=a(function(e,t){return e=e>>>0,t||N(e,8,this.
-length),Be.read(this,e,!1,52,8)},"readDoubleBE");function Y(r,e,t,n,i,s){if(!f.isBuffer(
+length),Pe.read(this,e,!1,52,8)},"readDoubleBE");function Y(r,e,t,n,i,s){if(!f.isBuffer(
r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<
s)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError(
"Index out of range")}a(Y,"checkInt");f.prototype.writeUintLE=f.prototype.writeUIntLE=
@@ -294,11 +294,11 @@ writeBigInt64BE=me(a(function(e,t=0){return jn(this,e,t,-BigInt("0x8000000000000
000"),BigInt("0x7fffffffffffffff"))},"writeBigInt64BE"));function Wn(r,e,t,n,i,s){
if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError(
"Index out of range")}a(Wn,"checkIEEE754");function Hn(r,e,t,n,i){return e=+e,t=
-t>>>0,i||Wn(r,e,t,4,34028234663852886e22,-34028234663852886e22),Be.write(r,e,t,n,
+t>>>0,i||Wn(r,e,t,4,34028234663852886e22,-34028234663852886e22),Pe.write(r,e,t,n,
23,4),t+4}a(Hn,"writeFloat");f.prototype.writeFloatLE=a(function(e,t,n){return Hn(
this,e,t,!0,n)},"writeFloatLE");f.prototype.writeFloatBE=a(function(e,t,n){return Hn(
this,e,t,!1,n)},"writeFloatBE");function Gn(r,e,t,n,i){return e=+e,t=t>>>0,i||Wn(
-r,e,t,8,17976931348623157e292,-17976931348623157e292),Be.write(r,e,t,n,52,8),t+8}
+r,e,t,8,17976931348623157e292,-17976931348623157e292),Pe.write(r,e,t,n,52,8),t+8}
a(Gn,"writeDouble");f.prototype.writeDoubleLE=a(function(e,t,n){return Gn(this,e,
t,!0,n)},"writeDoubleLE");f.prototype.writeDoubleBE=a(function(e,t,n){return Gn(
this,e,t,!1,n)},"writeDoubleBE");f.prototype.copy=a(function(e,t,n,i){if(!f.isBuffer(
@@ -319,7 +319,7 @@ length>>0,
n=n===void 0?this.length:n>>>0,e||(e=0);let s;if(typeof e=="number")for(s=t;s2**32?i=Dn(String(t)):typeof t=="bigint"&&(i=String(t)
(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(i=Dn(i)),i+="n"),n+=` It\
must be ${e}. Received ${i}`,n},RangeError);function Dn(r){let e="",t=r.length,
n=r[0]==="-"?1:0;for(;t>=n+4;t-=3)e=`_${r.slice(t-3,t)}${e}`;return`${r.slice(0,
-t)}${e}`}a(Dn,"addNumericalSeparator");function ko(r,e,t){Le(e,"offset"),(r[e]===
+t)}${e}`}a(Dn,"addNumericalSeparator");function ko(r,e,t){Be(e,"offset"),(r[e]===
void 0||r[e+t]===void 0)&&We(e,r.length-(t+1))}a(ko,"checkBounds");function $n(r,e,t,n,i,s){
if(r>t||r3?e===0||e===BigInt(0)?u=
`>= 0${o} and < 2${o} ** ${(s+1)*8}${o}`:u=`>= -(2${o} ** ${(s+1)*8-1}${o}) and \
-< 2 ** ${(s+1)*8-1}${o}`:u=`>= ${e}${o} and <= ${t}${o}`,new Pe.ERR_OUT_OF_RANGE(
-"value",u,r)}ko(n,i,s)}a($n,"checkIntBI");function Le(r,e){if(typeof r!="number")
-throw new Pe.ERR_INVALID_ARG_TYPE(e,"number",r)}a(Le,"validateNumber");function We(r,e,t){
-throw Math.floor(r)!==r?(Le(r,t),new Pe.ERR_OUT_OF_RANGE(t||"offset","an integer",
-r)):e<0?new Pe.ERR_BUFFER_OUT_OF_BOUNDS:new Pe.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?
+< 2 ** ${(s+1)*8-1}${o}`:u=`>= ${e}${o} and <= ${t}${o}`,new Ie.ERR_OUT_OF_RANGE(
+"value",u,r)}ko(n,i,s)}a($n,"checkIntBI");function Be(r,e){if(typeof r!="number")
+throw new Ie.ERR_INVALID_ARG_TYPE(e,"number",r)}a(Be,"validateNumber");function We(r,e,t){
+throw Math.floor(r)!==r?(Be(r,t),new Ie.ERR_OUT_OF_RANGE(t||"offset","an integer",
+r)):e<0?new Ie.ERR_BUFFER_OUT_OF_BOUNDS:new Ie.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?
1:0} and <= ${e}`,r)}a(We,"boundsError");var Uo=/[^+/0-9A-Za-z-_]/g;function Oo(r){
if(r=r.split("=")[0],r=r.trim().replace(Uo,""),r.length<2)return"";for(;r.length%
4!==0;)r=r+"=";return r}a(Oo,"base64clean");function Ut(r,e){e=e||1/0;let t,n=r.
@@ -358,9 +358,9 @@ t)&255);return e}a(No,"asciiToBytes");function qo(r,e){let t,n,i,s=[];for(let o=
r.length&&!((e-=2)<0);++o)t=r.charCodeAt(o),n=t>>8,i=t%256,s.push(i),s.push(n);return s}
a(qo,"utf16leToBytes");function Vn(r){return Mt.toByteArray(Oo(r))}a(Vn,"base64T\
oBytes");function at(r,e,t,n){let i;for(i=0;i=e.length||i>=r.length);++i)
-e[i+t]=r[i];return i}a(at,"blitBuffer");function ae(r,e){return r instanceof e||
+e[i+t]=r[i];return i}a(at,"blitBuffer");function ue(r,e){return r instanceof e||
r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}
-a(ae,"isInstance");function Qt(r){return r!==r}a(Qt,"numberIsNaN");var Qo=function(){
+a(ue,"isInstance");function Qt(r){return r!==r}a(Qt,"numberIsNaN");var Qo=function(){
let r="0123456789abcdef",e=new Array(256);for(let t=0;t<16;++t){let n=t*16;for(let i=0;i<
16;++i)e[n+i]=r[t]+r[i]}return e}();function me(r){return typeof BigInt>"u"?jo:r}
a(me,"defineBigIntMethod");function jo(){throw new Error("BigInt not supported")}
@@ -369,9 +369,9 @@ r,0)),v=globalThis.clearImmediate??(r=>clearTimeout(r)),w=globalThis.crypto??{};
w.subtle??(w.subtle={});y=typeof globalThis.Buffer=="function"&&typeof globalThis.
Buffer.allocUnsafe=="function"?globalThis.Buffer:Kn().Buffer,m=globalThis.process??
{};m.env??(m.env={});try{m.nextTick(()=>{})}catch{let e=Promise.resolve();m.nextTick=
-e.then.bind(e)}});var ge=I((rh,jt)=>{"use strict";p();var Fe=typeof Reflect=="object"?Reflect:null,
-zn=Fe&&typeof Fe.apply=="function"?Fe.apply:a(function(e,t,n){return Function.prototype.
-apply.call(e,t,n)},"ReflectApply"),ut;Fe&&typeof Fe.ownKeys=="function"?ut=Fe.ownKeys:
+e.then.bind(e)}});var ge=I((rh,jt)=>{"use strict";p();var Re=typeof Reflect=="object"?Reflect:null,
+zn=Re&&typeof Re.apply=="function"?Re.apply:a(function(e,t,n){return Function.prototype.
+apply.call(e,t,n)},"ReflectApply"),ut;Re&&typeof Re.ownKeys=="function"?ut=Re.ownKeys:
Object.getOwnPropertySymbols?ut=a(function(e){return Object.getOwnPropertyNames(
e).concat(Object.getOwnPropertySymbols(e))},"ReflectOwnKeys"):ut=a(function(e){return Object.
getOwnPropertyNames(e)},"ReflectOwnKeys");function Wo(r){console&&console.warn&&
@@ -463,10 +463,10 @@ o=2600822924,u=528734635,c=1541459225,h=0,l=0,d=[1116352408,1899447441,304932347
"rrot"),C=new Uint32Array(64),B=new Uint8Array(64),Q=a(()=>{for(let R=0,$=0;R<16;R++,
$+=4)C[R]=B[$]<<24|B[$+1]<<16|B[$+2]<<8|B[$+3];for(let R=16;R<64;R++){let $=b(C[R-
15],7)^b(C[R-15],18)^C[R-15]>>>3,ce=b(C[R-2],17)^b(C[R-2],19)^C[R-2]>>>10;C[R]=C[R-
-16]+$+C[R-7]+ce|0}let A=e,g=t,P=n,K=i,k=s,j=o,ue=u,ee=c;for(let R=0;R<64;R++){let $=b(
-k,6)^b(k,11)^b(k,25),ce=k&j^~k&ue,ye=ee+$+ce+d[R]+C[R]|0,Se=b(A,2)^b(A,13)^b(A,22),
-Ae=A&g^A&P^g&P,he=Se+Ae|0;ee=ue,ue=j,j=k,k=K+ye|0,K=P,P=g,g=A,A=ye+he|0}e=e+A|0,
-t=t+g|0,n=n+P|0,i=i+K|0,s=s+k|0,o=o+j|0,u=u+ue|0,c=c+ee|0,l=0},"process"),X=a(A=>{
+16]+$+C[R-7]+ce|0}let A=e,g=t,P=n,K=i,k=s,j=o,ee=u,oe=c;for(let R=0;R<64;R++){let $=b(
+k,6)^b(k,11)^b(k,25),ce=k&j^~k&ee,ye=oe+$+ce+d[R]+C[R]|0,Se=b(A,2)^b(A,13)^b(A,22),
+je=A&g^A&P^g&P,he=Se+je|0;oe=ee,ee=j,j=k,k=K+ye|0,K=P,P=g,g=A,A=ye+he|0}e=e+A|0,
+t=t+g|0,n=n+P|0,i=i+K|0,s=s+k|0,o=o+j|0,u=u+ee|0,c=c+oe|0,l=0},"process"),X=a(A=>{
typeof A=="string"&&(A=new TextEncoder().encode(A));for(let g=0;g{if(B[l++]=128,l==64&&Q(),l+8>64){
for(;l<64;)B[l++]=0;Q()}for(;l<58;)B[l++]=0;let A=h*8;B[l++]=A/1099511627776&255,
@@ -600,15 +600,15 @@ e[3]||0,10)*60+parseInt(e[4]||0,10);return i*n*1e3}}a(oa,"timeZoneOffset");funct
return-(r-1)}a(ci,"bcYearToNegativeYear");function Kt(r){return r>=0&&r<100}a(Kt,
"is0To99")});var pi=I((Ah,fi)=>{p();fi.exports=ua;var aa=Object.prototype.hasOwnProperty;function ua(r){
for(var e=1;e{"use strict";p();var ca=pi();yi.exports=Me;function Me(r){if(!(this instanceof
-Me))return new Me(r);ca(this,Ea(r))}a(Me,"PostgresInterval");var ha=["seconds","\
-minutes","hours","days","months","years"];Me.prototype.toPostgres=function(){var r=ha.
+n)&&(r[n]=t[n])}return r}a(ua,"extend")});var mi=I((Ih,yi)=>{"use strict";p();var ca=pi();yi.exports=Fe;function Fe(r){if(!(this instanceof
+Fe))return new Fe(r);ca(this,Ea(r))}a(Fe,"PostgresInterval");var ha=["seconds","\
+minutes","hours","days","months","years"];Fe.prototype.toPostgres=function(){var r=ha.
filter(this.hasOwnProperty,this);return this.milliseconds&&r.indexOf("seconds")<
0&&r.push("seconds"),r.length===0?"0":r.map(function(e){var t=this[e]||0;return e===
"seconds"&&this.milliseconds&&(t=(t+this.milliseconds/1e3).toFixed(6).replace(/\.?0+$/,
"")),t+" "+e},this).join(" ")};var la={years:"Y",months:"M",days:"D",hours:"H",minutes:"\
-M",seconds:"S"},fa=["years","months","days"],pa=["hours","minutes","seconds"];Me.
-prototype.toISOString=Me.prototype.toISO=function(){var r=fa.map(t,this).join(""),
+M",seconds:"S"},fa=["years","months","days"],pa=["hours","minutes","seconds"];Fe.
+prototype.toISOString=Fe.prototype.toISO=function(){var r=fa.map(t,this).join(""),
e=pa.map(t,this).join("");return"P"+r+"T"+e;function t(n){var i=this[n]||0;return n===
"seconds"&&this.milliseconds&&(i=(i+this.milliseconds/1e3).toFixed(6).replace(/0+$/,
"")),i+la[n]}};var zt="([+-]?\\d+)",da=zt+"\\s+years?",ya=zt+"\\s+mons?",ma=zt+"\
@@ -706,10 +706,10 @@ Ze.binary[r]=e})});var et=I((Kh,tr)=>{"use strict";p();tr.exports={host:"localho
port:5432,rows:0,binary:!1,max:10,idleTimeoutMillis:3e4,client_encoding:"",ssl:!1,
application_name:void 0,fallback_application_name:void 0,options:void 0,parseInputDatesAsUTC:!1,
statement_timeout:!1,lock_timeout:!1,idle_in_transaction_session_timeout:!1,query_timeout:!1,
-connect_timeout:0,keepalives:1,keepalives_idle:0};var De=Xe(),Ga=De.getTypeParser(
-20,"text"),$a=De.getTypeParser(1016,"text");tr.exports.__defineSetter__("parseIn\
-t8",function(r){De.setTypeParser(20,"text",r?De.getTypeParser(23,"text"):Ga),De.
-setTypeParser(1016,"text",r?De.getTypeParser(1007,"text"):$a)})});var tt=I((Yh,Ui)=>{"use strict";p();var Va=(Ht(),O(Wt)),Ka=et();function za(r){var e=r.
+connect_timeout:0,keepalives:1,keepalives_idle:0};var Me=Xe(),Ga=Me.getTypeParser(
+20,"text"),$a=Me.getTypeParser(1016,"text");tr.exports.__defineSetter__("parseIn\
+t8",function(r){Me.setTypeParser(20,"text",r?Me.getTypeParser(23,"text"):Ga),Me.
+setTypeParser(1016,"text",r?Me.getTypeParser(1007,"text"):$a)})});var tt=I((Yh,Ui)=>{"use strict";p();var Va=(Ht(),O(Wt)),Ka=et();function za(r){var e=r.
replace(/\\/g,"\\\\").replace(/"/g,'\\"');return'"'+e+'"'}a(za,"escapeElement");
function ki(r){for(var e="{",t=0;t0&&(e=e+","),r[t]===null||typeof r[t]>
"u"?e=e+"NULL":Array.isArray(r[t])?e=e+ki(r[t]):r[t]instanceof y?e+="\\\\x"+r[t].
@@ -747,9 +747,9 @@ a(tu,"startSession");function ru(r,e,t){if(r.message!=="SASLInitialResponse")thr
r.clientNonce.length)throw new Error("SASL: SCRAM-SERVER-FIRST-MESSAGE: server n\
once is too short")}else throw new Error("SASL: SCRAM-SERVER-FIRST-MESSAGE: serv\
er nonce does not start with client nonce");var i=y.from(n.salt,"base64"),s=uu(e,
-i,n.iteration),o=ke(s,"Client Key"),u=au(o),c="n=*,r="+r.clientNonce,h="r="+n.nonce+
-",s="+n.salt+",i="+n.iteration,l="c=biws,r="+n.nonce,d=c+","+h+","+l,b=ke(u,d),C=qi(
-o,b),B=C.toString("base64"),Q=ke(s,"Server Key"),X=ke(Q,d);r.message="SASLRespon\
+i,n.iteration),o=De(s,"Client Key"),u=au(o),c="n=*,r="+r.clientNonce,h="r="+n.nonce+
+",s="+n.salt+",i="+n.iteration,l="c=biws,r="+n.nonce,d=c+","+h+","+l,b=De(u,d),C=qi(
+o,b),B=C.toString("base64"),Q=De(s,"Server Key"),X=De(Q,d);r.message="SASLRespon\
se",r.serverSignature=X.toString("base64"),r.response=l+",p="+B}a(ru,"continueSe\
ssion");function nu(r,e){if(r.message!=="SASLResponse")throw new Error("SASL: La\
st message was not SASLResponse");if(typeof e!="string")throw new Error("SASL: S\
@@ -779,9 +779,9 @@ a(ou,"parseServerFinalMessage");function qi(r,e){if(!y.isBuffer(r))throw new Typ
argument must be a Buffer");if(r.length!==e.length)throw new Error("Buffer leng\
ths must match");if(r.length===0)throw new Error("Buffers cannot be empty");return y.
from(r.map((t,n)=>r[n]^e[n]))}a(qi,"xorBuffers");function au(r){return nr.createHash(
-"sha256").update(r).digest()}a(au,"sha256");function ke(r,e){return nr.createHmac(
-"sha256",r).update(e).digest()}a(ke,"hmacSha256");function uu(r,e,t){for(var n=ke(
-r,y.concat([e,y.from([0,0,0,1])])),i=n,s=0;scu});function cu(...r){return r.join("/")}var sr=z(()=>{
"use strict";p();a(cu,"join")});var or={};se(or,{stat:()=>hu});function hu(r,e){e(new Error("No filesystem"))}var ar=z(
()=>{"use strict";p();a(hu,"stat")});var ur={};se(ur,{default:()=>lu});var lu,cr=z(()=>{"use strict";p();lu={}});var Wi={};se(Wi,{StringDecoder:()=>hr});var lr,hr,Hi=z(()=>{"use strict";p();lr=
@@ -805,8 +805,8 @@ let n=new fu(t);return n[we]="",n[dt]=new pu("utf8"),n.matcher=r,n.mapper=e,n.ma
t.maxLength,n.skipOverflow=t.skipOverflow||!1,n.overflow=!1,n._destroy=function(i,s){
this._writableState.errorEmitted=!1,s(i)},n}a(mu,"split");Vi.exports=mu});var Zi=I((fl,fe)=>{"use strict";p();var zi=(sr(),O(ir)),gu=(cr(),O(ur)).Stream,wu=Ki(),
Yi=(Ge(),O(He)),bu=5432,yt=m.platform==="win32",rt=m.stderr,Su=56,Eu=7,vu=61440,
-xu=32768;function _u(r){return(r&vu)==xu}a(_u,"isRegFile");var Ue=["host","port",
-"database","user","password"],fr=Ue.length,Au=Ue[fr-1];function pr(){var r=rt instanceof
+xu=32768;function _u(r){return(r&vu)==xu}a(_u,"isRegFile");var ke=["host","port",
+"database","user","password"],fr=ke.length,Au=ke[fr-1];function pr(){var r=rt instanceof
gu&&rt.writable===!0;if(r){var e=Array.prototype.slice.call(arguments).concat(`
`);rt.write(Yi.format.apply(Yi,e))}}a(pr,"warn");Object.defineProperty(fe.exports,
"isWin",{get:a(function(){return yt},"get"),set:a(function(r){yt=r},"set")});fe.
@@ -817,7 +817,7 @@ return Object.prototype.hasOwnProperty.call(m.env,"PGPASSWORD")?!1:yt?!0:(e=e||"
",_u(r.mode)?r.mode&(Su|Eu)?(pr('WARNING: password file "%s" has group or \
world access; permissions should be u=rw (0600) or less',e),!1):!0:(pr('WARNING:\
password file "%s" is not a plain file',e),!1))};var Cu=fe.exports.match=function(r,e){
-return Ue.slice(0,-1).reduce(function(t,n,i){return i==1&&Number(r[n]||bu)===Number(
+return ke.slice(0,-1).reduce(function(t,n,i){return i==1&&Number(r[n]||bu)===Number(
e[n])?t&&!0:t&&(e[n]==="*"||e[n]===r[n])},!0)};fe.exports.getPassword=function(r,e,t){
var n,i=e.pipe(wu());function s(c){var h=Tu(c);h&&Iu(h)&&Cu(r,h)&&(n=h[Au],i.end())}
a(s,"onLine");var o=a(function(){e.destroy(),t(n)},"onEnd"),u=a(function(c){e.destroy(),
@@ -825,13 +825,13 @@ pr("WARNING: error on reading file: %s",c),t(void 0)},"onErr");e.on("error",u),i
on("data",s).on("end",o).on("error",u)};var Tu=fe.exports.parseLine=function(r){
if(r.length<11||r.match(/^\s+#/))return null;for(var e="",t="",n=0,i=0,s=0,o={},
u=!1,c=a(function(l,d,b){var C=r.substring(d,b);Object.hasOwnProperty.call(m.env,
-"PGPASS_NO_DEESCAPE")||(C=C.replace(/\\([:\\])/g,"$1")),o[Ue[l]]=C},"addToObj"),
+"PGPASS_NO_DEESCAPE")||(C=C.replace(/\\([:\\])/g,"$1")),o[ke[l]]=C},"addToObj"),
h=0;h=0&&e==":"&&t!=="\\"&&(c(n,i,h+1),i=h+2,n+=1)}return o=Object.keys(o).length===
fr?o:null,o},Iu=fe.exports.isValidEntry=function(r){for(var e={0:function(o){return o.
length>0},1:function(o){return o==="*"?!0:(o=Number(o),isFinite(o)&&o>0&&o<9007199254740992&&
Math.floor(o)===o)},2:function(o){return o.length>0},3:function(o){return o.length>
-0},4:function(o){return o.length>0}},t=0;t0}},t=0;t{"use strict";p();var yl=(sr(),O(ir)),Ji=(ar(),O(or)),mt=Zi();
dr.exports=function(r,e){var t=mt.getFileName();Ji.stat(t,function(n,i){if(n||!mt.
usePgPass(i,t))return e(void 0);var s=Ji.createReadStream(t);mt.getPassword(r,s,
@@ -864,9 +864,9 @@ return t}a(wr,"parse");is.exports=wr;wr.parse=wr});var bt=I((Tl,us)=>{"use stric
function(r,e,t){return t===void 0?t=m.env["PG"+r.toUpperCase()]:t===!1||(t=m.env[t]),
e[r]||t||as[r]},"val"),Fu=a(function(){switch(m.env.PGSSLMODE){case"disable":return!1;case"\
prefer":case"require":case"verify-ca":case"verify-full":return!0;case"no-verify":
-return{rejectUnauthorized:!1}}return as.ssl},"readSSLConfigFromEnvironment"),Oe=a(
+return{rejectUnauthorized:!1}}return as.ssl},"readSSLConfigFromEnvironment"),Ue=a(
function(r){return"'"+(""+r).replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"},"quo\
-teParamValue"),ie=a(function(r,e,t){var n=e[t];n!=null&&r.push(t+"="+Oe(n))},"ad\
+teParamValue"),ie=a(function(r,e,t){var n=e[t];n!=null&&r.push(t+"="+Ue(n))},"ad\
d"),Sr=class Sr{constructor(e){e=typeof e=="string"?os(e):e||{},e.connectionString&&
(e=Object.assign({},e,os(e.connectionString))),this.user=V("user",e),this.database=
V("database",e),this.database===void 0&&(this.database=this.user),this.port=parseInt(
@@ -889,11 +889,11 @@ ie(t,this,"user"),ie(t,this,"password"),ie(t,this,"port"),ie(t,this,"application
_name"),ie(t,this,"fallback_application_name"),ie(t,this,"connect_timeout"),ie(t,
this,"options");var n=typeof this.ssl=="object"?this.ssl:this.ssl?{sslmode:this.
ssl}:{};if(ie(t,n,"sslmode"),ie(t,n,"sslca"),ie(t,n,"sslkey"),ie(t,n,"sslcert"),
-ie(t,n,"sslrootcert"),this.database&&t.push("dbname="+Oe(this.database)),this.replication&&
-t.push("replication="+Oe(this.replication)),this.host&&t.push("host="+Oe(this.host)),
+ie(t,n,"sslrootcert"),this.database&&t.push("dbname="+Ue(this.database)),this.replication&&
+t.push("replication="+Ue(this.replication)),this.host&&t.push("host="+Ue(this.host)),
this.isDomainSocket)return e(null,t.join(" "));this.client_encoding&&t.push("cli\
-ent_encoding="+Oe(this.client_encoding)),Ru.lookup(this.host,function(i,s){return i?
-e(i,null):(t.push("hostaddr="+Oe(s)),e(null,t.join(" ")))})}};a(Sr,"ConnectionPa\
+ent_encoding="+Ue(this.client_encoding)),Ru.lookup(this.host,function(i,s){return i?
+e(i,null):(t.push("hostaddr="+Ue(s)),e(null,t.join(" ")))})}};a(Sr,"ConnectionPa\
rameters");var br=Sr;us.exports=br});var ls=I((Bl,hs)=>{"use strict";p();var Mu=Xe(),cs=/^([A-Za-z]+)(?: (\d+))?(?: (\d+))?/,
vr=class vr{constructor(e,t){this.command=null,this.rowCount=null,this.oid=null,
this.rows=[],this.fields=[],this._parsers=void 0,this._types=t,this.RowCtor=null,
@@ -941,7 +941,7 @@ binary,valueMapper:ps.prepareValue})}catch(t){this.handleError(t,e);return}e.des
{type:"P",name:this.portal||""}),this._getRows(e,this.rows)}handleCopyInResponse(e){
e.sendCopyFail("No source stream defined")}handleCopyData(e,t){}};a(_r,"Query");
var xr=_r;ds.exports=xr});var ws={};se(ws,{Socket:()=>_e,isIP:()=>ku});function ku(r){return 0}var gs,ms,x,
-_e,St=z(()=>{"use strict";p();gs=Ie(ge(),1);a(ku,"isIP");ms=/^[^.]+\./,x=class x extends gs.EventEmitter{constructor(){
+_e,St=z(()=>{"use strict";p();gs=Te(ge(),1);a(ku,"isIP");ms=/^[^.]+\./,x=class x extends gs.EventEmitter{constructor(){
super(...arguments);_(this,"opts",{});_(this,"connecting",!1);_(this,"pending",!0);
_(this,"writable",!0);_(this,"encrypted",!1);_(this,"authorized",!1);_(this,"des\
troyed",!1);_(this,"ws",null);_(this,"writeBuffer");_(this,"tlsState",0);_(this,
@@ -1089,12 +1089,12 @@ r=>M.addCString(r).flush(81),"query"),Ss=[],Wu=a(r=>{let e=r.name||"";e.length>6
console.error("You supplied %s (%s)",e,e.length),console.error("This can cause c\
onflicts and silent errors executing queries"));let t=r.types||Ss;for(var n=t.length,
i=M.addCString(e).addCString(r.text).addInt16(n),s=0;s{let e=r.portal||"",t=r.statement||
+flush(80)},"parse"),Oe=new rn.Writer,Hu=a(function(r,e){for(let t=0;t{let e=r.portal||"",t=r.statement||
"",n=r.binary||!1,i=r.values||Ss,s=i.length;return M.addCString(e).addCString(t),
-M.addInt16(s),Hu(i,r.valueMapper),M.addInt16(s),M.add(Ne.flush()),M.addInt16(n?1:
+M.addInt16(s),Hu(i,r.valueMapper),M.addInt16(s),M.add(Oe.flush()),M.addInt16(n?1:
0),M.flush(66)},"bind"),$u=y.from([69,0,0,0,9,0,0,0,0,0]),Vu=a(r=>{if(!r||!r.portal&&
!r.rows)return $u;let e=r.portal||"",t=r.rows||0,n=y.byteLength(e),i=4+n+1+4,s=y.
allocUnsafe(1+i);return s[0]=69,s.writeInt32BE(i,1),s.write(e,5,"utf-8"),s[n+5]=
@@ -1341,7 +1341,7 @@ Ls;Rs.exports=Ct});var Us=I((ff,ks)=>{"use strict";p();var Ac=ge().EventEmitter,
NOOP"),Ds=a((r,e)=>{let t=r.findIndex(e);return t===-1?void 0:r.splice(t,1)[0]},
"removeWhere"),wn=class wn{constructor(e,t,n){this.client=e,this.idleListener=t,
this.timeoutId=n}};a(wn,"IdleItem");var mn=wn,bn=class bn{constructor(e){this.callback=
-e}};a(bn,"PendingItem");var qe=bn;function Cc(){throw new Error("Release called \
+e}};a(bn,"PendingItem");var Ne=bn;function Cc(){throw new Error("Release called \
on client which has already been released to the pool.")}a(Cc,"throwOnDoubleRele\
ase");function Tt(r,e){if(e)return{callback:e,result:void 0};let t,n,i=a(function(o,u){
o?t(o):n(u)},"cb"),s=new r(function(o,u){n=o,t=u}).catch(o=>{throw Error.captureStackTrace(
@@ -1373,11 +1373,11 @@ e),e.end(),this.emit("remove",e)}connect(e){if(this.ending){let i=new Error("Can
not use a pool after calling end on the pool");return e?e(i):this.Promise.reject(
i)}let t=Tt(this.Promise,e),n=t.result;if(this._isFull()||this._idle.length){if(this.
_idle.length&&m.nextTick(()=>this._pulseQueue()),!this.options.connectionTimeoutMillis)
-return this._pendingQueue.push(new qe(t.callback)),n;let i=a((u,c,h)=>{clearTimeout(
-o),t.callback(u,c,h)},"queueCallback"),s=new qe(i),o=setTimeout(()=>{Ds(this._pendingQueue,
+return this._pendingQueue.push(new Ne(t.callback)),n;let i=a((u,c,h)=>{clearTimeout(
+o),t.callback(u,c,h)},"queueCallback"),s=new Ne(i),o=setTimeout(()=>{Ds(this._pendingQueue,
u=>u.callback===i),s.timedOut=!0,t.callback(new Error("timeout exceeded when try\
ing to connect"))},this.options.connectionTimeoutMillis);return this._pendingQueue.
-push(s),n}return this.newClient(new qe(t.callback)),n}newClient(e){let t=new this.
+push(s),n}return this.newClient(new Ne(t.callback)),n}newClient(e){let t=new this.
Client(this.options);this._clients.push(t);let n=Tc(this,t);this.log("checking c\
lient timeout");let i,s=!1;this.options.connectionTimeoutMillis&&(i=setTimeout(()=>{
this.log("ending client due to timeout"),s=!0,t.connection?t.connection.stream.destroy():
@@ -1388,7 +1388,7 @@ ion terminated due to connection timeout"),this._pulseQueue(),e.timedOut||e.call
o,void 0,Ms);else{if(this.log("new client connected"),this.options.maxLifetimeSeconds!==
0){let u=setTimeout(()=>{this.log("ending client due to expired lifetime"),this.
_expired.add(t),this._idle.findIndex(h=>h.client===t)!==-1&&this._acquireClient(
-t,new qe((h,l,d)=>d()),n,!1)},this.options.maxLifetimeSeconds*1e3);u.unref(),t.once(
+t,new Ne((h,l,d)=>d()),n,!1)},this.options.maxLifetimeSeconds*1e3);u.unref(),t.once(
"end",()=>clearTimeout(u))}return this._acquireClient(t,e,n,!0)}})}_acquireClient(e,t,n,i){
i&&this.emit("connect",e),this.emit("acquire",e),e.release=this._releaseOnce(e,n),
e.removeListener("error",n),t.timedOut?i&&this.options.verify?this.options.verify(
@@ -1428,20 +1428,20 @@ pes":"^2.1.0",pgpass:"1.x"},devDependencies:{async:"2.6.4",bluebird:"3.5.2",co:"
"pg-native":{optional:!0}},scripts:{test:"make test-all"},files:["lib","SPONSORS\
.md"],license:"MIT",engines:{node:">= 8.0.0"},gitHead:"c99fb2c127ddf8d712500db2c\
7b9a5491a178655"}});var Ws=I((gf,js)=>{"use strict";p();var Qs=ge().EventEmitter,Bc=(Ge(),O(He)),En=tt(),
-Qe=js.exports=function(r,e,t){Qs.call(this),r=En.normalizeQueryConfig(r,e,t),this.
+qe=js.exports=function(r,e,t){Qs.call(this),r=En.normalizeQueryConfig(r,e,t),this.
text=r.text,this.values=r.values,this.name=r.name,this.callback=r.callback,this.
state="new",this._arrayMode=r.rowMode==="array",this._emitRowEvents=!1,this.on("\
newListener",function(n){n==="row"&&(this._emitRowEvents=!0)}.bind(this))};Bc.inherits(
-Qe,Qs);var Lc={sqlState:"code",statementPosition:"position",messagePrimary:"mess\
+qe,Qs);var Lc={sqlState:"code",statementPosition:"position",messagePrimary:"mess\
age",context:"where",schemaName:"schema",tableName:"table",columnName:"column",dataTypeName:"\
dataType",constraintName:"constraint",sourceFile:"file",sourceLine:"line",sourceFunction:"\
-routine"};Qe.prototype.handleError=function(r){var e=this.native.pq.resultErrorFields();
+routine"};qe.prototype.handleError=function(r){var e=this.native.pq.resultErrorFields();
if(e)for(var t in e){var n=Lc[t]||t;r[n]=e[t]}this.callback?this.callback(r):this.
-emit("error",r),this.state="error"};Qe.prototype.then=function(r,e){return this.
-_getPromise().then(r,e)};Qe.prototype.catch=function(r){return this._getPromise().
-catch(r)};Qe.prototype._getPromise=function(){return this._promise?this._promise:
+emit("error",r),this.state="error"};qe.prototype.then=function(r,e){return this.
+_getPromise().then(r,e)};qe.prototype.catch=function(r){return this._getPromise().
+catch(r)};qe.prototype._getPromise=function(){return this._promise?this._promise:
(this._promise=new Promise(function(r,e){this._once("end",r),this._once("error",
-e)}.bind(this)),this._promise)};Qe.prototype.submit=function(r){this.state="runn\
+e)}.bind(this)),this._promise)};qe.prototype.submit=function(r){this.state="runn\
ing";var e=this;this.native=r.native,r.native.arrayMode=this._arrayMode;var t=a(
function(s,o,u){if(r.native.arrayMode=!1,E(function(){e.emit("_done")}),s)return e.
handleError(s);e._emitRowEvents&&(u.length>1?o.forEach((c,h)=>{c.forEach(l=>{e.emit(
@@ -1511,7 +1511,7 @@ types=Xe(),this.DatabaseError=qc},"PG");typeof m.env.NODE_PG_FORCE_NATIVE<"u"?nt
exports=new xn(vn()):(nt.exports=new xn(kc),Object.defineProperty(nt.exports,"na\
tive",{configurable:!0,enumerable:!1,get(){var r=null;try{r=new xn(vn())}catch(e){
if(e.code!=="MODULE_NOT_FOUND")throw e}return Object.defineProperty(nt.exports,"\
-native",{value:r}),r}}))});p();var Bt=Ie(It());St();p();St();mr();var Zs=Ie(tt()),Js=Ie(wt());var Pt=class Pt extends Error{constructor(t){super(t);_(this,"name","NeonDbError");
+native",{value:r}),r}}))});p();var Bt=Te(It());St();p();St();mr();var Zs=Te(tt()),Js=Te(wt());var Pt=class Pt extends Error{constructor(t){super(t);_(this,"name","NeonDbError");
_(this,"severity");_(this,"code");_(this,"detail");_(this,"hint");_(this,"positi\
on");_(this,"internalPosition");_(this,"internalQuery");_(this,"where");_(this,"\
schema");_(this,"table");_(this,"column");_(this,"dataType");_(this,"constraint");
@@ -1535,40 +1535,40 @@ params:g};return u&&u(k),Wc(de,k,K)}a(X,"resolve"),X.transaction=async(A,g)=>{if
"function"&&(A=A(X)),!Array.isArray(A))throw new Error(zs);A.forEach(k=>{if(k[Symbol.
toStringTag]!=="NeonQueryPromise")throw new Error(zs)});let P=A.map(k=>k.parameterizedQuery),
K=A.map(k=>k.opts??{});return de(P,K,g)};async function de(A,g,P){let{fetchEndpoint:K,
-fetchFunction:k}=_e,j=typeof K=="function"?K(C,B,{jwtAuth:h!==void 0}):K,ue=Array.
-isArray(A)?{queries:A}:A,ee=n??{},R=e??!1,$=t??!1,ce=i,ye=s,Se=o;P!==void 0&&(P.
-fetchOptions!==void 0&&(ee={...ee,...P.fetchOptions}),P.arrayMode!==void 0&&(R=P.
-arrayMode),P.fullResults!==void 0&&($=P.fullResults),P.isolationLevel!==void 0&&
-(ce=P.isolationLevel),P.readOnly!==void 0&&(ye=P.readOnly),P.deferrable!==void 0&&
-(Se=P.deferrable)),g!==void 0&&!Array.isArray(g)&&g.fetchOptions!==void 0&&(ee={
-...ee,...g.fetchOptions});let Ae=h;!Array.isArray(g)&&g?.authToken!==void 0&&(Ae=
-g.authToken);let he={"Neon-Connection-String":r,"Neon-Raw-Text-Output":"true","N\
-eon-Array-Mode":"true"},it=await Hc(Ae);it&&(he.Authorization=`Bearer ${it}`),Array.
-isArray(A)&&(ce!==void 0&&(he["Neon-Batch-Isolation-Level"]=ce),ye!==void 0&&(he["\
-Neon-Batch-Read-Only"]=String(ye)),Se!==void 0&&(he["Neon-Batch-Deferrable"]=String(
-Se)));let te;try{te=await(k??fetch)(j,{method:"POST",body:JSON.stringify(ue),headers:he,
-...ee})}catch(W){let H=new pe(`Error connecting to database: ${W.message}`);throw H.
-sourceError=W,H}if(te.ok){let W=await te.json();if(Array.isArray(A)){let H=W.results;
-if(!Array.isArray(H))throw new pe("Neon internal error: unexpected result format");
-return H.map((Ce,Ee)=>{let Lt=g[Ee]??{},ro=Lt.arrayMode??R,no=Lt.fullResults??$;
-return Ys(Ce,{arrayMode:ro,fullResults:no,parameterizedQuery:A[Ee],resultCallback:c,
-types:Lt.types})})}else{let H=g??{},Ce=H.arrayMode??R,Ee=H.fullResults??$;return Ys(
-W,{arrayMode:Ce,fullResults:Ee,parameterizedQuery:A,resultCallback:c,types:H.types})}}else{
-let{status:W}=te;if(W===400){let H=await te.json(),Ce=new pe(H.message);for(let Ee of jc)
-Ce[Ee]=H[Ee]??void 0;throw Ce}else{let H=await te.text();throw new pe(`Server er\
-ror (HTTP status ${W}): ${H}`)}}}return a(de,"execute"),X}a(Xs,"neon");function Wc(r,e,t){
-return{[Symbol.toStringTag]:"NeonQueryPromise",parameterizedQuery:e,opts:t,then:a(
-(n,i)=>r(e,t).then(n,i),"then"),catch:a(n=>r(e,t).catch(n),"catch"),finally:a(n=>r(
-e,t).finally(n),"finally")}}a(Wc,"createNeonQueryPromise");function Ys(r,{arrayMode:e,
-fullResults:t,parameterizedQuery:n,resultCallback:i,types:s}){let o=new Js.default(
-s),u=r.fields.map(l=>l.name),c=r.fields.map(l=>o.getTypeParser(l.dataTypeID)),h=e===
-!0?r.rows.map(l=>l.map((d,b)=>d===null?null:c[b](d))):r.rows.map(l=>Object.fromEntries(
-l.map((d,b)=>[u[b],d===null?null:c[b](d)])));return i&&i(n,r,h,{arrayMode:e,fullResults:t}),
+fetchFunction:k}=_e,j=Array.isArray(A)?{queries:A}:A,ee=n??{},oe=e??!1,R=t??!1,$=i,
+ce=s,ye=o;P!==void 0&&(P.fetchOptions!==void 0&&(ee={...ee,...P.fetchOptions}),P.
+arrayMode!==void 0&&(oe=P.arrayMode),P.fullResults!==void 0&&(R=P.fullResults),P.
+isolationLevel!==void 0&&($=P.isolationLevel),P.readOnly!==void 0&&(ce=P.readOnly),
+P.deferrable!==void 0&&(ye=P.deferrable)),g!==void 0&&!Array.isArray(g)&&g.fetchOptions!==
+void 0&&(ee={...ee,...g.fetchOptions});let Se=h;!Array.isArray(g)&&g?.authToken!==
+void 0&&(Se=g.authToken);let je=typeof K=="function"?K(C,B,{jwtAuth:Se!==void 0}):
+K,he={"Neon-Connection-String":r,"Neon-Raw-Text-Output":"true","Neon-Array-Mode":"\
+true"},it=await Hc(Se);it&&(he.Authorization=`Bearer ${it}`),Array.isArray(A)&&($!==
+void 0&&(he["Neon-Batch-Isolation-Level"]=$),ce!==void 0&&(he["Neon-Batch-Read-O\
+nly"]=String(ce)),ye!==void 0&&(he["Neon-Batch-Deferrable"]=String(ye)));let te;
+try{te=await(k??fetch)(je,{method:"POST",body:JSON.stringify(j),headers:he,...ee})}catch(W){
+let H=new pe(`Error connecting to database: ${W.message}`);throw H.sourceError=W,
+H}if(te.ok){let W=await te.json();if(Array.isArray(A)){let H=W.results;if(!Array.
+isArray(H))throw new pe("Neon internal error: unexpected result format");return H.
+map((Ae,Ee)=>{let Lt=g[Ee]??{},ro=Lt.arrayMode??oe,no=Lt.fullResults??R;return Ys(
+Ae,{arrayMode:ro,fullResults:no,parameterizedQuery:A[Ee],resultCallback:c,types:Lt.
+types})})}else{let H=g??{},Ae=H.arrayMode??oe,Ee=H.fullResults??R;return Ys(W,{arrayMode:Ae,
+fullResults:Ee,parameterizedQuery:A,resultCallback:c,types:H.types})}}else{let{status:W}=te;
+if(W===400){let H=await te.json(),Ae=new pe(H.message);for(let Ee of jc)Ae[Ee]=H[Ee]??
+void 0;throw Ae}else{let H=await te.text();throw new pe(`Server error (HTTP stat\
+us ${W}): ${H}`)}}}return a(de,"execute"),X}a(Xs,"neon");function Wc(r,e,t){return{
+[Symbol.toStringTag]:"NeonQueryPromise",parameterizedQuery:e,opts:t,then:a((n,i)=>r(
+e,t).then(n,i),"then"),catch:a(n=>r(e,t).catch(n),"catch"),finally:a(n=>r(e,t).finally(
+n),"finally")}}a(Wc,"createNeonQueryPromise");function Ys(r,{arrayMode:e,fullResults:t,
+parameterizedQuery:n,resultCallback:i,types:s}){let o=new Js.default(s),u=r.fields.
+map(l=>l.name),c=r.fields.map(l=>o.getTypeParser(l.dataTypeID)),h=e===!0?r.rows.
+map(l=>l.map((d,b)=>d===null?null:c[b](d))):r.rows.map(l=>Object.fromEntries(l.map(
+(d,b)=>[u[b],d===null?null:c[b](d)])));return i&&i(n,r,h,{arrayMode:e,fullResults:t}),
t?(r.viaNeonFetch=!0,r.rowAsArray=e,r.rows=h,r._parsers=c,r._types=o,r):h}a(Ys,"\
processQueryResult");async function Hc(r){if(typeof r=="string")return r;if(typeof r==
"function")try{return await Promise.resolve(r())}catch(e){let t=new pe("Error ge\
tting auth token.");throw e instanceof Error&&(t=new pe(`Error getting auth toke\
-n: ${e.message}`)),t}}a(Hc,"getAuthToken");var to=Ie(bt()),je=Ie(It());var An=class An extends Bt.Client{constructor(t){super(t);this.config=t}get neonConfig(){
+n: ${e.message}`)),t}}a(Hc,"getAuthToken");var to=Te(bt()),Qe=Te(It());var An=class An extends Bt.Client{constructor(t){super(t);this.config=t}get neonConfig(){
return this.connection.stream}connect(t){let{neonConfig:n}=this;n.forceDisablePgSSL&&
(this.ssl=this.connection.ssl=!1),this.ssl&&n.useSecureWebSocket&&console.warn("\
SSL is enabled for both Postgres (e.g. ?sslmode=require in the connection string\
@@ -1606,15 +1606,15 @@ C=b.encode(i),B=await w.subtle.importKey("raw",C,{name:"HMAC",hash:{name:"SHA-25
"HMAC",B,Q)),X=y.from(X.map((te,W)=>X[W]^Q[W]));let A=X,g=await w.subtle.importKey(
"raw",A,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),P=new Uint8Array(await w.
subtle.sign("HMAC",g,b.encode("Client Key"))),K=await w.subtle.digest("SHA-256",
-P),k="n=*,r="+n.clientNonce,j="r="+u+",s="+c+",i="+l,ue="c=biws,r="+u,ee=k+","+j+
-","+ue,R=await w.subtle.importKey("raw",K,{name:"HMAC",hash:{name:"SHA-256"}},!1,
-["sign"]);var $=new Uint8Array(await w.subtle.sign("HMAC",R,b.encode(ee))),ce=y.
+P),k="n=*,r="+n.clientNonce,j="r="+u+",s="+c+",i="+l,ee="c=biws,r="+u,oe=k+","+j+
+","+ee,R=await w.subtle.importKey("raw",K,{name:"HMAC",hash:{name:"SHA-256"}},!1,
+["sign"]);var $=new Uint8Array(await w.subtle.sign("HMAC",R,b.encode(oe))),ce=y.
from(P.map((te,W)=>P[W]^$[W])),ye=ce.toString("base64");let Se=await w.subtle.importKey(
-"raw",A,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),Ae=await w.subtle.sign(
-"HMAC",Se,b.encode("Server Key")),he=await w.subtle.importKey("raw",Ae,{name:"HM\
+"raw",A,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),je=await w.subtle.sign(
+"HMAC",Se,b.encode("Server Key")),he=await w.subtle.importKey("raw",je,{name:"HM\
AC",hash:{name:"SHA-256"}},!1,["sign"]);var it=y.from(await w.subtle.sign("HMAC",
-he,b.encode(ee)));n.message="SASLResponse",n.serverSignature=it.toString("base64"),
-n.response=ue+",p="+ye,this.connection.sendSCRAMClientFinalMessage(this.saslSession.
+he,b.encode(oe)));n.message="SASLResponse",n.serverSignature=it.toString("base64"),
+n.response=ee+",p="+ye,this.connection.sendSCRAMClientFinalMessage(this.saslSession.
response)}};a(An,"NeonClient");var _n=An;function Gc(r,e){if(e)return{callback:e,
result:void 0};let t,n,i=a(function(o,u){o?t(o):n(u)},"cb"),s=new r(function(o,u){
n=o,t=u});return{callback:i,result:s}}a(Gc,"promisify");var Cn=class Cn extends Bt.Pool{constructor(){
@@ -1626,8 +1626,8 @@ i);i=s.callback;try{let o=new to.default(this.options),u=encodeURIComponent,c=en
h=`postgresql://${u(o.user)}:${u(o.password)}@${u(o.host)}/${c(o.database)}`,l=typeof t==
"string"?t:t.text,d=n??t.values??[];Xs(h,{fullResults:!0,arrayMode:t.rowMode==="\
array"})(l,d,{types:t.types??this.options?.types}).then(C=>i(void 0,C)).catch(C=>i(
-C))}catch(o){i(o)}return s.result}};a(Cn,"NeonPool");var eo=Cn;var export_ClientBase=je.ClientBase;var export_Connection=je.Connection;var export_DatabaseError=je.DatabaseError;
-var export_Query=je.Query;var export_defaults=je.defaults;var export_types=je.types;
+C))}catch(o){i(o)}return s.result}};a(Cn,"NeonPool");var eo=Cn;var export_ClientBase=Qe.ClientBase;var export_Connection=Qe.Connection;var export_DatabaseError=Qe.DatabaseError;
+var export_Query=Qe.Query;var export_defaults=Qe.defaults;var export_types=Qe.types;
export{_n as Client,export_ClientBase as ClientBase,export_Connection as Connection,
export_DatabaseError as DatabaseError,pe as NeonDbError,eo as Pool,export_Query as Query,
export_defaults as defaults,Xs as neon,_e as neonConfig,export_types as types};
diff --git a/dist/jsr/jsr.json b/dist/jsr/jsr.json
index fd226d0..6379cac 100644
--- a/dist/jsr/jsr.json
+++ b/dist/jsr/jsr.json
@@ -1,6 +1,6 @@
{
"name": "@neon/serverless",
- "version": "0.10.3",
+ "version": "0.10.4",
"exports": "./index.js",
"imports": {
"pg": "npm:@types/pg@8.11.6"
diff --git a/dist/npm/CHANGELOG.md b/dist/npm/CHANGELOG.md
index 95efcd3..ecc9d3d 100644
--- a/dist/npm/CHANGELOG.md
+++ b/dist/npm/CHANGELOG.md
@@ -1,3 +1,7 @@
+## UNRELEASED
+
+Fixes only passing `authToken` in the `sql` HTTP request and not in the `neon` connection setup.
+
## 0.10.3 (2024-11-06)
Fixes `authToken` overriding in `sql` HTTP request.
diff --git a/dist/npm/index.js b/dist/npm/index.js
index d0802f9..6c05729 100644
--- a/dist/npm/index.js
+++ b/dist/npm/index.js
@@ -1,12 +1,12 @@
-"use strict";var io=Object.create;var Ie=Object.defineProperty;var so=Object.getOwnPropertyDescriptor;var oo=Object.getOwnPropertyNames;var ao=Object.getPrototypeOf,uo=Object.prototype.hasOwnProperty;var co=(r,e,t)=>e in r?Ie(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):
-r[e]=t;var a=(r,e)=>Ie(r,"name",{value:e,configurable:!0});var z=(r,e)=>()=>(r&&(e=r(r=0)),e);var I=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),re=(r,e)=>{for(var t in e)
-Ie(r,t,{get:e[t],enumerable:!0})},Pn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e==
-"function")for(let i of oo(e))!uo.call(r,i)&&i!==t&&Ie(r,i,{get:()=>e[i],enumerable:!(n=
-so(e,i))||n.enumerable});return r};var Pe=(r,e,t)=>(t=r!=null?io(ao(r)):{},Pn(e||!r||!r.__esModule?Ie(t,"default",{
-value:r,enumerable:!0}):t,r)),O=r=>Pn(Ie({},"__esModule",{value:!0}),r);var _=(r,e,t)=>co(r,typeof e!="symbol"?e+"":e,t);var Rn=I(st=>{"use strict";p();st.byteLength=lo;st.toByteArray=po;st.fromByteArray=
-go;var ae=[],ne=[],ho=typeof Uint8Array<"u"?Uint8Array:Array,Ft="ABCDEFGHIJKLMNO\
+"use strict";var io=Object.create;var Te=Object.defineProperty;var so=Object.getOwnPropertyDescriptor;var oo=Object.getOwnPropertyNames;var ao=Object.getPrototypeOf,uo=Object.prototype.hasOwnProperty;var co=(r,e,t)=>e in r?Te(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):
+r[e]=t;var a=(r,e)=>Te(r,"name",{value:e,configurable:!0});var z=(r,e)=>()=>(r&&(e=r(r=0)),e);var I=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),re=(r,e)=>{for(var t in e)
+Te(r,t,{get:e[t],enumerable:!0})},Pn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e==
+"function")for(let i of oo(e))!uo.call(r,i)&&i!==t&&Te(r,i,{get:()=>e[i],enumerable:!(n=
+so(e,i))||n.enumerable});return r};var Ie=(r,e,t)=>(t=r!=null?io(ao(r)):{},Pn(e||!r||!r.__esModule?Te(t,"default",{
+value:r,enumerable:!0}):t,r)),O=r=>Pn(Te({},"__esModule",{value:!0}),r);var _=(r,e,t)=>co(r,typeof e!="symbol"?e+"":e,t);var Rn=I(st=>{"use strict";p();st.byteLength=lo;st.toByteArray=po;st.fromByteArray=
+go;var ue=[],ne=[],ho=typeof Uint8Array<"u"?Uint8Array:Array,Ft="ABCDEFGHIJKLMNO\
PQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_e=0,Bn=Ft.length;_e0)throw new Error("Invalid string. Length must be a multip\
le of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}a(Ln,
"getLens");function lo(r){var e=Ln(r),t=e[0],n=e[1];return(t+n)*3/4-n}a(lo,"byte\
@@ -16,12 +16,12 @@ var e,t=Ln(r),n=t[0],i=t[1],s=new ho(fo(r,n,i)),o=0,u=i>0?n-4:n,c;for(c=0;c>16&255,s[o++]=e>>8&255,s[o++]=e&255;return i===2&&(e=
ne[r.charCodeAt(c)]<<2|ne[r.charCodeAt(c+1)]>>4,s[o++]=e&255),i===1&&(e=ne[r.charCodeAt(
c)]<<10|ne[r.charCodeAt(c+1)]<<4|ne[r.charCodeAt(c+2)]>>2,s[o++]=e>>8&255,s[o++]=
-e&255),s}a(po,"toByteArray");function yo(r){return ae[r>>18&63]+ae[r>>12&63]+ae[r>>
-6&63]+ae[r&63]}a(yo,"tripletToBase64");function mo(r,e,t){for(var n,i=[],s=e;s>18&63]+ue[r>>12&63]+ue[r>>
+6&63]+ue[r&63]}a(yo,"tripletToBase64");function mo(r,e,t){for(var n,i=[],s=e;su?u:o+s));return n===1?(e=r[t-1],i.push(ae[e>>2]+
-ae[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(ae[e>>10]+ae[e>>4&63]+ae[e<<
+u=t-n;ou?u:o+s));return n===1?(e=r[t-1],i.push(ue[e>>2]+
+ue[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(ue[e>>10]+ue[e>>4&63]+ue[e<<
2&63]+"=")),i.join("")}a(go,"fromByteArray")});var Fn=I(Mt=>{p();Mt.read=function(r,e,t,n,i){var s,o,u=i*8-n-1,c=(1<>
1,l=-7,d=t?i-1:0,b=t?-1:1,C=r[e+d];for(d+=b,s=C&(1<<-l)-1,C>>=-l,l+=u;l>0;s=s*256+
r[e+d],d+=b,l-=8);for(o=s&(1<<-l)-1,s>>=-l,l+=n;l>0;o=o*256+r[e+d],d+=b,l-=8);if(s===
@@ -32,9 +32,9 @@ e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,o=l):(o=Mat
floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+d>=1?e+=b/c:e+=
b*Math.pow(2,1-d),e*c>=2&&(o++,c/=2),o+d>=l?(u=0,o=l):o+d>=1?(u=(e*c-1)*Math.pow(
2,i),o=o+d):(u=e*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;r[t+C]=u&255,C+=B,u/=256,
-i-=8);for(o=o<0;r[t+C]=o&255,C+=B,o/=256,h-=8);r[t+C-B]|=Q*128}});var Yn=I(Fe=>{"use strict";p();var Dt=Rn(),Le=Fn(),Mn=typeof Symbol=="function"&&
-typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Fe.Buffer=
-f;Fe.SlowBuffer=xo;Fe.INSPECT_MAX_BYTES=50;var ot=2147483647;Fe.kMaxLength=ot;f.
+i-=8);for(o=o<0;r[t+C]=o&255,C+=B,o/=256,h-=8);r[t+C-B]|=Q*128}});var Yn=I(Re=>{"use strict";p();var Dt=Rn(),Be=Fn(),Mn=typeof Symbol=="function"&&
+typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Re.Buffer=
+f;Re.SlowBuffer=xo;Re.INSPECT_MAX_BYTES=50;var ot=2147483647;Re.kMaxLength=ot;f.
TYPED_ARRAY_SUPPORT=wo();!f.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.
error=="function"&&console.error("This browser lacks typed array (Uint8Array) su\
pport which is required by `buffer` v5.x. Use `buffer` v4.x if you require old b\
@@ -51,8 +51,8 @@ rgument must be of type string. Received type number');return Nt(r)}return On(r,
e,t)}a(f,"Buffer");f.poolSize=8192;function On(r,e,t){if(typeof r=="string")return So(
r,e);if(ArrayBuffer.isView(r))return Eo(r);if(r==null)throw new TypeError("The f\
irst argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-l\
-ike Object. Received type "+typeof r);if(ue(r,ArrayBuffer)||r&&ue(r.buffer,ArrayBuffer)||
-typeof SharedArrayBuffer<"u"&&(ue(r,SharedArrayBuffer)||r&&ue(r.buffer,SharedArrayBuffer)))
+ike Object. Received type "+typeof r);if(ce(r,ArrayBuffer)||r&&ce(r.buffer,ArrayBuffer)||
+typeof SharedArrayBuffer<"u"&&(ce(r,SharedArrayBuffer)||r&&ce(r.buffer,SharedArrayBuffer)))
return Ut(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument\
must not be of type number. Received type number');let n=r.valueOf&&r.valueOf();
if(n!=null&&n!==r)return f.from(n,e,t);let i=vo(r);if(i)return i;if(typeof Symbol<
@@ -71,7 +71,7 @@ function(r){return Nt(r)};function So(r,e){if((typeof e!="string"||e==="")&&(e="
utf8"),!f.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let t=qn(r,e)|
0,n=pe(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}a(So,"fromString");function kt(r){
let e=r.length<0?0:qt(r.length)|0,t=pe(e);for(let n=0;n=
ot)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+
ot.toString(16)+" bytes");return r|0}a(qt,"checked");function xo(r){return+r!=r&&
(r=0),f.alloc(+r)}a(xo,"SlowBuffer");f.isBuffer=a(function(e){return e!=null&&e.
-_isBuffer===!0&&e!==f.prototype},"isBuffer");f.compare=a(function(e,t){if(ue(e,Uint8Array)&&
-(e=f.from(e,e.offset,e.byteLength)),ue(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),
+_isBuffer===!0&&e!==f.prototype},"isBuffer");f.compare=a(function(e,t){if(ce(e,Uint8Array)&&
+(e=f.from(e,e.offset,e.byteLength)),ce(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),
!f.isBuffer(e)||!f.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments\
must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,i=t.
length;for(let s=0,o=Math.min(n,i);si.length?(f.isBuffer(
+for(n=0;ni.length?(f.isBuffer(
o)||(o=f.from(o)),o.copy(i,s)):Uint8Array.prototype.set.call(i,o,s);else if(f.isBuffer(
o))o.copy(i,s);else throw new TypeError('"list" argument must be an Array of Buf\
fers');s+=o.length}return i},"concat");function qn(r,e){if(f.isBuffer(r))return r.
-length;if(ArrayBuffer.isView(r)||ue(r,ArrayBuffer))return r.byteLength;if(typeof r!=
+length;if(ArrayBuffer.isView(r)||ce(r,ArrayBuffer))return r.byteLength;if(typeof r!=
"string")throw new TypeError('The "string" argument must be one of type string, \
Buffer, or ArrayBuffer. Received type '+typeof r);let t=r.length,n=arguments.length>
2&&arguments[2]===!0;if(!n&&t===0)return 0;let i=!1;for(;;)switch(e){case"ascii":case"\
@@ -126,10 +126,10 @@ toString=a(function(){let e=this.length;return e===0?"":arguments.length===0?jn(
this,0,e):_o.apply(this,arguments)},"toString");f.prototype.toLocaleString=f.prototype.
toString;f.prototype.equals=a(function(e){if(!f.isBuffer(e))throw new TypeError(
"Argument must be a Buffer");return this===e?!0:f.compare(this,e)===0},"equals");
-f.prototype.inspect=a(function(){let e="",t=Fe.INSPECT_MAX_BYTES;return e=this.toString(
+f.prototype.inspect=a(function(){let e="",t=Re.INSPECT_MAX_BYTES;return e=this.toString(
"hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),""},"inspect");Mn&&(f.prototype[Mn]=f.prototype.inspect);f.prototype.compare=
-a(function(e,t,n,i,s){if(ue(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.
+a(function(e,t,n,i,s){if(ce(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.
isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffe\
r or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?
e.length:0),i===void 0&&(i=0),s===void 0&&(s=this.length),t<0||n>e.length||i<0||
@@ -208,11 +208,11 @@ readUint32LE=f.prototype.readUInt32LE=a(function(e,t){return e=e>>>0,t||N(e,4,th
length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},"readUInt32LE");
f.prototype.readUint32BE=f.prototype.readUInt32BE=a(function(e,t){return e=e>>>0,
t||N(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},"\
-readUInt32BE");f.prototype.readBigUInt64LE=ge(a(function(e){e=e>>>0,Re(e,"offset");
+readUInt32BE");f.prototype.readBigUInt64LE=ge(a(function(e){e=e>>>0,Le(e,"offset");
let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,this.length-8);let i=t+
this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,s=this[++e]+this[++e]*2**8+this[++e]*
2**16+n*2**24;return BigInt(i)+(BigInt(s)<>>0,Re(e,"offset");let t=this[e],n=this[e+7];
+readBigUInt64BE=ge(a(function(e){e=e>>>0,Le(e,"offset");let t=this[e],n=this[e+7];
(t===void 0||n===void 0)&&We(e,this.length-8);let i=t*2**24+this[++e]*2**16+this[++e]*
2**8+this[++e],s=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n;return(BigInt(
i)<>>0,t||N(e,2,this.length);let n=this[e]|this[e+1]<<8;return
length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},"readInt32LE");f.prototype.
readInt32BE=a(function(e,t){return e=e>>>0,t||N(e,4,this.length),this[e]<<24|this[e+
1]<<16|this[e+2]<<8|this[e+3]},"readInt32BE");f.prototype.readBigInt64LE=ge(a(function(e){
-e=e>>>0,Re(e,"offset");let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,
+e=e>>>0,Le(e,"offset");let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,
this.length-8);let i=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(n<<24);return(BigInt(
i)<>>0,Re(e,"offset");
+igInt64LE"));f.prototype.readBigInt64BE=ge(a(function(e){e=e>>>0,Le(e,"offset");
let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,this.length-8);let i=(t<<
24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(i)<>>0,t||N(e,4,this.length),Le.read(this,e,
+readFloatLE=a(function(e,t){return e=e>>>0,t||N(e,4,this.length),Be.read(this,e,
!0,23,4)},"readFloatLE");f.prototype.readFloatBE=a(function(e,t){return e=e>>>0,
-t||N(e,4,this.length),Le.read(this,e,!1,23,4)},"readFloatBE");f.prototype.readDoubleLE=
-a(function(e,t){return e=e>>>0,t||N(e,8,this.length),Le.read(this,e,!0,52,8)},"r\
+t||N(e,4,this.length),Be.read(this,e,!1,23,4)},"readFloatBE");f.prototype.readDoubleLE=
+a(function(e,t){return e=e>>>0,t||N(e,8,this.length),Be.read(this,e,!0,52,8)},"r\
eadDoubleLE");f.prototype.readDoubleBE=a(function(e,t){return e=e>>>0,t||N(e,8,this.
-length),Le.read(this,e,!1,52,8)},"readDoubleBE");function Y(r,e,t,n,i,s){if(!f.isBuffer(
+length),Be.read(this,e,!1,52,8)},"readDoubleBE");function Y(r,e,t,n,i,s){if(!f.isBuffer(
r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<
s)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError(
"Index out of range")}a(Y,"checkInt");f.prototype.writeUintLE=f.prototype.writeUIntLE=
@@ -292,11 +292,11 @@ writeBigInt64BE=ge(a(function(e,t=0){return Hn(this,e,t,-BigInt("0x8000000000000
000"),BigInt("0x7fffffffffffffff"))},"writeBigInt64BE"));function Gn(r,e,t,n,i,s){
if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError(
"Index out of range")}a(Gn,"checkIEEE754");function $n(r,e,t,n,i){return e=+e,t=
-t>>>0,i||Gn(r,e,t,4,34028234663852886e22,-34028234663852886e22),Le.write(r,e,t,n,
+t>>>0,i||Gn(r,e,t,4,34028234663852886e22,-34028234663852886e22),Be.write(r,e,t,n,
23,4),t+4}a($n,"writeFloat");f.prototype.writeFloatLE=a(function(e,t,n){return $n(
this,e,t,!0,n)},"writeFloatLE");f.prototype.writeFloatBE=a(function(e,t,n){return $n(
this,e,t,!1,n)},"writeFloatBE");function Vn(r,e,t,n,i){return e=+e,t=t>>>0,i||Gn(
-r,e,t,8,17976931348623157e292,-17976931348623157e292),Le.write(r,e,t,n,52,8),t+8}
+r,e,t,8,17976931348623157e292,-17976931348623157e292),Be.write(r,e,t,n,52,8),t+8}
a(Vn,"writeDouble");f.prototype.writeDoubleLE=a(function(e,t,n){return Vn(this,e,
t,!0,n)},"writeDoubleLE");f.prototype.writeDoubleBE=a(function(e,t,n){return Vn(
this,e,t,!1,n)},"writeDoubleBE");f.prototype.copy=a(function(e,t,n,i){if(!f.isBuffer(
@@ -317,7 +317,7 @@ length>>0,
n=n===void 0?this.length:n>>>0,e||(e=0);let s;if(typeof e=="number")for(s=t;s2**32?i=Un(String(t)):typeof t=="bigint"&&(i=String(t)
(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(i=Un(i)),i+="n"),n+=` It\
must be ${e}. Received ${i}`,n},RangeError);function Un(r){let e="",t=r.length,
n=r[0]==="-"?1:0;for(;t>=n+4;t-=3)e=`_${r.slice(t-3,t)}${e}`;return`${r.slice(0,
-t)}${e}`}a(Un,"addNumericalSeparator");function ko(r,e,t){Re(e,"offset"),(r[e]===
+t)}${e}`}a(Un,"addNumericalSeparator");function ko(r,e,t){Le(e,"offset"),(r[e]===
void 0||r[e+t]===void 0)&&We(e,r.length-(t+1))}a(ko,"checkBounds");function Kn(r,e,t,n,i,s){
if(r>t||r3?e===0||e===BigInt(0)?u=
`>= 0${o} and < 2${o} ** ${(s+1)*8}${o}`:u=`>= -(2${o} ** ${(s+1)*8-1}${o}) and \
-< 2 ** ${(s+1)*8-1}${o}`:u=`>= ${e}${o} and <= ${t}${o}`,new Be.ERR_OUT_OF_RANGE(
-"value",u,r)}ko(n,i,s)}a(Kn,"checkIntBI");function Re(r,e){if(typeof r!="number")
-throw new Be.ERR_INVALID_ARG_TYPE(e,"number",r)}a(Re,"validateNumber");function We(r,e,t){
-throw Math.floor(r)!==r?(Re(r,t),new Be.ERR_OUT_OF_RANGE(t||"offset","an integer",
-r)):e<0?new Be.ERR_BUFFER_OUT_OF_BOUNDS:new Be.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?
+< 2 ** ${(s+1)*8-1}${o}`:u=`>= ${e}${o} and <= ${t}${o}`,new Pe.ERR_OUT_OF_RANGE(
+"value",u,r)}ko(n,i,s)}a(Kn,"checkIntBI");function Le(r,e){if(typeof r!="number")
+throw new Pe.ERR_INVALID_ARG_TYPE(e,"number",r)}a(Le,"validateNumber");function We(r,e,t){
+throw Math.floor(r)!==r?(Le(r,t),new Pe.ERR_OUT_OF_RANGE(t||"offset","an integer",
+r)):e<0?new Pe.ERR_BUFFER_OUT_OF_BOUNDS:new Pe.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?
1:0} and <= ${e}`,r)}a(We,"boundsError");var Uo=/[^+/0-9A-Za-z-_]/g;function Oo(r){
if(r=r.split("=")[0],r=r.trim().replace(Uo,""),r.length<2)return"";for(;r.length%
4!==0;)r=r+"=";return r}a(Oo,"base64clean");function Ot(r,e){e=e||1/0;let t,n=r.
@@ -356,9 +356,9 @@ t)&255);return e}a(No,"asciiToBytes");function qo(r,e){let t,n,i,s=[];for(let o=
r.length&&!((e-=2)<0);++o)t=r.charCodeAt(o),n=t>>8,i=t%256,s.push(i),s.push(n);return s}
a(qo,"utf16leToBytes");function zn(r){return Dt.toByteArray(Oo(r))}a(zn,"base64T\
oBytes");function at(r,e,t,n){let i;for(i=0;i=e.length||i>=r.length);++i)
-e[i+t]=r[i];return i}a(at,"blitBuffer");function ue(r,e){return r instanceof e||
+e[i+t]=r[i];return i}a(at,"blitBuffer");function ce(r,e){return r instanceof e||
r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}
-a(ue,"isInstance");function jt(r){return r!==r}a(jt,"numberIsNaN");var Qo=function(){
+a(ce,"isInstance");function jt(r){return r!==r}a(jt,"numberIsNaN");var Qo=function(){
let r="0123456789abcdef",e=new Array(256);for(let t=0;t<16;++t){let n=t*16;for(let i=0;i<
16;++i)e[n+i]=r[t]+r[i]}return e}();function ge(r){return typeof BigInt>"u"?jo:r}
a(ge,"defineBigIntMethod");function jo(){throw new Error("BigInt not supported")}
@@ -367,9 +367,9 @@ r,0)),v=globalThis.clearImmediate??(r=>clearTimeout(r)),w=globalThis.crypto??{};
w.subtle??(w.subtle={});y=typeof globalThis.Buffer=="function"&&typeof globalThis.
Buffer.allocUnsafe=="function"?globalThis.Buffer:Yn().Buffer,m=globalThis.process??
{};m.env??(m.env={});try{m.nextTick(()=>{})}catch{let e=Promise.resolve();m.nextTick=
-e.then.bind(e)}});var we=I((nh,Wt)=>{"use strict";p();var Me=typeof Reflect=="object"?Reflect:null,
-Zn=Me&&typeof Me.apply=="function"?Me.apply:a(function(e,t,n){return Function.prototype.
-apply.call(e,t,n)},"ReflectApply"),ut;Me&&typeof Me.ownKeys=="function"?ut=Me.ownKeys:
+e.then.bind(e)}});var we=I((nh,Wt)=>{"use strict";p();var Fe=typeof Reflect=="object"?Reflect:null,
+Zn=Fe&&typeof Fe.apply=="function"?Fe.apply:a(function(e,t,n){return Function.prototype.
+apply.call(e,t,n)},"ReflectApply"),ut;Fe&&typeof Fe.ownKeys=="function"?ut=Fe.ownKeys:
Object.getOwnPropertySymbols?ut=a(function(e){return Object.getOwnPropertyNames(
e).concat(Object.getOwnPropertySymbols(e))},"ReflectOwnKeys"):ut=a(function(e){return Object.
getOwnPropertyNames(e)},"ReflectOwnKeys");function Wo(r){console&&console.warn&&
@@ -461,10 +461,10 @@ o=2600822924,u=528734635,c=1541459225,h=0,l=0,d=[1116352408,1899447441,304932347
"rrot"),C=new Uint32Array(64),B=new Uint8Array(64),Q=a(()=>{for(let R=0,$=0;R<16;R++,
$+=4)C[R]=B[$]<<24|B[$+1]<<16|B[$+2]<<8|B[$+3];for(let R=16;R<64;R++){let $=b(C[R-
15],7)^b(C[R-15],18)^C[R-15]>>>3,le=b(C[R-2],17)^b(C[R-2],19)^C[R-2]>>>10;C[R]=C[R-
-16]+$+C[R-7]+le|0}let A=e,g=t,P=n,K=i,k=s,j=o,he=u,ee=c;for(let R=0;R<64;R++){let $=b(
-k,6)^b(k,11)^b(k,25),le=k&j^~k&he,me=ee+$+le+d[R]+C[R]|0,ve=b(A,2)^b(A,13)^b(A,22),
-Ce=A&g^A&P^g&P,fe=ve+Ce|0;ee=he,he=j,j=k,k=K+me|0,K=P,P=g,g=A,A=me+fe|0}e=e+A|0,
-t=t+g|0,n=n+P|0,i=i+K|0,s=s+k|0,o=o+j|0,u=u+he|0,c=c+ee|0,l=0},"process"),X=a(A=>{
+16]+$+C[R-7]+le|0}let A=e,g=t,P=n,K=i,k=s,j=o,ee=u,ae=c;for(let R=0;R<64;R++){let $=b(
+k,6)^b(k,11)^b(k,25),le=k&j^~k&ee,me=ae+$+le+d[R]+C[R]|0,ve=b(A,2)^b(A,13)^b(A,22),
+je=A&g^A&P^g&P,fe=ve+je|0;ae=ee,ee=j,j=k,k=K+me|0,K=P,P=g,g=A,A=me+fe|0}e=e+A|0,
+t=t+g|0,n=n+P|0,i=i+K|0,s=s+k|0,o=o+j|0,u=u+ee|0,c=c+ae|0,l=0},"process"),X=a(A=>{
typeof A=="string"&&(A=new TextEncoder().encode(A));for(let g=0;g{if(B[l++]=128,l==64&&Q(),l+8>64){
for(;l<64;)B[l++]=0;Q()}for(;l<58;)B[l++]=0;let A=h*8;B[l++]=A/1099511627776&255,
@@ -598,15 +598,15 @@ e[3]||0,10)*60+parseInt(e[4]||0,10);return i*n*1e3}}a(oa,"timeZoneOffset");funct
return-(r-1)}a(li,"bcYearToNegativeYear");function zt(r){return r>=0&&r<100}a(zt,
"is0To99")});var yi=I((Ch,di)=>{p();di.exports=ua;var aa=Object.prototype.hasOwnProperty;function ua(r){
for(var e=1;e{"use strict";p();var ca=yi();gi.exports=De;function De(r){if(!(this instanceof
-De))return new De(r);ca(this,Ea(r))}a(De,"PostgresInterval");var ha=["seconds","\
-minutes","hours","days","months","years"];De.prototype.toPostgres=function(){var r=ha.
+n)&&(r[n]=t[n])}return r}a(ua,"extend")});var wi=I((Ph,gi)=>{"use strict";p();var ca=yi();gi.exports=Me;function Me(r){if(!(this instanceof
+Me))return new Me(r);ca(this,Ea(r))}a(Me,"PostgresInterval");var ha=["seconds","\
+minutes","hours","days","months","years"];Me.prototype.toPostgres=function(){var r=ha.
filter(this.hasOwnProperty,this);return this.milliseconds&&r.indexOf("seconds")<
0&&r.push("seconds"),r.length===0?"0":r.map(function(e){var t=this[e]||0;return e===
"seconds"&&this.milliseconds&&(t=(t+this.milliseconds/1e3).toFixed(6).replace(/\.?0+$/,
"")),t+" "+e},this).join(" ")};var la={years:"Y",months:"M",days:"D",hours:"H",minutes:"\
-M",seconds:"S"},fa=["years","months","days"],pa=["hours","minutes","seconds"];De.
-prototype.toISOString=De.prototype.toISO=function(){var r=fa.map(t,this).join(""),
+M",seconds:"S"},fa=["years","months","days"],pa=["hours","minutes","seconds"];Me.
+prototype.toISOString=Me.prototype.toISO=function(){var r=fa.map(t,this).join(""),
e=pa.map(t,this).join("");return"P"+r+"T"+e;function t(n){var i=this[n]||0;return n===
"seconds"&&this.milliseconds&&(i=(i+this.milliseconds/1e3).toFixed(6).replace(/0+$/,
"")),i+la[n]}};var Yt="([+-]?\\d+)",da=Yt+"\\s+years?",ya=Yt+"\\s+mons?",ma=Yt+"\
@@ -704,10 +704,10 @@ Ze.binary[r]=e})});var et=I((zh,rr)=>{"use strict";p();rr.exports={host:"localho
port:5432,rows:0,binary:!1,max:10,idleTimeoutMillis:3e4,client_encoding:"",ssl:!1,
application_name:void 0,fallback_application_name:void 0,options:void 0,parseInputDatesAsUTC:!1,
statement_timeout:!1,lock_timeout:!1,idle_in_transaction_session_timeout:!1,query_timeout:!1,
-connect_timeout:0,keepalives:1,keepalives_idle:0};var ke=Xe(),Ga=ke.getTypeParser(
-20,"text"),$a=ke.getTypeParser(1016,"text");rr.exports.__defineSetter__("parseIn\
-t8",function(r){ke.setTypeParser(20,"text",r?ke.getTypeParser(23,"text"):Ga),ke.
-setTypeParser(1016,"text",r?ke.getTypeParser(1007,"text"):$a)})});var tt=I((Zh,Ni)=>{"use strict";p();var Va=(Gt(),O(Ht)),Ka=et();function za(r){var e=r.
+connect_timeout:0,keepalives:1,keepalives_idle:0};var De=Xe(),Ga=De.getTypeParser(
+20,"text"),$a=De.getTypeParser(1016,"text");rr.exports.__defineSetter__("parseIn\
+t8",function(r){De.setTypeParser(20,"text",r?De.getTypeParser(23,"text"):Ga),De.
+setTypeParser(1016,"text",r?De.getTypeParser(1007,"text"):$a)})});var tt=I((Zh,Ni)=>{"use strict";p();var Va=(Gt(),O(Ht)),Ka=et();function za(r){var e=r.
replace(/\\/g,"\\\\").replace(/"/g,'\\"');return'"'+e+'"'}a(za,"escapeElement");
function Oi(r){for(var e="{",t=0;t0&&(e=e+","),r[t]===null||typeof r[t]>
"u"?e=e+"NULL":Array.isArray(r[t])?e=e+Oi(r[t]):r[t]instanceof y?e+="\\\\x"+r[t].
@@ -745,9 +745,9 @@ a(tu,"startSession");function ru(r,e,t){if(r.message!=="SASLInitialResponse")thr
r.clientNonce.length)throw new Error("SASL: SCRAM-SERVER-FIRST-MESSAGE: server n\
once is too short")}else throw new Error("SASL: SCRAM-SERVER-FIRST-MESSAGE: serv\
er nonce does not start with client nonce");var i=y.from(n.salt,"base64"),s=uu(e,
-i,n.iteration),o=Ue(s,"Client Key"),u=au(o),c="n=*,r="+r.clientNonce,h="r="+n.nonce+
-",s="+n.salt+",i="+n.iteration,l="c=biws,r="+n.nonce,d=c+","+h+","+l,b=Ue(u,d),C=ji(
-o,b),B=C.toString("base64"),Q=Ue(s,"Server Key"),X=Ue(Q,d);r.message="SASLRespon\
+i,n.iteration),o=ke(s,"Client Key"),u=au(o),c="n=*,r="+r.clientNonce,h="r="+n.nonce+
+",s="+n.salt+",i="+n.iteration,l="c=biws,r="+n.nonce,d=c+","+h+","+l,b=ke(u,d),C=ji(
+o,b),B=C.toString("base64"),Q=ke(s,"Server Key"),X=ke(Q,d);r.message="SASLRespon\
se",r.serverSignature=X.toString("base64"),r.response=l+",p="+B}a(ru,"continueSe\
ssion");function nu(r,e){if(r.message!=="SASLResponse")throw new Error("SASL: La\
st message was not SASLResponse");if(typeof e!="string")throw new Error("SASL: S\
@@ -777,9 +777,9 @@ a(ou,"parseServerFinalMessage");function ji(r,e){if(!y.isBuffer(r))throw new Typ
argument must be a Buffer");if(r.length!==e.length)throw new Error("Buffer leng\
ths must match");if(r.length===0)throw new Error("Buffers cannot be empty");return y.
from(r.map((t,n)=>r[n]^e[n]))}a(ji,"xorBuffers");function au(r){return ir.createHash(
-"sha256").update(r).digest()}a(au,"sha256");function Ue(r,e){return ir.createHmac(
-"sha256",r).update(e).digest()}a(Ue,"hmacSha256");function uu(r,e,t){for(var n=Ue(
-r,y.concat([e,y.from([0,0,0,1])])),i=n,s=0;scu});function cu(...r){return r.join("/")}var or=z(()=>{
"use strict";p();a(cu,"join")});var ar={};re(ar,{stat:()=>hu});function hu(r,e){e(new Error("No filesystem"))}var ur=z(
()=>{"use strict";p();a(hu,"stat")});var cr={};re(cr,{default:()=>lu});var lu,hr=z(()=>{"use strict";p();lu={}});var Gi={};re(Gi,{StringDecoder:()=>lr});var fr,lr,$i=z(()=>{"use strict";p();fr=
@@ -803,8 +803,8 @@ let n=new fu(t);return n[be]="",n[dt]=new pu("utf8"),n.matcher=r,n.mapper=e,n.ma
t.maxLength,n.skipOverflow=t.skipOverflow||!1,n.overflow=!1,n._destroy=function(i,s){
this._writableState.errorEmitted=!1,s(i)},n}a(mu,"split");zi.exports=mu});var Xi=I((pl,de)=>{"use strict";p();var Zi=(or(),O(sr)),gu=(hr(),O(cr)).Stream,wu=Yi(),
Ji=(Ge(),O(He)),bu=5432,yt=m.platform==="win32",rt=m.stderr,Su=56,Eu=7,vu=61440,
-xu=32768;function _u(r){return(r&vu)==xu}a(_u,"isRegFile");var Oe=["host","port",
-"database","user","password"],pr=Oe.length,Au=Oe[pr-1];function dr(){var r=rt instanceof
+xu=32768;function _u(r){return(r&vu)==xu}a(_u,"isRegFile");var Ue=["host","port",
+"database","user","password"],pr=Ue.length,Au=Ue[pr-1];function dr(){var r=rt instanceof
gu&&rt.writable===!0;if(r){var e=Array.prototype.slice.call(arguments).concat(`
`);rt.write(Ji.format.apply(Ji,e))}}a(dr,"warn");Object.defineProperty(de.exports,
"isWin",{get:a(function(){return yt},"get"),set:a(function(r){yt=r},"set")});de.
@@ -815,7 +815,7 @@ return Object.prototype.hasOwnProperty.call(m.env,"PGPASSWORD")?!1:yt?!0:(e=e||"
",_u(r.mode)?r.mode&(Su|Eu)?(dr('WARNING: password file "%s" has group or \
world access; permissions should be u=rw (0600) or less',e),!1):!0:(dr('WARNING:\
password file "%s" is not a plain file',e),!1))};var Cu=de.exports.match=function(r,e){
-return Oe.slice(0,-1).reduce(function(t,n,i){return i==1&&Number(r[n]||bu)===Number(
+return Ue.slice(0,-1).reduce(function(t,n,i){return i==1&&Number(r[n]||bu)===Number(
e[n])?t&&!0:t&&(e[n]==="*"||e[n]===r[n])},!0)};de.exports.getPassword=function(r,e,t){
var n,i=e.pipe(wu());function s(c){var h=Tu(c);h&&Iu(h)&&Cu(r,h)&&(n=h[Au],i.end())}
a(s,"onLine");var o=a(function(){e.destroy(),t(n)},"onEnd"),u=a(function(c){e.destroy(),
@@ -823,13 +823,13 @@ dr("WARNING: error on reading file: %s",c),t(void 0)},"onErr");e.on("error",u),i
on("data",s).on("end",o).on("error",u)};var Tu=de.exports.parseLine=function(r){
if(r.length<11||r.match(/^\s+#/))return null;for(var e="",t="",n=0,i=0,s=0,o={},
u=!1,c=a(function(l,d,b){var C=r.substring(d,b);Object.hasOwnProperty.call(m.env,
-"PGPASS_NO_DEESCAPE")||(C=C.replace(/\\([:\\])/g,"$1")),o[Oe[l]]=C},"addToObj"),
+"PGPASS_NO_DEESCAPE")||(C=C.replace(/\\([:\\])/g,"$1")),o[Ue[l]]=C},"addToObj"),
h=0;h=0&&e==":"&&t!=="\\"&&(c(n,i,h+1),i=h+2,n+=1)}return o=Object.keys(o).length===
pr?o:null,o},Iu=de.exports.isValidEntry=function(r){for(var e={0:function(o){return o.
length>0},1:function(o){return o==="*"?!0:(o=Number(o),isFinite(o)&&o>0&&o<9007199254740992&&
Math.floor(o)===o)},2:function(o){return o.length>0},3:function(o){return o.length>
-0},4:function(o){return o.length>0}},t=0;t0}},t=0;t{"use strict";p();var ml=(or(),O(sr)),es=(ur(),O(ar)),mt=Xi();
yr.exports=function(r,e){var t=mt.getFileName();es.stat(t,function(n,i){if(n||!mt.
usePgPass(i,t))return e(void 0);var s=es.createReadStream(t);mt.getPassword(r,s,
@@ -862,9 +862,9 @@ return t}a(br,"parse");os.exports=br;br.parse=br});var bt=I((Il,hs)=>{"use stric
function(r,e,t){return t===void 0?t=m.env["PG"+r.toUpperCase()]:t===!1||(t=m.env[t]),
e[r]||t||cs[r]},"val"),Fu=a(function(){switch(m.env.PGSSLMODE){case"disable":return!1;case"\
prefer":case"require":case"verify-ca":case"verify-full":return!0;case"no-verify":
-return{rejectUnauthorized:!1}}return cs.ssl},"readSSLConfigFromEnvironment"),Ne=a(
+return{rejectUnauthorized:!1}}return cs.ssl},"readSSLConfigFromEnvironment"),Oe=a(
function(r){return"'"+(""+r).replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"},"quo\
-teParamValue"),se=a(function(r,e,t){var n=e[t];n!=null&&r.push(t+"="+Ne(n))},"ad\
+teParamValue"),se=a(function(r,e,t){var n=e[t];n!=null&&r.push(t+"="+Oe(n))},"ad\
d"),Er=class Er{constructor(e){e=typeof e=="string"?us(e):e||{},e.connectionString&&
(e=Object.assign({},e,us(e.connectionString))),this.user=V("user",e),this.database=
V("database",e),this.database===void 0&&(this.database=this.user),this.port=parseInt(
@@ -887,11 +887,11 @@ se(t,this,"user"),se(t,this,"password"),se(t,this,"port"),se(t,this,"application
_name"),se(t,this,"fallback_application_name"),se(t,this,"connect_timeout"),se(t,
this,"options");var n=typeof this.ssl=="object"?this.ssl:this.ssl?{sslmode:this.
ssl}:{};if(se(t,n,"sslmode"),se(t,n,"sslca"),se(t,n,"sslkey"),se(t,n,"sslcert"),
-se(t,n,"sslrootcert"),this.database&&t.push("dbname="+Ne(this.database)),this.replication&&
-t.push("replication="+Ne(this.replication)),this.host&&t.push("host="+Ne(this.host)),
+se(t,n,"sslrootcert"),this.database&&t.push("dbname="+Oe(this.database)),this.replication&&
+t.push("replication="+Oe(this.replication)),this.host&&t.push("host="+Oe(this.host)),
this.isDomainSocket)return e(null,t.join(" "));this.client_encoding&&t.push("cli\
-ent_encoding="+Ne(this.client_encoding)),Ru.lookup(this.host,function(i,s){return i?
-e(i,null):(t.push("hostaddr="+Ne(s)),e(null,t.join(" ")))})}};a(Er,"ConnectionPa\
+ent_encoding="+Oe(this.client_encoding)),Ru.lookup(this.host,function(i,s){return i?
+e(i,null):(t.push("hostaddr="+Oe(s)),e(null,t.join(" ")))})}};a(Er,"ConnectionPa\
rameters");var Sr=Er;hs.exports=Sr});var ps=I((Ll,fs)=>{"use strict";p();var Mu=Xe(),ls=/^([A-Za-z]+)(?: (\d+))?(?: (\d+))?/,
xr=class xr{constructor(e,t){this.command=null,this.rowCount=null,this.oid=null,
this.rows=[],this.fields=[],this._parsers=void 0,this._types=t,this.RowCtor=null,
@@ -939,7 +939,7 @@ binary,valueMapper:ys.prepareValue})}catch(t){this.handleError(t,e);return}e.des
{type:"P",name:this.portal||""}),this._getRows(e,this.rows)}handleCopyInResponse(e){
e.sendCopyFail("No source stream defined")}handleCopyData(e,t){}};a(Ar,"Query");
var _r=Ar;ms.exports=_r});var Ss={};re(Ss,{Socket:()=>Se,isIP:()=>ku});function ku(r){return 0}var bs,ws,x,
-Se,St=z(()=>{"use strict";p();bs=Pe(we(),1);a(ku,"isIP");ws=/^[^.]+\./,x=class x extends bs.EventEmitter{constructor(){
+Se,St=z(()=>{"use strict";p();bs=Ie(we(),1);a(ku,"isIP");ws=/^[^.]+\./,x=class x extends bs.EventEmitter{constructor(){
super(...arguments);_(this,"opts",{});_(this,"connecting",!1);_(this,"pending",!0);
_(this,"writable",!0);_(this,"encrypted",!1);_(this,"authorized",!1);_(this,"des\
troyed",!1);_(this,"ws",null);_(this,"writeBuffer");_(this,"tlsState",0);_(this,
@@ -1087,12 +1087,12 @@ r=>M.addCString(r).flush(81),"query"),vs=[],Wu=a(r=>{let e=r.name||"";e.length>6
console.error("You supplied %s (%s)",e,e.length),console.error("This can cause c\
onflicts and silent errors executing queries"));let t=r.types||vs;for(var n=t.length,
i=M.addCString(e).addCString(r.text).addInt16(n),s=0;s{let e=r.portal||"",t=r.statement||
+flush(80)},"parse"),Ne=new nn.Writer,Hu=a(function(r,e){for(let t=0;t{let e=r.portal||"",t=r.statement||
"",n=r.binary||!1,i=r.values||vs,s=i.length;return M.addCString(e).addCString(t),
-M.addInt16(s),Hu(i,r.valueMapper),M.addInt16(s),M.add(qe.flush()),M.addInt16(n?1:
+M.addInt16(s),Hu(i,r.valueMapper),M.addInt16(s),M.add(Ne.flush()),M.addInt16(n?1:
0),M.flush(66)},"bind"),$u=y.from([69,0,0,0,9,0,0,0,0,0]),Vu=a(r=>{if(!r||!r.portal&&
!r.rows)return $u;let e=r.portal||"",t=r.rows||0,n=y.byteLength(e),i=4+n+1+4,s=y.
allocUnsafe(1+i);return s[0]=69,s.writeInt32BE(i,1),s.write(e,5,"utf-8"),s[n+5]=
@@ -1339,7 +1339,7 @@ Fs;Ms.exports=Ct});var Ns=I((pf,Os)=>{"use strict";p();var Ac=we().EventEmitter,
NOOP"),Us=a((r,e)=>{let t=r.findIndex(e);return t===-1?void 0:r.splice(t,1)[0]},
"removeWhere"),bn=class bn{constructor(e,t,n){this.client=e,this.idleListener=t,
this.timeoutId=n}};a(bn,"IdleItem");var gn=bn,Sn=class Sn{constructor(e){this.callback=
-e}};a(Sn,"PendingItem");var Qe=Sn;function Cc(){throw new Error("Release called \
+e}};a(Sn,"PendingItem");var qe=Sn;function Cc(){throw new Error("Release called \
on client which has already been released to the pool.")}a(Cc,"throwOnDoubleRele\
ase");function Tt(r,e){if(e)return{callback:e,result:void 0};let t,n,i=a(function(o,u){
o?t(o):n(u)},"cb"),s=new r(function(o,u){n=o,t=u}).catch(o=>{throw Error.captureStackTrace(
@@ -1371,11 +1371,11 @@ e),e.end(),this.emit("remove",e)}connect(e){if(this.ending){let i=new Error("Can
not use a pool after calling end on the pool");return e?e(i):this.Promise.reject(
i)}let t=Tt(this.Promise,e),n=t.result;if(this._isFull()||this._idle.length){if(this.
_idle.length&&m.nextTick(()=>this._pulseQueue()),!this.options.connectionTimeoutMillis)
-return this._pendingQueue.push(new Qe(t.callback)),n;let i=a((u,c,h)=>{clearTimeout(
-o),t.callback(u,c,h)},"queueCallback"),s=new Qe(i),o=setTimeout(()=>{Us(this._pendingQueue,
+return this._pendingQueue.push(new qe(t.callback)),n;let i=a((u,c,h)=>{clearTimeout(
+o),t.callback(u,c,h)},"queueCallback"),s=new qe(i),o=setTimeout(()=>{Us(this._pendingQueue,
u=>u.callback===i),s.timedOut=!0,t.callback(new Error("timeout exceeded when try\
ing to connect"))},this.options.connectionTimeoutMillis);return this._pendingQueue.
-push(s),n}return this.newClient(new Qe(t.callback)),n}newClient(e){let t=new this.
+push(s),n}return this.newClient(new qe(t.callback)),n}newClient(e){let t=new this.
Client(this.options);this._clients.push(t);let n=Tc(this,t);this.log("checking c\
lient timeout");let i,s=!1;this.options.connectionTimeoutMillis&&(i=setTimeout(()=>{
this.log("ending client due to timeout"),s=!0,t.connection?t.connection.stream.destroy():
@@ -1386,7 +1386,7 @@ ion terminated due to connection timeout"),this._pulseQueue(),e.timedOut||e.call
o,void 0,ks);else{if(this.log("new client connected"),this.options.maxLifetimeSeconds!==
0){let u=setTimeout(()=>{this.log("ending client due to expired lifetime"),this.
_expired.add(t),this._idle.findIndex(h=>h.client===t)!==-1&&this._acquireClient(
-t,new Qe((h,l,d)=>d()),n,!1)},this.options.maxLifetimeSeconds*1e3);u.unref(),t.once(
+t,new qe((h,l,d)=>d()),n,!1)},this.options.maxLifetimeSeconds*1e3);u.unref(),t.once(
"end",()=>clearTimeout(u))}return this._acquireClient(t,e,n,!0)}})}_acquireClient(e,t,n,i){
i&&this.emit("connect",e),this.emit("acquire",e),e.release=this._releaseOnce(e,n),
e.removeListener("error",n),t.timedOut?i&&this.options.verify?this.options.verify(
@@ -1426,20 +1426,20 @@ pes":"^2.1.0",pgpass:"1.x"},devDependencies:{async:"2.6.4",bluebird:"3.5.2",co:"
"pg-native":{optional:!0}},scripts:{test:"make test-all"},files:["lib","SPONSORS\
.md"],license:"MIT",engines:{node:">= 8.0.0"},gitHead:"c99fb2c127ddf8d712500db2c\
7b9a5491a178655"}});var Gs=I((wf,Hs)=>{"use strict";p();var Ws=we().EventEmitter,Bc=(Ge(),O(He)),vn=tt(),
-je=Hs.exports=function(r,e,t){Ws.call(this),r=vn.normalizeQueryConfig(r,e,t),this.
+Qe=Hs.exports=function(r,e,t){Ws.call(this),r=vn.normalizeQueryConfig(r,e,t),this.
text=r.text,this.values=r.values,this.name=r.name,this.callback=r.callback,this.
state="new",this._arrayMode=r.rowMode==="array",this._emitRowEvents=!1,this.on("\
newListener",function(n){n==="row"&&(this._emitRowEvents=!0)}.bind(this))};Bc.inherits(
-je,Ws);var Lc={sqlState:"code",statementPosition:"position",messagePrimary:"mess\
+Qe,Ws);var Lc={sqlState:"code",statementPosition:"position",messagePrimary:"mess\
age",context:"where",schemaName:"schema",tableName:"table",columnName:"column",dataTypeName:"\
dataType",constraintName:"constraint",sourceFile:"file",sourceLine:"line",sourceFunction:"\
-routine"};je.prototype.handleError=function(r){var e=this.native.pq.resultErrorFields();
+routine"};Qe.prototype.handleError=function(r){var e=this.native.pq.resultErrorFields();
if(e)for(var t in e){var n=Lc[t]||t;r[n]=e[t]}this.callback?this.callback(r):this.
-emit("error",r),this.state="error"};je.prototype.then=function(r,e){return this.
-_getPromise().then(r,e)};je.prototype.catch=function(r){return this._getPromise().
-catch(r)};je.prototype._getPromise=function(){return this._promise?this._promise:
+emit("error",r),this.state="error"};Qe.prototype.then=function(r,e){return this.
+_getPromise().then(r,e)};Qe.prototype.catch=function(r){return this._getPromise().
+catch(r)};Qe.prototype._getPromise=function(){return this._promise?this._promise:
(this._promise=new Promise(function(r,e){this._once("end",r),this._once("error",
-e)}.bind(this)),this._promise)};je.prototype.submit=function(r){this.state="runn\
+e)}.bind(this)),this._promise)};Qe.prototype.submit=function(r){this.state="runn\
ing";var e=this;this.native=r.native,r.native.arrayMode=this._arrayMode;var t=a(
function(s,o,u){if(r.native.arrayMode=!1,E(function(){e.emit("_done")}),s)return e.
handleError(s);e._emitRowEvents&&(u.length>1?o.forEach((c,h)=>{c.forEach(l=>{e.emit(
@@ -1510,15 +1510,15 @@ exports=new _n(xn()):(nt.exports=new _n(kc),Object.defineProperty(nt.exports,"na
tive",{configurable:!0,enumerable:!1,get(){var r=null;try{r=new _n(xn())}catch(e){
if(e.code!=="MODULE_NOT_FOUND")throw e}return Object.defineProperty(nt.exports,"\
native",{value:r}),r}}))});var $c={};re($c,{Client:()=>Bt,ClientBase:()=>oe.ClientBase,Connection:()=>oe.Connection,
-DatabaseError:()=>oe.DatabaseError,NeonDbError:()=>ce,Pool:()=>Cn,Query:()=>oe.Query,
+DatabaseError:()=>oe.DatabaseError,NeonDbError:()=>he,Pool:()=>Cn,Query:()=>oe.Query,
defaults:()=>oe.defaults,neon:()=>An,neonConfig:()=>Se,types:()=>oe.types});module.
-exports=O($c);p();var Lt=Pe(It());St();p();St();gr();var Xs=Pe(tt()),eo=Pe(wt());var Pt=class Pt extends Error{constructor(t){super(t);_(this,"name","NeonDbError");
+exports=O($c);p();var Lt=Ie(It());St();p();St();gr();var Xs=Ie(tt()),eo=Ie(wt());var Pt=class Pt extends Error{constructor(t){super(t);_(this,"name","NeonDbError");
_(this,"severity");_(this,"code");_(this,"detail");_(this,"hint");_(this,"positi\
on");_(this,"internalPosition");_(this,"internalQuery");_(this,"where");_(this,"\
schema");_(this,"table");_(this,"column");_(this,"dataType");_(this,"constraint");
_(this,"file");_(this,"line");_(this,"routine");_(this,"sourceError");"captureSt\
ackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(
-this,Pt)}};a(Pt,"NeonDbError");var ce=Pt,Zs="transaction() expects an array of q\
+this,Pt)}};a(Pt,"NeonDbError");var he=Pt,Zs="transaction() expects an array of q\
ueries, or a function returning an array of queries",jc=["severity","code","deta\
il","hint","position","internalPosition","internalQuery","where","schema","table",
"column","dataType","constraint","file","line","routine"];function An(r,{arrayMode:e,
@@ -1536,40 +1536,40 @@ params:g};return u&&u(k),Wc(ye,k,K)}a(X,"resolve"),X.transaction=async(A,g)=>{if
"function"&&(A=A(X)),!Array.isArray(A))throw new Error(Zs);A.forEach(k=>{if(k[Symbol.
toStringTag]!=="NeonQueryPromise")throw new Error(Zs)});let P=A.map(k=>k.parameterizedQuery),
K=A.map(k=>k.opts??{});return ye(P,K,g)};async function ye(A,g,P){let{fetchEndpoint:K,
-fetchFunction:k}=Se,j=typeof K=="function"?K(C,B,{jwtAuth:h!==void 0}):K,he=Array.
-isArray(A)?{queries:A}:A,ee=n??{},R=e??!1,$=t??!1,le=i,me=s,ve=o;P!==void 0&&(P.
-fetchOptions!==void 0&&(ee={...ee,...P.fetchOptions}),P.arrayMode!==void 0&&(R=P.
-arrayMode),P.fullResults!==void 0&&($=P.fullResults),P.isolationLevel!==void 0&&
-(le=P.isolationLevel),P.readOnly!==void 0&&(me=P.readOnly),P.deferrable!==void 0&&
-(ve=P.deferrable)),g!==void 0&&!Array.isArray(g)&&g.fetchOptions!==void 0&&(ee={
-...ee,...g.fetchOptions});let Ce=h;!Array.isArray(g)&&g?.authToken!==void 0&&(Ce=
-g.authToken);let fe={"Neon-Connection-String":r,"Neon-Raw-Text-Output":"true","N\
-eon-Array-Mode":"true"},it=await Hc(Ce);it&&(fe.Authorization=`Bearer ${it}`),Array.
-isArray(A)&&(le!==void 0&&(fe["Neon-Batch-Isolation-Level"]=le),me!==void 0&&(fe["\
-Neon-Batch-Read-Only"]=String(me)),ve!==void 0&&(fe["Neon-Batch-Deferrable"]=String(
-ve)));let te;try{te=await(k??fetch)(j,{method:"POST",body:JSON.stringify(he),headers:fe,
-...ee})}catch(W){let H=new ce(`Error connecting to database: ${W.message}`);throw H.
-sourceError=W,H}if(te.ok){let W=await te.json();if(Array.isArray(A)){let H=W.results;
-if(!Array.isArray(H))throw new ce("Neon internal error: unexpected result format");
-return H.map((Te,xe)=>{let Rt=g[xe]??{},ro=Rt.arrayMode??R,no=Rt.fullResults??$;
-return Js(Te,{arrayMode:ro,fullResults:no,parameterizedQuery:A[xe],resultCallback:c,
-types:Rt.types})})}else{let H=g??{},Te=H.arrayMode??R,xe=H.fullResults??$;return Js(
-W,{arrayMode:Te,fullResults:xe,parameterizedQuery:A,resultCallback:c,types:H.types})}}else{
-let{status:W}=te;if(W===400){let H=await te.json(),Te=new ce(H.message);for(let xe of jc)
-Te[xe]=H[xe]??void 0;throw Te}else{let H=await te.text();throw new ce(`Server er\
-ror (HTTP status ${W}): ${H}`)}}}return a(ye,"execute"),X}a(An,"neon");function Wc(r,e,t){
-return{[Symbol.toStringTag]:"NeonQueryPromise",parameterizedQuery:e,opts:t,then:a(
-(n,i)=>r(e,t).then(n,i),"then"),catch:a(n=>r(e,t).catch(n),"catch"),finally:a(n=>r(
-e,t).finally(n),"finally")}}a(Wc,"createNeonQueryPromise");function Js(r,{arrayMode:e,
-fullResults:t,parameterizedQuery:n,resultCallback:i,types:s}){let o=new eo.default(
-s),u=r.fields.map(l=>l.name),c=r.fields.map(l=>o.getTypeParser(l.dataTypeID)),h=e===
-!0?r.rows.map(l=>l.map((d,b)=>d===null?null:c[b](d))):r.rows.map(l=>Object.fromEntries(
-l.map((d,b)=>[u[b],d===null?null:c[b](d)])));return i&&i(n,r,h,{arrayMode:e,fullResults:t}),
+fetchFunction:k}=Se,j=Array.isArray(A)?{queries:A}:A,ee=n??{},ae=e??!1,R=t??!1,$=i,
+le=s,me=o;P!==void 0&&(P.fetchOptions!==void 0&&(ee={...ee,...P.fetchOptions}),P.
+arrayMode!==void 0&&(ae=P.arrayMode),P.fullResults!==void 0&&(R=P.fullResults),P.
+isolationLevel!==void 0&&($=P.isolationLevel),P.readOnly!==void 0&&(le=P.readOnly),
+P.deferrable!==void 0&&(me=P.deferrable)),g!==void 0&&!Array.isArray(g)&&g.fetchOptions!==
+void 0&&(ee={...ee,...g.fetchOptions});let ve=h;!Array.isArray(g)&&g?.authToken!==
+void 0&&(ve=g.authToken);let je=typeof K=="function"?K(C,B,{jwtAuth:ve!==void 0}):
+K,fe={"Neon-Connection-String":r,"Neon-Raw-Text-Output":"true","Neon-Array-Mode":"\
+true"},it=await Hc(ve);it&&(fe.Authorization=`Bearer ${it}`),Array.isArray(A)&&($!==
+void 0&&(fe["Neon-Batch-Isolation-Level"]=$),le!==void 0&&(fe["Neon-Batch-Read-O\
+nly"]=String(le)),me!==void 0&&(fe["Neon-Batch-Deferrable"]=String(me)));let te;
+try{te=await(k??fetch)(je,{method:"POST",body:JSON.stringify(j),headers:fe,...ee})}catch(W){
+let H=new he(`Error connecting to database: ${W.message}`);throw H.sourceError=W,
+H}if(te.ok){let W=await te.json();if(Array.isArray(A)){let H=W.results;if(!Array.
+isArray(H))throw new he("Neon internal error: unexpected result format");return H.
+map((Ce,xe)=>{let Rt=g[xe]??{},ro=Rt.arrayMode??ae,no=Rt.fullResults??R;return Js(
+Ce,{arrayMode:ro,fullResults:no,parameterizedQuery:A[xe],resultCallback:c,types:Rt.
+types})})}else{let H=g??{},Ce=H.arrayMode??ae,xe=H.fullResults??R;return Js(W,{arrayMode:Ce,
+fullResults:xe,parameterizedQuery:A,resultCallback:c,types:H.types})}}else{let{status:W}=te;
+if(W===400){let H=await te.json(),Ce=new he(H.message);for(let xe of jc)Ce[xe]=H[xe]??
+void 0;throw Ce}else{let H=await te.text();throw new he(`Server error (HTTP stat\
+us ${W}): ${H}`)}}}return a(ye,"execute"),X}a(An,"neon");function Wc(r,e,t){return{
+[Symbol.toStringTag]:"NeonQueryPromise",parameterizedQuery:e,opts:t,then:a((n,i)=>r(
+e,t).then(n,i),"then"),catch:a(n=>r(e,t).catch(n),"catch"),finally:a(n=>r(e,t).finally(
+n),"finally")}}a(Wc,"createNeonQueryPromise");function Js(r,{arrayMode:e,fullResults:t,
+parameterizedQuery:n,resultCallback:i,types:s}){let o=new eo.default(s),u=r.fields.
+map(l=>l.name),c=r.fields.map(l=>o.getTypeParser(l.dataTypeID)),h=e===!0?r.rows.
+map(l=>l.map((d,b)=>d===null?null:c[b](d))):r.rows.map(l=>Object.fromEntries(l.map(
+(d,b)=>[u[b],d===null?null:c[b](d)])));return i&&i(n,r,h,{arrayMode:e,fullResults:t}),
t?(r.viaNeonFetch=!0,r.rowAsArray=e,r.rows=h,r._parsers=c,r._types=o,r):h}a(Js,"\
processQueryResult");async function Hc(r){if(typeof r=="string")return r;if(typeof r==
-"function")try{return await Promise.resolve(r())}catch(e){let t=new ce("Error ge\
-tting auth token.");throw e instanceof Error&&(t=new ce(`Error getting auth toke\
-n: ${e.message}`)),t}}a(Hc,"getAuthToken");var to=Pe(bt()),oe=Pe(It());var Tn=class Tn extends Lt.Client{constructor(t){super(t);this.config=t}get neonConfig(){
+"function")try{return await Promise.resolve(r())}catch(e){let t=new he("Error ge\
+tting auth token.");throw e instanceof Error&&(t=new he(`Error getting auth toke\
+n: ${e.message}`)),t}}a(Hc,"getAuthToken");var to=Ie(bt()),oe=Ie(It());var Tn=class Tn extends Lt.Client{constructor(t){super(t);this.config=t}get neonConfig(){
return this.connection.stream}connect(t){let{neonConfig:n}=this;n.forceDisablePgSSL&&
(this.ssl=this.connection.ssl=!1),this.ssl&&n.useSecureWebSocket&&console.warn("\
SSL is enabled for both Postgres (e.g. ?sslmode=require in the connection string\
@@ -1607,15 +1607,15 @@ C=b.encode(i),B=await w.subtle.importKey("raw",C,{name:"HMAC",hash:{name:"SHA-25
"HMAC",B,Q)),X=y.from(X.map((te,W)=>X[W]^Q[W]));let A=X,g=await w.subtle.importKey(
"raw",A,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),P=new Uint8Array(await w.
subtle.sign("HMAC",g,b.encode("Client Key"))),K=await w.subtle.digest("SHA-256",
-P),k="n=*,r="+n.clientNonce,j="r="+u+",s="+c+",i="+l,he="c=biws,r="+u,ee=k+","+j+
-","+he,R=await w.subtle.importKey("raw",K,{name:"HMAC",hash:{name:"SHA-256"}},!1,
-["sign"]);var $=new Uint8Array(await w.subtle.sign("HMAC",R,b.encode(ee))),le=y.
+P),k="n=*,r="+n.clientNonce,j="r="+u+",s="+c+",i="+l,ee="c=biws,r="+u,ae=k+","+j+
+","+ee,R=await w.subtle.importKey("raw",K,{name:"HMAC",hash:{name:"SHA-256"}},!1,
+["sign"]);var $=new Uint8Array(await w.subtle.sign("HMAC",R,b.encode(ae))),le=y.
from(P.map((te,W)=>P[W]^$[W])),me=le.toString("base64");let ve=await w.subtle.importKey(
-"raw",A,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),Ce=await w.subtle.sign(
-"HMAC",ve,b.encode("Server Key")),fe=await w.subtle.importKey("raw",Ce,{name:"HM\
+"raw",A,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),je=await w.subtle.sign(
+"HMAC",ve,b.encode("Server Key")),fe=await w.subtle.importKey("raw",je,{name:"HM\
AC",hash:{name:"SHA-256"}},!1,["sign"]);var it=y.from(await w.subtle.sign("HMAC",
-fe,b.encode(ee)));n.message="SASLResponse",n.serverSignature=it.toString("base64"),
-n.response=he+",p="+me,this.connection.sendSCRAMClientFinalMessage(this.saslSession.
+fe,b.encode(ae)));n.message="SASLResponse",n.serverSignature=it.toString("base64"),
+n.response=ee+",p="+me,this.connection.sendSCRAMClientFinalMessage(this.saslSession.
response)}};a(Tn,"NeonClient");var Bt=Tn;function Gc(r,e){if(e)return{callback:e,
result:void 0};let t,n,i=a(function(o,u){o?t(o):n(u)},"cb"),s=new r(function(o,u){
n=o,t=u});return{callback:i,result:s}}a(Gc,"promisify");var In=class In extends Lt.Pool{constructor(){
diff --git a/dist/npm/index.mjs b/dist/npm/index.mjs
index a71b499..bae5c7d 100644
--- a/dist/npm/index.mjs
+++ b/dist/npm/index.mjs
@@ -1,12 +1,12 @@
-var io=Object.create;var Te=Object.defineProperty;var so=Object.getOwnPropertyDescriptor;var oo=Object.getOwnPropertyNames;var ao=Object.getPrototypeOf,uo=Object.prototype.hasOwnProperty;var co=(r,e,t)=>e in r?Te(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):
-r[e]=t;var a=(r,e)=>Te(r,"name",{value:e,configurable:!0});var z=(r,e)=>()=>(r&&(e=r(r=0)),e);var I=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),se=(r,e)=>{for(var t in e)
-Te(r,t,{get:e[t],enumerable:!0})},Tn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e==
-"function")for(let i of oo(e))!uo.call(r,i)&&i!==t&&Te(r,i,{get:()=>e[i],enumerable:!(n=
-so(e,i))||n.enumerable});return r};var Ie=(r,e,t)=>(t=r!=null?io(ao(r)):{},Tn(e||!r||!r.__esModule?Te(t,"default",{
-value:r,enumerable:!0}):t,r)),O=r=>Tn(Te({},"__esModule",{value:!0}),r);var _=(r,e,t)=>co(r,typeof e!="symbol"?e+"":e,t);var Bn=I(st=>{"use strict";p();st.byteLength=lo;st.toByteArray=po;st.fromByteArray=
-go;var oe=[],re=[],ho=typeof Uint8Array<"u"?Uint8Array:Array,Rt="ABCDEFGHIJKLMNO\
+var io=Object.create;var Ce=Object.defineProperty;var so=Object.getOwnPropertyDescriptor;var oo=Object.getOwnPropertyNames;var ao=Object.getPrototypeOf,uo=Object.prototype.hasOwnProperty;var co=(r,e,t)=>e in r?Ce(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):
+r[e]=t;var a=(r,e)=>Ce(r,"name",{value:e,configurable:!0});var z=(r,e)=>()=>(r&&(e=r(r=0)),e);var I=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),se=(r,e)=>{for(var t in e)
+Ce(r,t,{get:e[t],enumerable:!0})},Tn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e==
+"function")for(let i of oo(e))!uo.call(r,i)&&i!==t&&Ce(r,i,{get:()=>e[i],enumerable:!(n=
+so(e,i))||n.enumerable});return r};var Te=(r,e,t)=>(t=r!=null?io(ao(r)):{},Tn(e||!r||!r.__esModule?Ce(t,"default",{
+value:r,enumerable:!0}):t,r)),O=r=>Tn(Ce({},"__esModule",{value:!0}),r);var _=(r,e,t)=>co(r,typeof e!="symbol"?e+"":e,t);var Bn=I(st=>{"use strict";p();st.byteLength=lo;st.toByteArray=po;st.fromByteArray=
+go;var ae=[],re=[],ho=typeof Uint8Array<"u"?Uint8Array:Array,Rt="ABCDEFGHIJKLMNO\
PQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ve=0,In=Rt.length;ve0)throw new Error("Invalid string. Length must be a multip\
le of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}a(Pn,
"getLens");function lo(r){var e=Pn(r),t=e[0],n=e[1];return(t+n)*3/4-n}a(lo,"byte\
@@ -16,12 +16,12 @@ var e,t=Pn(r),n=t[0],i=t[1],s=new ho(fo(r,n,i)),o=0,u=i>0?n-4:n,c;for(c=0;c>16&255,s[o++]=e>>8&255,s[o++]=e&255;return i===2&&(e=
re[r.charCodeAt(c)]<<2|re[r.charCodeAt(c+1)]>>4,s[o++]=e&255),i===1&&(e=re[r.charCodeAt(
c)]<<10|re[r.charCodeAt(c+1)]<<4|re[r.charCodeAt(c+2)]>>2,s[o++]=e>>8&255,s[o++]=
-e&255),s}a(po,"toByteArray");function yo(r){return oe[r>>18&63]+oe[r>>12&63]+oe[r>>
-6&63]+oe[r&63]}a(yo,"tripletToBase64");function mo(r,e,t){for(var n,i=[],s=e;s>18&63]+ae[r>>12&63]+ae[r>>
+6&63]+ae[r&63]}a(yo,"tripletToBase64");function mo(r,e,t){for(var n,i=[],s=e;su?u:o+s));return n===1?(e=r[t-1],i.push(oe[e>>2]+
-oe[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(oe[e>>10]+oe[e>>4&63]+oe[e<<
+u=t-n;ou?u:o+s));return n===1?(e=r[t-1],i.push(ae[e>>2]+
+ae[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(ae[e>>10]+ae[e>>4&63]+ae[e<<
2&63]+"=")),i.join("")}a(go,"fromByteArray")});var Ln=I(Ft=>{p();Ft.read=function(r,e,t,n,i){var s,o,u=i*8-n-1,c=(1<>
1,l=-7,d=t?i-1:0,b=t?-1:1,C=r[e+d];for(d+=b,s=C&(1<<-l)-1,C>>=-l,l+=u;l>0;s=s*256+
r[e+d],d+=b,l-=8);for(o=s&(1<<-l)-1,s>>=-l,l+=n;l>0;o=o*256+r[e+d],d+=b,l-=8);if(s===
@@ -32,9 +32,9 @@ e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,o=l):(o=Mat
floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+d>=1?e+=b/c:e+=
b*Math.pow(2,1-d),e*c>=2&&(o++,c/=2),o+d>=l?(u=0,o=l):o+d>=1?(u=(e*c-1)*Math.pow(
2,i),o=o+d):(u=e*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;r[t+C]=u&255,C+=B,u/=256,
-i-=8);for(o=o<0;r[t+C]=o&255,C+=B,o/=256,h-=8);r[t+C-B]|=Q*128}});var Kn=I(Re=>{"use strict";p();var Mt=Bn(),Be=Ln(),Rn=typeof Symbol=="function"&&
-typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Re.Buffer=
-f;Re.SlowBuffer=xo;Re.INSPECT_MAX_BYTES=50;var ot=2147483647;Re.kMaxLength=ot;f.
+i-=8);for(o=o<0;r[t+C]=o&255,C+=B,o/=256,h-=8);r[t+C-B]|=Q*128}});var Kn=I(Le=>{"use strict";p();var Mt=Bn(),Pe=Ln(),Rn=typeof Symbol=="function"&&
+typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Le.Buffer=
+f;Le.SlowBuffer=xo;Le.INSPECT_MAX_BYTES=50;var ot=2147483647;Le.kMaxLength=ot;f.
TYPED_ARRAY_SUPPORT=wo();!f.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.
error=="function"&&console.error("This browser lacks typed array (Uint8Array) su\
pport which is required by `buffer` v5.x. Use `buffer` v4.x if you require old b\
@@ -51,8 +51,8 @@ rgument must be of type string. Received type number');return Ot(r)}return kn(r,
e,t)}a(f,"Buffer");f.poolSize=8192;function kn(r,e,t){if(typeof r=="string")return So(
r,e);if(ArrayBuffer.isView(r))return Eo(r);if(r==null)throw new TypeError("The f\
irst argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-l\
-ike Object. Received type "+typeof r);if(ae(r,ArrayBuffer)||r&&ae(r.buffer,ArrayBuffer)||
-typeof SharedArrayBuffer<"u"&&(ae(r,SharedArrayBuffer)||r&&ae(r.buffer,SharedArrayBuffer)))
+ike Object. Received type "+typeof r);if(ue(r,ArrayBuffer)||r&&ue(r.buffer,ArrayBuffer)||
+typeof SharedArrayBuffer<"u"&&(ue(r,SharedArrayBuffer)||r&&ue(r.buffer,SharedArrayBuffer)))
return kt(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument\
must not be of type number. Received type number');let n=r.valueOf&&r.valueOf();
if(n!=null&&n!==r)return f.from(n,e,t);let i=vo(r);if(i)return i;if(typeof Symbol<
@@ -71,7 +71,7 @@ function(r){return Ot(r)};function So(r,e){if((typeof e!="string"||e==="")&&(e="
utf8"),!f.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let t=On(r,e)|
0,n=le(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}a(So,"fromString");function Dt(r){
let e=r.length<0?0:Nt(r.length)|0,t=le(e);for(let n=0;n=
ot)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+
ot.toString(16)+" bytes");return r|0}a(Nt,"checked");function xo(r){return+r!=r&&
(r=0),f.alloc(+r)}a(xo,"SlowBuffer");f.isBuffer=a(function(e){return e!=null&&e.
-_isBuffer===!0&&e!==f.prototype},"isBuffer");f.compare=a(function(e,t){if(ae(e,Uint8Array)&&
-(e=f.from(e,e.offset,e.byteLength)),ae(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),
+_isBuffer===!0&&e!==f.prototype},"isBuffer");f.compare=a(function(e,t){if(ue(e,Uint8Array)&&
+(e=f.from(e,e.offset,e.byteLength)),ue(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),
!f.isBuffer(e)||!f.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments\
must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,i=t.
length;for(let s=0,o=Math.min(n,i);si.length?(f.isBuffer(
+for(n=0;ni.length?(f.isBuffer(
o)||(o=f.from(o)),o.copy(i,s)):Uint8Array.prototype.set.call(i,o,s);else if(f.isBuffer(
o))o.copy(i,s);else throw new TypeError('"list" argument must be an Array of Buf\
fers');s+=o.length}return i},"concat");function On(r,e){if(f.isBuffer(r))return r.
-length;if(ArrayBuffer.isView(r)||ae(r,ArrayBuffer))return r.byteLength;if(typeof r!=
+length;if(ArrayBuffer.isView(r)||ue(r,ArrayBuffer))return r.byteLength;if(typeof r!=
"string")throw new TypeError('The "string" argument must be one of type string, \
Buffer, or ArrayBuffer. Received type '+typeof r);let t=r.length,n=arguments.length>
2&&arguments[2]===!0;if(!n&&t===0)return 0;let i=!1;for(;;)switch(e){case"ascii":case"\
@@ -126,10 +126,10 @@ toString=a(function(){let e=this.length;return e===0?"":arguments.length===0?qn(
this,0,e):_o.apply(this,arguments)},"toString");f.prototype.toLocaleString=f.prototype.
toString;f.prototype.equals=a(function(e){if(!f.isBuffer(e))throw new TypeError(
"Argument must be a Buffer");return this===e?!0:f.compare(this,e)===0},"equals");
-f.prototype.inspect=a(function(){let e="",t=Re.INSPECT_MAX_BYTES;return e=this.toString(
+f.prototype.inspect=a(function(){let e="",t=Le.INSPECT_MAX_BYTES;return e=this.toString(
"hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),""},"inspect");Rn&&(f.prototype[Rn]=f.prototype.inspect);f.prototype.compare=
-a(function(e,t,n,i,s){if(ae(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.
+a(function(e,t,n,i,s){if(ue(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.
isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffe\
r or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?
e.length:0),i===void 0&&(i=0),s===void 0&&(s=this.length),t<0||n>e.length||i<0||
@@ -208,11 +208,11 @@ readUint32LE=f.prototype.readUInt32LE=a(function(e,t){return e=e>>>0,t||N(e,4,th
length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},"readUInt32LE");
f.prototype.readUint32BE=f.prototype.readUInt32BE=a(function(e,t){return e=e>>>0,
t||N(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},"\
-readUInt32BE");f.prototype.readBigUInt64LE=me(a(function(e){e=e>>>0,Le(e,"offset");
+readUInt32BE");f.prototype.readBigUInt64LE=me(a(function(e){e=e>>>0,Be(e,"offset");
let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,this.length-8);let i=t+
this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,s=this[++e]+this[++e]*2**8+this[++e]*
2**16+n*2**24;return BigInt(i)+(BigInt(s)<>>0,Le(e,"offset");let t=this[e],n=this[e+7];
+readBigUInt64BE=me(a(function(e){e=e>>>0,Be(e,"offset");let t=this[e],n=this[e+7];
(t===void 0||n===void 0)&&We(e,this.length-8);let i=t*2**24+this[++e]*2**16+this[++e]*
2**8+this[++e],s=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n;return(BigInt(
i)<>>0,t||N(e,2,this.length);let n=this[e]|this[e+1]<<8;return
length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},"readInt32LE");f.prototype.
readInt32BE=a(function(e,t){return e=e>>>0,t||N(e,4,this.length),this[e]<<24|this[e+
1]<<16|this[e+2]<<8|this[e+3]},"readInt32BE");f.prototype.readBigInt64LE=me(a(function(e){
-e=e>>>0,Le(e,"offset");let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,
+e=e>>>0,Be(e,"offset");let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,
this.length-8);let i=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(n<<24);return(BigInt(
i)<>>0,Le(e,"offset");
+igInt64LE"));f.prototype.readBigInt64BE=me(a(function(e){e=e>>>0,Be(e,"offset");
let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&We(e,this.length-8);let i=(t<<
24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(i)<>>0,t||N(e,4,this.length),Be.read(this,e,
+readFloatLE=a(function(e,t){return e=e>>>0,t||N(e,4,this.length),Pe.read(this,e,
!0,23,4)},"readFloatLE");f.prototype.readFloatBE=a(function(e,t){return e=e>>>0,
-t||N(e,4,this.length),Be.read(this,e,!1,23,4)},"readFloatBE");f.prototype.readDoubleLE=
-a(function(e,t){return e=e>>>0,t||N(e,8,this.length),Be.read(this,e,!0,52,8)},"r\
+t||N(e,4,this.length),Pe.read(this,e,!1,23,4)},"readFloatBE");f.prototype.readDoubleLE=
+a(function(e,t){return e=e>>>0,t||N(e,8,this.length),Pe.read(this,e,!0,52,8)},"r\
eadDoubleLE");f.prototype.readDoubleBE=a(function(e,t){return e=e>>>0,t||N(e,8,this.
-length),Be.read(this,e,!1,52,8)},"readDoubleBE");function Y(r,e,t,n,i,s){if(!f.isBuffer(
+length),Pe.read(this,e,!1,52,8)},"readDoubleBE");function Y(r,e,t,n,i,s){if(!f.isBuffer(
r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<
s)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError(
"Index out of range")}a(Y,"checkInt");f.prototype.writeUintLE=f.prototype.writeUIntLE=
@@ -292,11 +292,11 @@ writeBigInt64BE=me(a(function(e,t=0){return jn(this,e,t,-BigInt("0x8000000000000
000"),BigInt("0x7fffffffffffffff"))},"writeBigInt64BE"));function Wn(r,e,t,n,i,s){
if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError(
"Index out of range")}a(Wn,"checkIEEE754");function Hn(r,e,t,n,i){return e=+e,t=
-t>>>0,i||Wn(r,e,t,4,34028234663852886e22,-34028234663852886e22),Be.write(r,e,t,n,
+t>>>0,i||Wn(r,e,t,4,34028234663852886e22,-34028234663852886e22),Pe.write(r,e,t,n,
23,4),t+4}a(Hn,"writeFloat");f.prototype.writeFloatLE=a(function(e,t,n){return Hn(
this,e,t,!0,n)},"writeFloatLE");f.prototype.writeFloatBE=a(function(e,t,n){return Hn(
this,e,t,!1,n)},"writeFloatBE");function Gn(r,e,t,n,i){return e=+e,t=t>>>0,i||Wn(
-r,e,t,8,17976931348623157e292,-17976931348623157e292),Be.write(r,e,t,n,52,8),t+8}
+r,e,t,8,17976931348623157e292,-17976931348623157e292),Pe.write(r,e,t,n,52,8),t+8}
a(Gn,"writeDouble");f.prototype.writeDoubleLE=a(function(e,t,n){return Gn(this,e,
t,!0,n)},"writeDoubleLE");f.prototype.writeDoubleBE=a(function(e,t,n){return Gn(
this,e,t,!1,n)},"writeDoubleBE");f.prototype.copy=a(function(e,t,n,i){if(!f.isBuffer(
@@ -317,7 +317,7 @@ length>>0,
n=n===void 0?this.length:n>>>0,e||(e=0);let s;if(typeof e=="number")for(s=t;s2**32?i=Dn(String(t)):typeof t=="bigint"&&(i=String(t)
(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(i=Dn(i)),i+="n"),n+=` It\
must be ${e}. Received ${i}`,n},RangeError);function Dn(r){let e="",t=r.length,
n=r[0]==="-"?1:0;for(;t>=n+4;t-=3)e=`_${r.slice(t-3,t)}${e}`;return`${r.slice(0,
-t)}${e}`}a(Dn,"addNumericalSeparator");function ko(r,e,t){Le(e,"offset"),(r[e]===
+t)}${e}`}a(Dn,"addNumericalSeparator");function ko(r,e,t){Be(e,"offset"),(r[e]===
void 0||r[e+t]===void 0)&&We(e,r.length-(t+1))}a(ko,"checkBounds");function $n(r,e,t,n,i,s){
if(r>t||r3?e===0||e===BigInt(0)?u=
`>= 0${o} and < 2${o} ** ${(s+1)*8}${o}`:u=`>= -(2${o} ** ${(s+1)*8-1}${o}) and \
-< 2 ** ${(s+1)*8-1}${o}`:u=`>= ${e}${o} and <= ${t}${o}`,new Pe.ERR_OUT_OF_RANGE(
-"value",u,r)}ko(n,i,s)}a($n,"checkIntBI");function Le(r,e){if(typeof r!="number")
-throw new Pe.ERR_INVALID_ARG_TYPE(e,"number",r)}a(Le,"validateNumber");function We(r,e,t){
-throw Math.floor(r)!==r?(Le(r,t),new Pe.ERR_OUT_OF_RANGE(t||"offset","an integer",
-r)):e<0?new Pe.ERR_BUFFER_OUT_OF_BOUNDS:new Pe.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?
+< 2 ** ${(s+1)*8-1}${o}`:u=`>= ${e}${o} and <= ${t}${o}`,new Ie.ERR_OUT_OF_RANGE(
+"value",u,r)}ko(n,i,s)}a($n,"checkIntBI");function Be(r,e){if(typeof r!="number")
+throw new Ie.ERR_INVALID_ARG_TYPE(e,"number",r)}a(Be,"validateNumber");function We(r,e,t){
+throw Math.floor(r)!==r?(Be(r,t),new Ie.ERR_OUT_OF_RANGE(t||"offset","an integer",
+r)):e<0?new Ie.ERR_BUFFER_OUT_OF_BOUNDS:new Ie.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?
1:0} and <= ${e}`,r)}a(We,"boundsError");var Uo=/[^+/0-9A-Za-z-_]/g;function Oo(r){
if(r=r.split("=")[0],r=r.trim().replace(Uo,""),r.length<2)return"";for(;r.length%
4!==0;)r=r+"=";return r}a(Oo,"base64clean");function Ut(r,e){e=e||1/0;let t,n=r.
@@ -356,9 +356,9 @@ t)&255);return e}a(No,"asciiToBytes");function qo(r,e){let t,n,i,s=[];for(let o=
r.length&&!((e-=2)<0);++o)t=r.charCodeAt(o),n=t>>8,i=t%256,s.push(i),s.push(n);return s}
a(qo,"utf16leToBytes");function Vn(r){return Mt.toByteArray(Oo(r))}a(Vn,"base64T\
oBytes");function at(r,e,t,n){let i;for(i=0;i=e.length||i>=r.length);++i)
-e[i+t]=r[i];return i}a(at,"blitBuffer");function ae(r,e){return r instanceof e||
+e[i+t]=r[i];return i}a(at,"blitBuffer");function ue(r,e){return r instanceof e||
r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}
-a(ae,"isInstance");function Qt(r){return r!==r}a(Qt,"numberIsNaN");var Qo=function(){
+a(ue,"isInstance");function Qt(r){return r!==r}a(Qt,"numberIsNaN");var Qo=function(){
let r="0123456789abcdef",e=new Array(256);for(let t=0;t<16;++t){let n=t*16;for(let i=0;i<
16;++i)e[n+i]=r[t]+r[i]}return e}();function me(r){return typeof BigInt>"u"?jo:r}
a(me,"defineBigIntMethod");function jo(){throw new Error("BigInt not supported")}
@@ -367,9 +367,9 @@ r,0)),v=globalThis.clearImmediate??(r=>clearTimeout(r)),w=globalThis.crypto??{};
w.subtle??(w.subtle={});y=typeof globalThis.Buffer=="function"&&typeof globalThis.
Buffer.allocUnsafe=="function"?globalThis.Buffer:Kn().Buffer,m=globalThis.process??
{};m.env??(m.env={});try{m.nextTick(()=>{})}catch{let e=Promise.resolve();m.nextTick=
-e.then.bind(e)}});var ge=I((rh,jt)=>{"use strict";p();var Fe=typeof Reflect=="object"?Reflect:null,
-zn=Fe&&typeof Fe.apply=="function"?Fe.apply:a(function(e,t,n){return Function.prototype.
-apply.call(e,t,n)},"ReflectApply"),ut;Fe&&typeof Fe.ownKeys=="function"?ut=Fe.ownKeys:
+e.then.bind(e)}});var ge=I((rh,jt)=>{"use strict";p();var Re=typeof Reflect=="object"?Reflect:null,
+zn=Re&&typeof Re.apply=="function"?Re.apply:a(function(e,t,n){return Function.prototype.
+apply.call(e,t,n)},"ReflectApply"),ut;Re&&typeof Re.ownKeys=="function"?ut=Re.ownKeys:
Object.getOwnPropertySymbols?ut=a(function(e){return Object.getOwnPropertyNames(
e).concat(Object.getOwnPropertySymbols(e))},"ReflectOwnKeys"):ut=a(function(e){return Object.
getOwnPropertyNames(e)},"ReflectOwnKeys");function Wo(r){console&&console.warn&&
@@ -461,10 +461,10 @@ o=2600822924,u=528734635,c=1541459225,h=0,l=0,d=[1116352408,1899447441,304932347
"rrot"),C=new Uint32Array(64),B=new Uint8Array(64),Q=a(()=>{for(let R=0,$=0;R<16;R++,
$+=4)C[R]=B[$]<<24|B[$+1]<<16|B[$+2]<<8|B[$+3];for(let R=16;R<64;R++){let $=b(C[R-
15],7)^b(C[R-15],18)^C[R-15]>>>3,ce=b(C[R-2],17)^b(C[R-2],19)^C[R-2]>>>10;C[R]=C[R-
-16]+$+C[R-7]+ce|0}let A=e,g=t,P=n,K=i,k=s,j=o,ue=u,ee=c;for(let R=0;R<64;R++){let $=b(
-k,6)^b(k,11)^b(k,25),ce=k&j^~k&ue,ye=ee+$+ce+d[R]+C[R]|0,Se=b(A,2)^b(A,13)^b(A,22),
-Ae=A&g^A&P^g&P,he=Se+Ae|0;ee=ue,ue=j,j=k,k=K+ye|0,K=P,P=g,g=A,A=ye+he|0}e=e+A|0,
-t=t+g|0,n=n+P|0,i=i+K|0,s=s+k|0,o=o+j|0,u=u+ue|0,c=c+ee|0,l=0},"process"),X=a(A=>{
+16]+$+C[R-7]+ce|0}let A=e,g=t,P=n,K=i,k=s,j=o,ee=u,oe=c;for(let R=0;R<64;R++){let $=b(
+k,6)^b(k,11)^b(k,25),ce=k&j^~k&ee,ye=oe+$+ce+d[R]+C[R]|0,Se=b(A,2)^b(A,13)^b(A,22),
+je=A&g^A&P^g&P,he=Se+je|0;oe=ee,ee=j,j=k,k=K+ye|0,K=P,P=g,g=A,A=ye+he|0}e=e+A|0,
+t=t+g|0,n=n+P|0,i=i+K|0,s=s+k|0,o=o+j|0,u=u+ee|0,c=c+oe|0,l=0},"process"),X=a(A=>{
typeof A=="string"&&(A=new TextEncoder().encode(A));for(let g=0;g{if(B[l++]=128,l==64&&Q(),l+8>64){
for(;l<64;)B[l++]=0;Q()}for(;l<58;)B[l++]=0;let A=h*8;B[l++]=A/1099511627776&255,
@@ -598,15 +598,15 @@ e[3]||0,10)*60+parseInt(e[4]||0,10);return i*n*1e3}}a(oa,"timeZoneOffset");funct
return-(r-1)}a(ci,"bcYearToNegativeYear");function Kt(r){return r>=0&&r<100}a(Kt,
"is0To99")});var pi=I((Ah,fi)=>{p();fi.exports=ua;var aa=Object.prototype.hasOwnProperty;function ua(r){
for(var e=1;e{"use strict";p();var ca=pi();yi.exports=Me;function Me(r){if(!(this instanceof
-Me))return new Me(r);ca(this,Ea(r))}a(Me,"PostgresInterval");var ha=["seconds","\
-minutes","hours","days","months","years"];Me.prototype.toPostgres=function(){var r=ha.
+n)&&(r[n]=t[n])}return r}a(ua,"extend")});var mi=I((Ih,yi)=>{"use strict";p();var ca=pi();yi.exports=Fe;function Fe(r){if(!(this instanceof
+Fe))return new Fe(r);ca(this,Ea(r))}a(Fe,"PostgresInterval");var ha=["seconds","\
+minutes","hours","days","months","years"];Fe.prototype.toPostgres=function(){var r=ha.
filter(this.hasOwnProperty,this);return this.milliseconds&&r.indexOf("seconds")<
0&&r.push("seconds"),r.length===0?"0":r.map(function(e){var t=this[e]||0;return e===
"seconds"&&this.milliseconds&&(t=(t+this.milliseconds/1e3).toFixed(6).replace(/\.?0+$/,
"")),t+" "+e},this).join(" ")};var la={years:"Y",months:"M",days:"D",hours:"H",minutes:"\
-M",seconds:"S"},fa=["years","months","days"],pa=["hours","minutes","seconds"];Me.
-prototype.toISOString=Me.prototype.toISO=function(){var r=fa.map(t,this).join(""),
+M",seconds:"S"},fa=["years","months","days"],pa=["hours","minutes","seconds"];Fe.
+prototype.toISOString=Fe.prototype.toISO=function(){var r=fa.map(t,this).join(""),
e=pa.map(t,this).join("");return"P"+r+"T"+e;function t(n){var i=this[n]||0;return n===
"seconds"&&this.milliseconds&&(i=(i+this.milliseconds/1e3).toFixed(6).replace(/0+$/,
"")),i+la[n]}};var zt="([+-]?\\d+)",da=zt+"\\s+years?",ya=zt+"\\s+mons?",ma=zt+"\
@@ -704,10 +704,10 @@ Ze.binary[r]=e})});var et=I((Kh,tr)=>{"use strict";p();tr.exports={host:"localho
port:5432,rows:0,binary:!1,max:10,idleTimeoutMillis:3e4,client_encoding:"",ssl:!1,
application_name:void 0,fallback_application_name:void 0,options:void 0,parseInputDatesAsUTC:!1,
statement_timeout:!1,lock_timeout:!1,idle_in_transaction_session_timeout:!1,query_timeout:!1,
-connect_timeout:0,keepalives:1,keepalives_idle:0};var De=Xe(),Ga=De.getTypeParser(
-20,"text"),$a=De.getTypeParser(1016,"text");tr.exports.__defineSetter__("parseIn\
-t8",function(r){De.setTypeParser(20,"text",r?De.getTypeParser(23,"text"):Ga),De.
-setTypeParser(1016,"text",r?De.getTypeParser(1007,"text"):$a)})});var tt=I((Yh,Ui)=>{"use strict";p();var Va=(Ht(),O(Wt)),Ka=et();function za(r){var e=r.
+connect_timeout:0,keepalives:1,keepalives_idle:0};var Me=Xe(),Ga=Me.getTypeParser(
+20,"text"),$a=Me.getTypeParser(1016,"text");tr.exports.__defineSetter__("parseIn\
+t8",function(r){Me.setTypeParser(20,"text",r?Me.getTypeParser(23,"text"):Ga),Me.
+setTypeParser(1016,"text",r?Me.getTypeParser(1007,"text"):$a)})});var tt=I((Yh,Ui)=>{"use strict";p();var Va=(Ht(),O(Wt)),Ka=et();function za(r){var e=r.
replace(/\\/g,"\\\\").replace(/"/g,'\\"');return'"'+e+'"'}a(za,"escapeElement");
function ki(r){for(var e="{",t=0;t0&&(e=e+","),r[t]===null||typeof r[t]>
"u"?e=e+"NULL":Array.isArray(r[t])?e=e+ki(r[t]):r[t]instanceof y?e+="\\\\x"+r[t].
@@ -745,9 +745,9 @@ a(tu,"startSession");function ru(r,e,t){if(r.message!=="SASLInitialResponse")thr
r.clientNonce.length)throw new Error("SASL: SCRAM-SERVER-FIRST-MESSAGE: server n\
once is too short")}else throw new Error("SASL: SCRAM-SERVER-FIRST-MESSAGE: serv\
er nonce does not start with client nonce");var i=y.from(n.salt,"base64"),s=uu(e,
-i,n.iteration),o=ke(s,"Client Key"),u=au(o),c="n=*,r="+r.clientNonce,h="r="+n.nonce+
-",s="+n.salt+",i="+n.iteration,l="c=biws,r="+n.nonce,d=c+","+h+","+l,b=ke(u,d),C=qi(
-o,b),B=C.toString("base64"),Q=ke(s,"Server Key"),X=ke(Q,d);r.message="SASLRespon\
+i,n.iteration),o=De(s,"Client Key"),u=au(o),c="n=*,r="+r.clientNonce,h="r="+n.nonce+
+",s="+n.salt+",i="+n.iteration,l="c=biws,r="+n.nonce,d=c+","+h+","+l,b=De(u,d),C=qi(
+o,b),B=C.toString("base64"),Q=De(s,"Server Key"),X=De(Q,d);r.message="SASLRespon\
se",r.serverSignature=X.toString("base64"),r.response=l+",p="+B}a(ru,"continueSe\
ssion");function nu(r,e){if(r.message!=="SASLResponse")throw new Error("SASL: La\
st message was not SASLResponse");if(typeof e!="string")throw new Error("SASL: S\
@@ -777,9 +777,9 @@ a(ou,"parseServerFinalMessage");function qi(r,e){if(!y.isBuffer(r))throw new Typ
argument must be a Buffer");if(r.length!==e.length)throw new Error("Buffer leng\
ths must match");if(r.length===0)throw new Error("Buffers cannot be empty");return y.
from(r.map((t,n)=>r[n]^e[n]))}a(qi,"xorBuffers");function au(r){return nr.createHash(
-"sha256").update(r).digest()}a(au,"sha256");function ke(r,e){return nr.createHmac(
-"sha256",r).update(e).digest()}a(ke,"hmacSha256");function uu(r,e,t){for(var n=ke(
-r,y.concat([e,y.from([0,0,0,1])])),i=n,s=0;scu});function cu(...r){return r.join("/")}var sr=z(()=>{
"use strict";p();a(cu,"join")});var or={};se(or,{stat:()=>hu});function hu(r,e){e(new Error("No filesystem"))}var ar=z(
()=>{"use strict";p();a(hu,"stat")});var ur={};se(ur,{default:()=>lu});var lu,cr=z(()=>{"use strict";p();lu={}});var Wi={};se(Wi,{StringDecoder:()=>hr});var lr,hr,Hi=z(()=>{"use strict";p();lr=
@@ -803,8 +803,8 @@ let n=new fu(t);return n[we]="",n[dt]=new pu("utf8"),n.matcher=r,n.mapper=e,n.ma
t.maxLength,n.skipOverflow=t.skipOverflow||!1,n.overflow=!1,n._destroy=function(i,s){
this._writableState.errorEmitted=!1,s(i)},n}a(mu,"split");Vi.exports=mu});var Zi=I((fl,fe)=>{"use strict";p();var zi=(sr(),O(ir)),gu=(cr(),O(ur)).Stream,wu=Ki(),
Yi=(Ge(),O(He)),bu=5432,yt=m.platform==="win32",rt=m.stderr,Su=56,Eu=7,vu=61440,
-xu=32768;function _u(r){return(r&vu)==xu}a(_u,"isRegFile");var Ue=["host","port",
-"database","user","password"],fr=Ue.length,Au=Ue[fr-1];function pr(){var r=rt instanceof
+xu=32768;function _u(r){return(r&vu)==xu}a(_u,"isRegFile");var ke=["host","port",
+"database","user","password"],fr=ke.length,Au=ke[fr-1];function pr(){var r=rt instanceof
gu&&rt.writable===!0;if(r){var e=Array.prototype.slice.call(arguments).concat(`
`);rt.write(Yi.format.apply(Yi,e))}}a(pr,"warn");Object.defineProperty(fe.exports,
"isWin",{get:a(function(){return yt},"get"),set:a(function(r){yt=r},"set")});fe.
@@ -815,7 +815,7 @@ return Object.prototype.hasOwnProperty.call(m.env,"PGPASSWORD")?!1:yt?!0:(e=e||"
",_u(r.mode)?r.mode&(Su|Eu)?(pr('WARNING: password file "%s" has group or \
world access; permissions should be u=rw (0600) or less',e),!1):!0:(pr('WARNING:\
password file "%s" is not a plain file',e),!1))};var Cu=fe.exports.match=function(r,e){
-return Ue.slice(0,-1).reduce(function(t,n,i){return i==1&&Number(r[n]||bu)===Number(
+return ke.slice(0,-1).reduce(function(t,n,i){return i==1&&Number(r[n]||bu)===Number(
e[n])?t&&!0:t&&(e[n]==="*"||e[n]===r[n])},!0)};fe.exports.getPassword=function(r,e,t){
var n,i=e.pipe(wu());function s(c){var h=Tu(c);h&&Iu(h)&&Cu(r,h)&&(n=h[Au],i.end())}
a(s,"onLine");var o=a(function(){e.destroy(),t(n)},"onEnd"),u=a(function(c){e.destroy(),
@@ -823,13 +823,13 @@ pr("WARNING: error on reading file: %s",c),t(void 0)},"onErr");e.on("error",u),i
on("data",s).on("end",o).on("error",u)};var Tu=fe.exports.parseLine=function(r){
if(r.length<11||r.match(/^\s+#/))return null;for(var e="",t="",n=0,i=0,s=0,o={},
u=!1,c=a(function(l,d,b){var C=r.substring(d,b);Object.hasOwnProperty.call(m.env,
-"PGPASS_NO_DEESCAPE")||(C=C.replace(/\\([:\\])/g,"$1")),o[Ue[l]]=C},"addToObj"),
+"PGPASS_NO_DEESCAPE")||(C=C.replace(/\\([:\\])/g,"$1")),o[ke[l]]=C},"addToObj"),
h=0;h=0&&e==":"&&t!=="\\"&&(c(n,i,h+1),i=h+2,n+=1)}return o=Object.keys(o).length===
fr?o:null,o},Iu=fe.exports.isValidEntry=function(r){for(var e={0:function(o){return o.
length>0},1:function(o){return o==="*"?!0:(o=Number(o),isFinite(o)&&o>0&&o<9007199254740992&&
Math.floor(o)===o)},2:function(o){return o.length>0},3:function(o){return o.length>
-0},4:function(o){return o.length>0}},t=0;t0}},t=0;t{"use strict";p();var yl=(sr(),O(ir)),Ji=(ar(),O(or)),mt=Zi();
dr.exports=function(r,e){var t=mt.getFileName();Ji.stat(t,function(n,i){if(n||!mt.
usePgPass(i,t))return e(void 0);var s=Ji.createReadStream(t);mt.getPassword(r,s,
@@ -862,9 +862,9 @@ return t}a(wr,"parse");is.exports=wr;wr.parse=wr});var bt=I((Tl,us)=>{"use stric
function(r,e,t){return t===void 0?t=m.env["PG"+r.toUpperCase()]:t===!1||(t=m.env[t]),
e[r]||t||as[r]},"val"),Fu=a(function(){switch(m.env.PGSSLMODE){case"disable":return!1;case"\
prefer":case"require":case"verify-ca":case"verify-full":return!0;case"no-verify":
-return{rejectUnauthorized:!1}}return as.ssl},"readSSLConfigFromEnvironment"),Oe=a(
+return{rejectUnauthorized:!1}}return as.ssl},"readSSLConfigFromEnvironment"),Ue=a(
function(r){return"'"+(""+r).replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"},"quo\
-teParamValue"),ie=a(function(r,e,t){var n=e[t];n!=null&&r.push(t+"="+Oe(n))},"ad\
+teParamValue"),ie=a(function(r,e,t){var n=e[t];n!=null&&r.push(t+"="+Ue(n))},"ad\
d"),Sr=class Sr{constructor(e){e=typeof e=="string"?os(e):e||{},e.connectionString&&
(e=Object.assign({},e,os(e.connectionString))),this.user=V("user",e),this.database=
V("database",e),this.database===void 0&&(this.database=this.user),this.port=parseInt(
@@ -887,11 +887,11 @@ ie(t,this,"user"),ie(t,this,"password"),ie(t,this,"port"),ie(t,this,"application
_name"),ie(t,this,"fallback_application_name"),ie(t,this,"connect_timeout"),ie(t,
this,"options");var n=typeof this.ssl=="object"?this.ssl:this.ssl?{sslmode:this.
ssl}:{};if(ie(t,n,"sslmode"),ie(t,n,"sslca"),ie(t,n,"sslkey"),ie(t,n,"sslcert"),
-ie(t,n,"sslrootcert"),this.database&&t.push("dbname="+Oe(this.database)),this.replication&&
-t.push("replication="+Oe(this.replication)),this.host&&t.push("host="+Oe(this.host)),
+ie(t,n,"sslrootcert"),this.database&&t.push("dbname="+Ue(this.database)),this.replication&&
+t.push("replication="+Ue(this.replication)),this.host&&t.push("host="+Ue(this.host)),
this.isDomainSocket)return e(null,t.join(" "));this.client_encoding&&t.push("cli\
-ent_encoding="+Oe(this.client_encoding)),Ru.lookup(this.host,function(i,s){return i?
-e(i,null):(t.push("hostaddr="+Oe(s)),e(null,t.join(" ")))})}};a(Sr,"ConnectionPa\
+ent_encoding="+Ue(this.client_encoding)),Ru.lookup(this.host,function(i,s){return i?
+e(i,null):(t.push("hostaddr="+Ue(s)),e(null,t.join(" ")))})}};a(Sr,"ConnectionPa\
rameters");var br=Sr;us.exports=br});var ls=I((Bl,hs)=>{"use strict";p();var Mu=Xe(),cs=/^([A-Za-z]+)(?: (\d+))?(?: (\d+))?/,
vr=class vr{constructor(e,t){this.command=null,this.rowCount=null,this.oid=null,
this.rows=[],this.fields=[],this._parsers=void 0,this._types=t,this.RowCtor=null,
@@ -939,7 +939,7 @@ binary,valueMapper:ps.prepareValue})}catch(t){this.handleError(t,e);return}e.des
{type:"P",name:this.portal||""}),this._getRows(e,this.rows)}handleCopyInResponse(e){
e.sendCopyFail("No source stream defined")}handleCopyData(e,t){}};a(_r,"Query");
var xr=_r;ds.exports=xr});var ws={};se(ws,{Socket:()=>_e,isIP:()=>ku});function ku(r){return 0}var gs,ms,x,
-_e,St=z(()=>{"use strict";p();gs=Ie(ge(),1);a(ku,"isIP");ms=/^[^.]+\./,x=class x extends gs.EventEmitter{constructor(){
+_e,St=z(()=>{"use strict";p();gs=Te(ge(),1);a(ku,"isIP");ms=/^[^.]+\./,x=class x extends gs.EventEmitter{constructor(){
super(...arguments);_(this,"opts",{});_(this,"connecting",!1);_(this,"pending",!0);
_(this,"writable",!0);_(this,"encrypted",!1);_(this,"authorized",!1);_(this,"des\
troyed",!1);_(this,"ws",null);_(this,"writeBuffer");_(this,"tlsState",0);_(this,
@@ -1087,12 +1087,12 @@ r=>M.addCString(r).flush(81),"query"),Ss=[],Wu=a(r=>{let e=r.name||"";e.length>6
console.error("You supplied %s (%s)",e,e.length),console.error("This can cause c\
onflicts and silent errors executing queries"));let t=r.types||Ss;for(var n=t.length,
i=M.addCString(e).addCString(r.text).addInt16(n),s=0;s{let e=r.portal||"",t=r.statement||
+flush(80)},"parse"),Oe=new rn.Writer,Hu=a(function(r,e){for(let t=0;t{let e=r.portal||"",t=r.statement||
"",n=r.binary||!1,i=r.values||Ss,s=i.length;return M.addCString(e).addCString(t),
-M.addInt16(s),Hu(i,r.valueMapper),M.addInt16(s),M.add(Ne.flush()),M.addInt16(n?1:
+M.addInt16(s),Hu(i,r.valueMapper),M.addInt16(s),M.add(Oe.flush()),M.addInt16(n?1:
0),M.flush(66)},"bind"),$u=y.from([69,0,0,0,9,0,0,0,0,0]),Vu=a(r=>{if(!r||!r.portal&&
!r.rows)return $u;let e=r.portal||"",t=r.rows||0,n=y.byteLength(e),i=4+n+1+4,s=y.
allocUnsafe(1+i);return s[0]=69,s.writeInt32BE(i,1),s.write(e,5,"utf-8"),s[n+5]=
@@ -1339,7 +1339,7 @@ Ls;Rs.exports=Ct});var Us=I((ff,ks)=>{"use strict";p();var Ac=ge().EventEmitter,
NOOP"),Ds=a((r,e)=>{let t=r.findIndex(e);return t===-1?void 0:r.splice(t,1)[0]},
"removeWhere"),wn=class wn{constructor(e,t,n){this.client=e,this.idleListener=t,
this.timeoutId=n}};a(wn,"IdleItem");var mn=wn,bn=class bn{constructor(e){this.callback=
-e}};a(bn,"PendingItem");var qe=bn;function Cc(){throw new Error("Release called \
+e}};a(bn,"PendingItem");var Ne=bn;function Cc(){throw new Error("Release called \
on client which has already been released to the pool.")}a(Cc,"throwOnDoubleRele\
ase");function Tt(r,e){if(e)return{callback:e,result:void 0};let t,n,i=a(function(o,u){
o?t(o):n(u)},"cb"),s=new r(function(o,u){n=o,t=u}).catch(o=>{throw Error.captureStackTrace(
@@ -1371,11 +1371,11 @@ e),e.end(),this.emit("remove",e)}connect(e){if(this.ending){let i=new Error("Can
not use a pool after calling end on the pool");return e?e(i):this.Promise.reject(
i)}let t=Tt(this.Promise,e),n=t.result;if(this._isFull()||this._idle.length){if(this.
_idle.length&&m.nextTick(()=>this._pulseQueue()),!this.options.connectionTimeoutMillis)
-return this._pendingQueue.push(new qe(t.callback)),n;let i=a((u,c,h)=>{clearTimeout(
-o),t.callback(u,c,h)},"queueCallback"),s=new qe(i),o=setTimeout(()=>{Ds(this._pendingQueue,
+return this._pendingQueue.push(new Ne(t.callback)),n;let i=a((u,c,h)=>{clearTimeout(
+o),t.callback(u,c,h)},"queueCallback"),s=new Ne(i),o=setTimeout(()=>{Ds(this._pendingQueue,
u=>u.callback===i),s.timedOut=!0,t.callback(new Error("timeout exceeded when try\
ing to connect"))},this.options.connectionTimeoutMillis);return this._pendingQueue.
-push(s),n}return this.newClient(new qe(t.callback)),n}newClient(e){let t=new this.
+push(s),n}return this.newClient(new Ne(t.callback)),n}newClient(e){let t=new this.
Client(this.options);this._clients.push(t);let n=Tc(this,t);this.log("checking c\
lient timeout");let i,s=!1;this.options.connectionTimeoutMillis&&(i=setTimeout(()=>{
this.log("ending client due to timeout"),s=!0,t.connection?t.connection.stream.destroy():
@@ -1386,7 +1386,7 @@ ion terminated due to connection timeout"),this._pulseQueue(),e.timedOut||e.call
o,void 0,Ms);else{if(this.log("new client connected"),this.options.maxLifetimeSeconds!==
0){let u=setTimeout(()=>{this.log("ending client due to expired lifetime"),this.
_expired.add(t),this._idle.findIndex(h=>h.client===t)!==-1&&this._acquireClient(
-t,new qe((h,l,d)=>d()),n,!1)},this.options.maxLifetimeSeconds*1e3);u.unref(),t.once(
+t,new Ne((h,l,d)=>d()),n,!1)},this.options.maxLifetimeSeconds*1e3);u.unref(),t.once(
"end",()=>clearTimeout(u))}return this._acquireClient(t,e,n,!0)}})}_acquireClient(e,t,n,i){
i&&this.emit("connect",e),this.emit("acquire",e),e.release=this._releaseOnce(e,n),
e.removeListener("error",n),t.timedOut?i&&this.options.verify?this.options.verify(
@@ -1426,20 +1426,20 @@ pes":"^2.1.0",pgpass:"1.x"},devDependencies:{async:"2.6.4",bluebird:"3.5.2",co:"
"pg-native":{optional:!0}},scripts:{test:"make test-all"},files:["lib","SPONSORS\
.md"],license:"MIT",engines:{node:">= 8.0.0"},gitHead:"c99fb2c127ddf8d712500db2c\
7b9a5491a178655"}});var Ws=I((gf,js)=>{"use strict";p();var Qs=ge().EventEmitter,Bc=(Ge(),O(He)),En=tt(),
-Qe=js.exports=function(r,e,t){Qs.call(this),r=En.normalizeQueryConfig(r,e,t),this.
+qe=js.exports=function(r,e,t){Qs.call(this),r=En.normalizeQueryConfig(r,e,t),this.
text=r.text,this.values=r.values,this.name=r.name,this.callback=r.callback,this.
state="new",this._arrayMode=r.rowMode==="array",this._emitRowEvents=!1,this.on("\
newListener",function(n){n==="row"&&(this._emitRowEvents=!0)}.bind(this))};Bc.inherits(
-Qe,Qs);var Lc={sqlState:"code",statementPosition:"position",messagePrimary:"mess\
+qe,Qs);var Lc={sqlState:"code",statementPosition:"position",messagePrimary:"mess\
age",context:"where",schemaName:"schema",tableName:"table",columnName:"column",dataTypeName:"\
dataType",constraintName:"constraint",sourceFile:"file",sourceLine:"line",sourceFunction:"\
-routine"};Qe.prototype.handleError=function(r){var e=this.native.pq.resultErrorFields();
+routine"};qe.prototype.handleError=function(r){var e=this.native.pq.resultErrorFields();
if(e)for(var t in e){var n=Lc[t]||t;r[n]=e[t]}this.callback?this.callback(r):this.
-emit("error",r),this.state="error"};Qe.prototype.then=function(r,e){return this.
-_getPromise().then(r,e)};Qe.prototype.catch=function(r){return this._getPromise().
-catch(r)};Qe.prototype._getPromise=function(){return this._promise?this._promise:
+emit("error",r),this.state="error"};qe.prototype.then=function(r,e){return this.
+_getPromise().then(r,e)};qe.prototype.catch=function(r){return this._getPromise().
+catch(r)};qe.prototype._getPromise=function(){return this._promise?this._promise:
(this._promise=new Promise(function(r,e){this._once("end",r),this._once("error",
-e)}.bind(this)),this._promise)};Qe.prototype.submit=function(r){this.state="runn\
+e)}.bind(this)),this._promise)};qe.prototype.submit=function(r){this.state="runn\
ing";var e=this;this.native=r.native,r.native.arrayMode=this._arrayMode;var t=a(
function(s,o,u){if(r.native.arrayMode=!1,E(function(){e.emit("_done")}),s)return e.
handleError(s);e._emitRowEvents&&(u.length>1?o.forEach((c,h)=>{c.forEach(l=>{e.emit(
@@ -1509,7 +1509,7 @@ types=Xe(),this.DatabaseError=qc},"PG");typeof m.env.NODE_PG_FORCE_NATIVE<"u"?nt
exports=new xn(vn()):(nt.exports=new xn(kc),Object.defineProperty(nt.exports,"na\
tive",{configurable:!0,enumerable:!1,get(){var r=null;try{r=new xn(vn())}catch(e){
if(e.code!=="MODULE_NOT_FOUND")throw e}return Object.defineProperty(nt.exports,"\
-native",{value:r}),r}}))});p();var Bt=Ie(It());St();p();St();mr();var Zs=Ie(tt()),Js=Ie(wt());var Pt=class Pt extends Error{constructor(t){super(t);_(this,"name","NeonDbError");
+native",{value:r}),r}}))});p();var Bt=Te(It());St();p();St();mr();var Zs=Te(tt()),Js=Te(wt());var Pt=class Pt extends Error{constructor(t){super(t);_(this,"name","NeonDbError");
_(this,"severity");_(this,"code");_(this,"detail");_(this,"hint");_(this,"positi\
on");_(this,"internalPosition");_(this,"internalQuery");_(this,"where");_(this,"\
schema");_(this,"table");_(this,"column");_(this,"dataType");_(this,"constraint");
@@ -1533,40 +1533,40 @@ params:g};return u&&u(k),Wc(de,k,K)}a(X,"resolve"),X.transaction=async(A,g)=>{if
"function"&&(A=A(X)),!Array.isArray(A))throw new Error(zs);A.forEach(k=>{if(k[Symbol.
toStringTag]!=="NeonQueryPromise")throw new Error(zs)});let P=A.map(k=>k.parameterizedQuery),
K=A.map(k=>k.opts??{});return de(P,K,g)};async function de(A,g,P){let{fetchEndpoint:K,
-fetchFunction:k}=_e,j=typeof K=="function"?K(C,B,{jwtAuth:h!==void 0}):K,ue=Array.
-isArray(A)?{queries:A}:A,ee=n??{},R=e??!1,$=t??!1,ce=i,ye=s,Se=o;P!==void 0&&(P.
-fetchOptions!==void 0&&(ee={...ee,...P.fetchOptions}),P.arrayMode!==void 0&&(R=P.
-arrayMode),P.fullResults!==void 0&&($=P.fullResults),P.isolationLevel!==void 0&&
-(ce=P.isolationLevel),P.readOnly!==void 0&&(ye=P.readOnly),P.deferrable!==void 0&&
-(Se=P.deferrable)),g!==void 0&&!Array.isArray(g)&&g.fetchOptions!==void 0&&(ee={
-...ee,...g.fetchOptions});let Ae=h;!Array.isArray(g)&&g?.authToken!==void 0&&(Ae=
-g.authToken);let he={"Neon-Connection-String":r,"Neon-Raw-Text-Output":"true","N\
-eon-Array-Mode":"true"},it=await Hc(Ae);it&&(he.Authorization=`Bearer ${it}`),Array.
-isArray(A)&&(ce!==void 0&&(he["Neon-Batch-Isolation-Level"]=ce),ye!==void 0&&(he["\
-Neon-Batch-Read-Only"]=String(ye)),Se!==void 0&&(he["Neon-Batch-Deferrable"]=String(
-Se)));let te;try{te=await(k??fetch)(j,{method:"POST",body:JSON.stringify(ue),headers:he,
-...ee})}catch(W){let H=new pe(`Error connecting to database: ${W.message}`);throw H.
-sourceError=W,H}if(te.ok){let W=await te.json();if(Array.isArray(A)){let H=W.results;
-if(!Array.isArray(H))throw new pe("Neon internal error: unexpected result format");
-return H.map((Ce,Ee)=>{let Lt=g[Ee]??{},ro=Lt.arrayMode??R,no=Lt.fullResults??$;
-return Ys(Ce,{arrayMode:ro,fullResults:no,parameterizedQuery:A[Ee],resultCallback:c,
-types:Lt.types})})}else{let H=g??{},Ce=H.arrayMode??R,Ee=H.fullResults??$;return Ys(
-W,{arrayMode:Ce,fullResults:Ee,parameterizedQuery:A,resultCallback:c,types:H.types})}}else{
-let{status:W}=te;if(W===400){let H=await te.json(),Ce=new pe(H.message);for(let Ee of jc)
-Ce[Ee]=H[Ee]??void 0;throw Ce}else{let H=await te.text();throw new pe(`Server er\
-ror (HTTP status ${W}): ${H}`)}}}return a(de,"execute"),X}a(Xs,"neon");function Wc(r,e,t){
-return{[Symbol.toStringTag]:"NeonQueryPromise",parameterizedQuery:e,opts:t,then:a(
-(n,i)=>r(e,t).then(n,i),"then"),catch:a(n=>r(e,t).catch(n),"catch"),finally:a(n=>r(
-e,t).finally(n),"finally")}}a(Wc,"createNeonQueryPromise");function Ys(r,{arrayMode:e,
-fullResults:t,parameterizedQuery:n,resultCallback:i,types:s}){let o=new Js.default(
-s),u=r.fields.map(l=>l.name),c=r.fields.map(l=>o.getTypeParser(l.dataTypeID)),h=e===
-!0?r.rows.map(l=>l.map((d,b)=>d===null?null:c[b](d))):r.rows.map(l=>Object.fromEntries(
-l.map((d,b)=>[u[b],d===null?null:c[b](d)])));return i&&i(n,r,h,{arrayMode:e,fullResults:t}),
+fetchFunction:k}=_e,j=Array.isArray(A)?{queries:A}:A,ee=n??{},oe=e??!1,R=t??!1,$=i,
+ce=s,ye=o;P!==void 0&&(P.fetchOptions!==void 0&&(ee={...ee,...P.fetchOptions}),P.
+arrayMode!==void 0&&(oe=P.arrayMode),P.fullResults!==void 0&&(R=P.fullResults),P.
+isolationLevel!==void 0&&($=P.isolationLevel),P.readOnly!==void 0&&(ce=P.readOnly),
+P.deferrable!==void 0&&(ye=P.deferrable)),g!==void 0&&!Array.isArray(g)&&g.fetchOptions!==
+void 0&&(ee={...ee,...g.fetchOptions});let Se=h;!Array.isArray(g)&&g?.authToken!==
+void 0&&(Se=g.authToken);let je=typeof K=="function"?K(C,B,{jwtAuth:Se!==void 0}):
+K,he={"Neon-Connection-String":r,"Neon-Raw-Text-Output":"true","Neon-Array-Mode":"\
+true"},it=await Hc(Se);it&&(he.Authorization=`Bearer ${it}`),Array.isArray(A)&&($!==
+void 0&&(he["Neon-Batch-Isolation-Level"]=$),ce!==void 0&&(he["Neon-Batch-Read-O\
+nly"]=String(ce)),ye!==void 0&&(he["Neon-Batch-Deferrable"]=String(ye)));let te;
+try{te=await(k??fetch)(je,{method:"POST",body:JSON.stringify(j),headers:he,...ee})}catch(W){
+let H=new pe(`Error connecting to database: ${W.message}`);throw H.sourceError=W,
+H}if(te.ok){let W=await te.json();if(Array.isArray(A)){let H=W.results;if(!Array.
+isArray(H))throw new pe("Neon internal error: unexpected result format");return H.
+map((Ae,Ee)=>{let Lt=g[Ee]??{},ro=Lt.arrayMode??oe,no=Lt.fullResults??R;return Ys(
+Ae,{arrayMode:ro,fullResults:no,parameterizedQuery:A[Ee],resultCallback:c,types:Lt.
+types})})}else{let H=g??{},Ae=H.arrayMode??oe,Ee=H.fullResults??R;return Ys(W,{arrayMode:Ae,
+fullResults:Ee,parameterizedQuery:A,resultCallback:c,types:H.types})}}else{let{status:W}=te;
+if(W===400){let H=await te.json(),Ae=new pe(H.message);for(let Ee of jc)Ae[Ee]=H[Ee]??
+void 0;throw Ae}else{let H=await te.text();throw new pe(`Server error (HTTP stat\
+us ${W}): ${H}`)}}}return a(de,"execute"),X}a(Xs,"neon");function Wc(r,e,t){return{
+[Symbol.toStringTag]:"NeonQueryPromise",parameterizedQuery:e,opts:t,then:a((n,i)=>r(
+e,t).then(n,i),"then"),catch:a(n=>r(e,t).catch(n),"catch"),finally:a(n=>r(e,t).finally(
+n),"finally")}}a(Wc,"createNeonQueryPromise");function Ys(r,{arrayMode:e,fullResults:t,
+parameterizedQuery:n,resultCallback:i,types:s}){let o=new Js.default(s),u=r.fields.
+map(l=>l.name),c=r.fields.map(l=>o.getTypeParser(l.dataTypeID)),h=e===!0?r.rows.
+map(l=>l.map((d,b)=>d===null?null:c[b](d))):r.rows.map(l=>Object.fromEntries(l.map(
+(d,b)=>[u[b],d===null?null:c[b](d)])));return i&&i(n,r,h,{arrayMode:e,fullResults:t}),
t?(r.viaNeonFetch=!0,r.rowAsArray=e,r.rows=h,r._parsers=c,r._types=o,r):h}a(Ys,"\
processQueryResult");async function Hc(r){if(typeof r=="string")return r;if(typeof r==
"function")try{return await Promise.resolve(r())}catch(e){let t=new pe("Error ge\
tting auth token.");throw e instanceof Error&&(t=new pe(`Error getting auth toke\
-n: ${e.message}`)),t}}a(Hc,"getAuthToken");var to=Ie(bt()),je=Ie(It());var An=class An extends Bt.Client{constructor(t){super(t);this.config=t}get neonConfig(){
+n: ${e.message}`)),t}}a(Hc,"getAuthToken");var to=Te(bt()),Qe=Te(It());var An=class An extends Bt.Client{constructor(t){super(t);this.config=t}get neonConfig(){
return this.connection.stream}connect(t){let{neonConfig:n}=this;n.forceDisablePgSSL&&
(this.ssl=this.connection.ssl=!1),this.ssl&&n.useSecureWebSocket&&console.warn("\
SSL is enabled for both Postgres (e.g. ?sslmode=require in the connection string\
@@ -1604,15 +1604,15 @@ C=b.encode(i),B=await w.subtle.importKey("raw",C,{name:"HMAC",hash:{name:"SHA-25
"HMAC",B,Q)),X=y.from(X.map((te,W)=>X[W]^Q[W]));let A=X,g=await w.subtle.importKey(
"raw",A,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),P=new Uint8Array(await w.
subtle.sign("HMAC",g,b.encode("Client Key"))),K=await w.subtle.digest("SHA-256",
-P),k="n=*,r="+n.clientNonce,j="r="+u+",s="+c+",i="+l,ue="c=biws,r="+u,ee=k+","+j+
-","+ue,R=await w.subtle.importKey("raw",K,{name:"HMAC",hash:{name:"SHA-256"}},!1,
-["sign"]);var $=new Uint8Array(await w.subtle.sign("HMAC",R,b.encode(ee))),ce=y.
+P),k="n=*,r="+n.clientNonce,j="r="+u+",s="+c+",i="+l,ee="c=biws,r="+u,oe=k+","+j+
+","+ee,R=await w.subtle.importKey("raw",K,{name:"HMAC",hash:{name:"SHA-256"}},!1,
+["sign"]);var $=new Uint8Array(await w.subtle.sign("HMAC",R,b.encode(oe))),ce=y.
from(P.map((te,W)=>P[W]^$[W])),ye=ce.toString("base64");let Se=await w.subtle.importKey(
-"raw",A,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),Ae=await w.subtle.sign(
-"HMAC",Se,b.encode("Server Key")),he=await w.subtle.importKey("raw",Ae,{name:"HM\
+"raw",A,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),je=await w.subtle.sign(
+"HMAC",Se,b.encode("Server Key")),he=await w.subtle.importKey("raw",je,{name:"HM\
AC",hash:{name:"SHA-256"}},!1,["sign"]);var it=y.from(await w.subtle.sign("HMAC",
-he,b.encode(ee)));n.message="SASLResponse",n.serverSignature=it.toString("base64"),
-n.response=ue+",p="+ye,this.connection.sendSCRAMClientFinalMessage(this.saslSession.
+he,b.encode(oe)));n.message="SASLResponse",n.serverSignature=it.toString("base64"),
+n.response=ee+",p="+ye,this.connection.sendSCRAMClientFinalMessage(this.saslSession.
response)}};a(An,"NeonClient");var _n=An;function Gc(r,e){if(e)return{callback:e,
result:void 0};let t,n,i=a(function(o,u){o?t(o):n(u)},"cb"),s=new r(function(o,u){
n=o,t=u});return{callback:i,result:s}}a(Gc,"promisify");var Cn=class Cn extends Bt.Pool{constructor(){
@@ -1624,8 +1624,8 @@ i);i=s.callback;try{let o=new to.default(this.options),u=encodeURIComponent,c=en
h=`postgresql://${u(o.user)}:${u(o.password)}@${u(o.host)}/${c(o.database)}`,l=typeof t==
"string"?t:t.text,d=n??t.values??[];Xs(h,{fullResults:!0,arrayMode:t.rowMode==="\
array"})(l,d,{types:t.types??this.options?.types}).then(C=>i(void 0,C)).catch(C=>i(
-C))}catch(o){i(o)}return s.result}};a(Cn,"NeonPool");var eo=Cn;var export_ClientBase=je.ClientBase;var export_Connection=je.Connection;var export_DatabaseError=je.DatabaseError;
-var export_Query=je.Query;var export_defaults=je.defaults;var export_types=je.types;
+C))}catch(o){i(o)}return s.result}};a(Cn,"NeonPool");var eo=Cn;var export_ClientBase=Qe.ClientBase;var export_Connection=Qe.Connection;var export_DatabaseError=Qe.DatabaseError;
+var export_Query=Qe.Query;var export_defaults=Qe.defaults;var export_types=Qe.types;
export{_n as Client,export_ClientBase as ClientBase,export_Connection as Connection,
export_DatabaseError as DatabaseError,pe as NeonDbError,eo as Pool,export_Query as Query,
export_defaults as defaults,Xs as neon,_e as neonConfig,export_types as types};
diff --git a/dist/npm/package-lock.json b/dist/npm/package-lock.json
index 1f17487..116b66c 100644
--- a/dist/npm/package-lock.json
+++ b/dist/npm/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@neondatabase/serverless",
- "version": "0.10.3",
+ "version": "0.10.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@neondatabase/serverless",
- "version": "0.10.3",
+ "version": "0.10.4",
"license": "MIT",
"dependencies": {
"@types/pg": "^8.6.6"
diff --git a/dist/npm/package.json b/dist/npm/package.json
index 92b8388..856deee 100644
--- a/dist/npm/package.json
+++ b/dist/npm/package.json
@@ -1,6 +1,6 @@
{
"name": "@neondatabase/serverless",
- "version": "0.10.3",
+ "version": "0.10.4",
"author": "Neon",
"description": "node-postgres for serverless environments from neon.tech",
"exports": {
diff --git a/export/httpQuery.ts b/export/httpQuery.ts
index 3973370..7a640fc 100644
--- a/export/httpQuery.ts
+++ b/export/httpQuery.ts
@@ -232,13 +232,6 @@ export function neon(
) {
const { fetchEndpoint, fetchFunction } = Socket;
- const url =
- typeof fetchEndpoint === 'function'
- ? fetchEndpoint(hostname, port, {
- jwtAuth: authToken !== undefined,
- })
- : fetchEndpoint;
-
const bodyData = Array.isArray(parameterizedQuery)
? { queries: parameterizedQuery }
: parameterizedQuery;
@@ -288,8 +281,15 @@ export function neon(
resolvedAuthToken = allSqlOpts.authToken;
}
- // --- set headers ---
+ // --- set up the URL ---
+ const url =
+ typeof fetchEndpoint === 'function'
+ ? fetchEndpoint(hostname, port, {
+ jwtAuth: resolvedAuthToken !== undefined,
+ })
+ : fetchEndpoint;
+ // --- set headers ---
const headers: Record = {
'Neon-Connection-String': connectionString,
'Neon-Raw-Text-Output': 'true', // because we do our own parsing with node-postgres