{"_id":"@aws/aurora-dsql-node-postgres-connector","_rev":"10-757fee507387a83a083a146bff8821fe","name":"@aws/aurora-dsql-node-postgres-connector","dist-tags":{"latest":"0.1.9"},"versions":{"0.1.0":{"name":"@aws/aurora-dsql-node-postgres-connector","version":"0.1.0","keywords":["aws","aurora","dsql","postgres","database","iam","authentication"],"license":"Apache-2.0","_id":"@aws/aurora-dsql-node-postgres-connector@0.1.0","maintainers":[{"name":"aws-aurora-dsql-devex","email":"aws-aurora-dsql-devex@amazon.com"}],"homepage":"https://github.com/awslabs/aurora-dsql-nodejs-connector","bugs":{"url":"https://github.com/awslabs/aurora-dsql-nodejs-connector/issues"},"dist":{"shasum":"8e527dec13f1e12cee396ed5e41d790f6092d436","tarball":"https://registry.npmjs.org/@aws/aurora-dsql-node-postgres-connector/-/aurora-dsql-node-postgres-connector-0.1.0.tgz","fileCount":20,"integrity":"sha512-GyDoOSBr72RUAjgpKSNnQjrZn8seb7H57xqiILWSVpHfczT+JgIdyeLbDD+mfgWyWJiF5pDGHqMCSj5SoqaHVw==","signatures":[{"sig":"MEYCIQCiD1VuMLVloSXBBCX/4kJ/fKoayTfYS59ID1F3d1vOlgIhAPzgUll5+fajYFlH/p65KneTe4aPkfhApCTSEfjoubhN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faurora-dsql-node-postgres-connector@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24483},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"b5edd30e029e4211214c973573c9690953a5b0f1","scripts":{"lint":"eslint src/ test/","test":"jest","build":"tsc","lint:fix":"eslint src/ test/ --fix","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch"},"_npmUser":{"name":"aws-aurora-dsql-devex","email":"aws-aurora-dsql-devex@amazon.com"},"repository":{"url":"git+https://github.com/awslabs/aurora-dsql-nodejs-connector.git","type":"git"},"_npmVersion":"10.8.2","description":"An AWS Aurora DSQL connector with IAM authentication for node-postgres","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@aws-sdk/dsql-signer":"^3.920.0","@aws-sdk/credential-providers":"^3.894.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.16.3","tsx":"^4.20.6","jest":"^30.2.0","eslint":"^9.38.0","ts-jest":"^29.4.5","@types/pg":"^8.15.6","@eslint/js":"^9.37.0","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^24.9.2","eslint-plugin-header":"^3.1.1","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"peerDependencies":{"pg":"^8.16.3"},"_npmOperationalInternal":{"tmp":"tmp/aurora-dsql-node-postgres-connector_0.1.0_1761786066759_0.7985007352380851","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aws/aurora-dsql-node-postgres-connector","version":"0.1.1","keywords":["aws","aurora","dsql","postgres","database","iam","authentication"],"license":"Apache-2.0","_id":"@aws/aurora-dsql-node-postgres-connector@0.1.1","maintainers":[{"name":"aws-aurora-dsql-devex","email":"aws-aurora-dsql-devex@amazon.com"}],"homepage":"https://github.com/awslabs/aurora-dsql-nodejs-connector","bugs":{"url":"https://github.com/awslabs/aurora-dsql-nodejs-connector/issues"},"dist":{"shasum":"2a11002f154ac79d944976e67c480e26da5e6e2a","tarball":"https://registry.npmjs.org/@aws/aurora-dsql-node-postgres-connector/-/aurora-dsql-node-postgres-connector-0.1.1.tgz","fileCount":20,"integrity":"sha512-V+BWw9zPp5WL3++WkNYTtwYtSFzUttUYVaWCahHRtsltjQJwedQ+40E9RJ3FtA+ORNGQtOO53TsqdXOknNlfIg==","signatures":[{"sig":"MEUCIQCUrxksc54bcd0ZrJmhnbheq91xict2/KilXaxlmHyj0AIgGtZrBP1UDxVlm6P6DjkaVKziMosAbU1LVNO2ae0AVPM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faurora-dsql-node-postgres-connector@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23385},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"43e8bae03529d2c3f267f025f82e5d0c9e514980","scripts":{"lint":"eslint src/ test/","test":"jest","build":"tsc","lint:fix":"eslint src/ test/ --fix","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch"},"_npmUser":{"name":"aws-aurora-dsql-devex","email":"aws-aurora-dsql-devex@amazon.com"},"repository":{"url":"git+https://github.com/awslabs/aurora-dsql-nodejs-connector.git","type":"git"},"_npmVersion":"10.8.2","description":"An AWS Aurora DSQL connector with IAM authentication for node-postgres","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@aws-sdk/dsql-signer":"^3.940.0","@aws-sdk/credential-providers":"^3.894.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.16.3","tsx":"^4.20.6","jest":"^30.2.0","eslint":"^9.39.1","ts-jest":"^29.4.5","@types/pg":"^8.15.6","@eslint/js":"^9.37.0","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^24.10.1","eslint-plugin-header":"^3.1.1","@typescript-eslint/parser":"^8.48.0","@typescript-eslint/eslint-plugin":"^8.48.0"},"peerDependencies":{"pg":"^8.16.3"},"_npmOperationalInternal":{"tmp":"tmp/aurora-dsql-node-postgres-connector_0.1.1_1764200091179_0.00449009003185874","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aws/aurora-dsql-node-postgres-connector","version":"0.1.2","keywords":["aws","aurora","dsql","postgres","database","iam","authentication"],"license":"Apache-2.0","_id":"@aws/aurora-dsql-node-postgres-connector@0.1.2","maintainers":[{"name":"aws-aurora-dsql-devex","email":"aws-aurora-dsql-devex@amazon.com"}],"homepage":"https://github.com/awslabs/aurora-dsql-nodejs-connector","bugs":{"url":"https://github.com/awslabs/aurora-dsql-nodejs-connector/issues"},"dist":{"shasum":"cf1523f09bf3884ce46d4f15178ab96c56b85a48","tarball":"https://registry.npmjs.org/@aws/aurora-dsql-node-postgres-connector/-/aurora-dsql-node-postgres-connector-0.1.2.tgz","fileCount":6,"integrity":"sha512-Xq24Get9v9SU2FHLQQbxUMbE0OWcnrIBL3Svg74iwWmjI2EeL3RmwU5yRA6P/DkUrDtFHnE8Nr+YbR3wJsX9/Q==","signatures":[{"sig":"MEYCIQD3VL8EjrjqE8/oAj+VLnXZDoZa1H6HppyKnzsTEP9KvAIhALaMzJSypil/1qhnjD86tEn0lGstg9AEEKILtzymJiDf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faurora-dsql-node-postgres-connector@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32374},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"c4a3da58ea576f639846f2b555135264bd2cf196","scripts":{"lint":"eslint src/ test/","test":"npm run test:unit && npm run test:integration","build":"npm run build:dev","clean":"rm -rf dist/ node_modules/","lint:fix":"eslint src/ test/ --fix","build:dev":"npm run typecheck && tsdown \"src/**/*.ts\" --format cjs,esm --dts --sourcemap","test:unit":"jest --testPathIgnorePatterns=integration","typecheck":"tsc --noEmit","build:prod":"npm run typecheck && tsdown src/index.ts --format cjs,esm --dts","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","test:integration":"NODE_OPTIONS='--experimental-vm-modules' jest --testPathPatterns=integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:105a6493-5b59-4545-9a0a-c01f8b5605dc"}},"repository":{"url":"git+https://github.com/awslabs/aurora-dsql-nodejs-connector.git","type":"git"},"_npmVersion":"11.6.2","description":"An AWS Aurora DSQL connector with IAM authentication for node-postgres","directories":{},"_nodeVersion":"25.2.1","dependencies":{"@aws-sdk/dsql-signer":"^3.940.0","@aws-sdk/credential-providers":"^3.894.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.16.3","tsx":"^4.20.6","jest":"^30.2.0","eslint":"^9.39.1","tsdown":"^0.17.2","ts-jest":"^29.4.5","@types/pg":"^8.15.6","@eslint/js":"^9.37.0","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^25.0.0","eslint-plugin-header":"^3.1.1","@typescript-eslint/parser":"^8.48.0","@typescript-eslint/eslint-plugin":"^8.48.0"},"peerDependencies":{"pg":"^8.16.3"},"_npmOperationalInternal":{"tmp":"tmp/aurora-dsql-node-postgres-connector_0.1.2_1765480162564_0.042601005546668125","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@aws/aurora-dsql-node-postgres-connector","version":"0.1.3","keywords":["aws","aurora","dsql","postgres","database","iam","authentication"],"license":"Apache-2.0","_id":"@aws/aurora-dsql-node-postgres-connector@0.1.3","maintainers":[{"name":"aws-aurora-dsql-devex","email":"aws-aurora-dsql-devex@amazon.com"}],"homepage":"https://github.com/awslabs/aurora-dsql-nodejs-connector","bugs":{"url":"https://github.com/awslabs/aurora-dsql-nodejs-connector/issues"},"dist":{"shasum":"ae803f2a6571bd8f401119349a1c54d978b48cf9","tarball":"https://registry.npmjs.org/@aws/aurora-dsql-node-postgres-connector/-/aurora-dsql-node-postgres-connector-0.1.3.tgz","fileCount":6,"integrity":"sha512-t87X6nE1Q4ygqpNeW8RTco0EXn1NLPqSi6ueX/dVCRr6I6swgExvWmSmgpBjfXGfjxCINfDpGTr2RlbFJBT61g==","signatures":[{"sig":"MEQCIGMkj1+oiGX5D462uRjOD/IECR8HCtfXUu1sK+V6VxfjAiBq7SbGzhqvVwghBUaany71QuKeFrZBTEoqTfQSaB5fAw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faurora-dsql-node-postgres-connector@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32590},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"b1186a78af3584583096015cf6d7cc05bbda1c6d","scripts":{"lint":"eslint src/ test/","test":"npm run test:unit && npm run test:integration","build":"npm run build:dev","clean":"rm -rf dist/ node_modules/","lint:fix":"eslint src/ test/ --fix","build:dev":"npm run typecheck && tsdown \"src/**/*.ts\" --format cjs,esm --dts --sourcemap","test:unit":"jest --testPathIgnorePatterns=integration","typecheck":"tsc --noEmit","build:prod":"npm run typecheck && tsdown src/index.ts --format cjs,esm --dts","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","test:integration":"NODE_OPTIONS='--experimental-vm-modules' jest --testPathPatterns=integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:105a6493-5b59-4545-9a0a-c01f8b5605dc"}},"repository":{"url":"git+https://github.com/awslabs/aurora-dsql-nodejs-connector.git","type":"git"},"_npmVersion":"11.6.2","description":"An AWS Aurora DSQL connector with IAM authentication for node-postgres","directories":{},"_nodeVersion":"25.2.1","dependencies":{"@aws-sdk/dsql-signer":"^3.940.0","@aws-sdk/credential-providers":"^3.894.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.16.3","tsx":"^4.20.6","jest":"^30.2.0","eslint":"^9.39.1","tsdown":"^0.17.2","ts-jest":"^29.4.5","@types/pg":"^8.15.6","@eslint/js":"^9.37.0","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^25.0.0","eslint-plugin-header":"^3.1.1","@typescript-eslint/parser":"^8.48.0","@typescript-eslint/eslint-plugin":"^8.48.0"},"peerDependencies":{"pg":"^8.16.3"},"_npmOperationalInternal":{"tmp":"tmp/aurora-dsql-node-postgres-connector_0.1.3_1765486084736_0.5305551090792413","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@aws/aurora-dsql-node-postgres-connector","version":"0.1.4","keywords":["aws","aurora","dsql","postgres","database","iam","authentication"],"license":"Apache-2.0","_id":"@aws/aurora-dsql-node-postgres-connector@0.1.4","maintainers":[{"name":"aws-aurora-dsql-devex","email":"aws-aurora-dsql-devex@amazon.com"}],"homepage":"https://github.com/awslabs/aurora-dsql-nodejs-connector","bugs":{"url":"https://github.com/awslabs/aurora-dsql-nodejs-connector/issues"},"dist":{"shasum":"426328ed155daf3778b46d64c011e865514d0ce1","tarball":"https://registry.npmjs.org/@aws/aurora-dsql-node-postgres-connector/-/aurora-dsql-node-postgres-connector-0.1.4.tgz","fileCount":6,"integrity":"sha512-96x7ArW/NqTjJZKQ8lFsDwlYd+Jt+SuWRJbsrsXZTYj87EGyNwgadNeKi1e7Wj6iy0xE+NikRzX3qgfQWVo51g==","signatures":[{"sig":"MEUCIDfJGR06B0oD7tLdY4RSOiWmgAs0wlRTFpUruSekCzK4AiEA8G2FiDf5b9ApnBlqGIkIiY/Bnl+V+9fFoy651pWknx8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faurora-dsql-node-postgres-connector@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32832},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"57bbdc8ae9ae6cb66a7e60b477aa8347ed062fdc","scripts":{"lint":"eslint src/ test/","test":"npm run test:unit && npm run test:integration","build":"npm run build:dev","clean":"rm -rf dist/ node_modules/","lint:fix":"eslint src/ test/ --fix","build:dev":"npm run typecheck && tsdown \"src/**/*.ts\" --format cjs,esm --dts --sourcemap","test:unit":"jest --testPathIgnorePatterns=integration","typecheck":"tsc --noEmit","build:prod":"npm run typecheck && tsdown src/index.ts --format cjs,esm --dts","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","test:integration":"NODE_OPTIONS='--experimental-vm-modules' jest --testPathPatterns=integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:105a6493-5b59-4545-9a0a-c01f8b5605dc"}},"repository":{"url":"git+https://github.com/awslabs/aurora-dsql-nodejs-connector.git","type":"git"},"_npmVersion":"11.6.2","description":"An AWS Aurora DSQL connector with IAM authentication for node-postgres","directories":{},"_nodeVersion":"25.2.1","dependencies":{"@aws-sdk/dsql-signer":"^3.940.0","@aws-sdk/credential-providers":"^3.894.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.16.3","tsx":"^4.20.6","jest":"^30.2.0","eslint":"^9.39.1","tsdown":"^0.17.2","ts-jest":"^29.4.5","@types/pg":"^8.15.6","@eslint/js":"^9.37.0","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^25.0.0","eslint-plugin-header":"^3.1.1","@typescript-eslint/parser":"^8.48.0","@typescript-eslint/eslint-plugin":"^8.48.0"},"peerDependencies":{"pg":"^8.16.3"},"_npmOperationalInternal":{"tmp":"tmp/aurora-dsql-node-postgres-connector_0.1.4_1765524391191_0.6137588765438675","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@aws/aurora-dsql-node-postgres-connector","version":"0.1.5","keywords":["aws","aurora","dsql","postgres","database","iam","authentication"],"license":"Apache-2.0","_id":"@aws/aurora-dsql-node-postgres-connector@0.1.5","maintainers":[{"name":"aws-aurora-dsql-devex","email":"aws-aurora-dsql-devex@amazon.com"}],"homepage":"https://github.com/awslabs/aurora-dsql-nodejs-connector","bugs":{"url":"https://github.com/awslabs/aurora-dsql-nodejs-connector/issues"},"dist":{"shasum":"73678d3537dc9140d200234dca67202ad48a8969","tarball":"https://registry.npmjs.org/@aws/aurora-dsql-node-postgres-connector/-/aurora-dsql-node-postgres-connector-0.1.5.tgz","fileCount":6,"integrity":"sha512-iBXFcPufi2KWHyEjCEC8t9sTkD0YodvtShYtk6Xf1C/hVaxZpj6ZD9V0+uHBHz2EWptfTZeOmSWFrHyIWPMtHQ==","signatures":[{"sig":"MEQCICMTyqzgFWByhQqpqvQTP7xIWxY0jlcfniOYnyMTWsXSAiBsHgR371bsp/XnrAo0AxTpJuPP/5P8+QpgxLi3aBqqsA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faurora-dsql-node-postgres-connector@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":34318},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"ca1d4989a0da6e3d1d28ace5f318238fc0c14e70","scripts":{"lint":"eslint src/ test/","test":"npm run test:unit && npm run test:integration","build":"npm run build:dev","clean":"rm -rf dist/ node_modules/","lint:fix":"eslint src/ test/ --fix","build:dev":"npm run typecheck && tsdown \"src/**/*.ts\" --format cjs,esm --dts --sourcemap","test:unit":"jest --testPathIgnorePatterns=integration","typecheck":"tsc --noEmit","build:prod":"npm run typecheck && tsdown src/index.ts --format cjs,esm --dts","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","test:integration":"NODE_OPTIONS='--experimental-vm-modules' jest --testPathPatterns=integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:105a6493-5b59-4545-9a0a-c01f8b5605dc"}},"repository":{"url":"git+https://github.com/awslabs/aurora-dsql-nodejs-connector.git","type":"git"},"_npmVersion":"11.6.2","description":"An AWS Aurora DSQL connector with IAM authentication for node-postgres","directories":{},"_nodeVersion":"25.2.1","dependencies":{"@aws-sdk/dsql-signer":"^3.940.0","@aws-sdk/credential-providers":"^3.894.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.16.3","tsx":"^4.20.6","jest":"^30.2.0","eslint":"^9.39.1","tsdown":"^0.17.2","ts-jest":"^29.4.5","@types/pg":"^8.15.6","@eslint/js":"^9.37.0","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^25.0.0","eslint-plugin-header":"^3.1.1","@typescript-eslint/parser":"^8.48.0","@typescript-eslint/eslint-plugin":"^8.48.0"},"peerDependencies":{"pg":"^8.16.3"},"_npmOperationalInternal":{"tmp":"tmp/aurora-dsql-node-postgres-connector_0.1.5_1765576523411_0.03442299212042044","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@aws/aurora-dsql-node-postgres-connector","version":"0.1.6","keywords":["aws","aurora","dsql","postgres","database","iam","authentication"],"license":"Apache-2.0","_id":"@aws/aurora-dsql-node-postgres-connector@0.1.6","maintainers":[{"name":"aws-aurora-dsql-devex","email":"aws-aurora-dsql-devex@amazon.com"}],"homepage":"https://github.com/awslabs/aurora-dsql-nodejs-connector","bugs":{"url":"https://github.com/awslabs/aurora-dsql-nodejs-connector/issues"},"dist":{"shasum":"e79f72c72568e25b1cd9bcc4b400bd68eb4e4a03","tarball":"https://registry.npmjs.org/@aws/aurora-dsql-node-postgres-connector/-/aurora-dsql-node-postgres-connector-0.1.6.tgz","fileCount":6,"integrity":"sha512-WghyHOfZhh4fL+DwyWkX2y0i4HG5ePQMXSAalU817uuBITgFp79AzNCig0TvQOHd2RFysm5UD9D7REPOwROnOg==","signatures":[{"sig":"MEUCIE/d94MaqG36mECQgAaK2aushAOrFGkEKvB29Uk6Fw+8AiEA7cABPJy48l5Jpt2p0S2eyPp3I8hYiBKzU8ZqDX0tFkA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faurora-dsql-node-postgres-connector@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":34404},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"af846a391280e16bf6f9b26191d101a168eab77c","scripts":{"lint":"eslint src/ test/","test":"npm run test:unit && npm run test:integration","build":"npm run build:dev","clean":"rm -rf dist/ node_modules/","lint:fix":"eslint src/ test/ --fix","build:dev":"npm run typecheck && tsdown \"src/**/*.ts\" --format cjs,esm --dts --sourcemap","test:unit":"jest --testPathIgnorePatterns=integration","typecheck":"tsc --noEmit","build:prod":"npm run typecheck && tsdown src/index.ts --format cjs,esm --dts","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","test:integration":"NODE_OPTIONS='--experimental-vm-modules' jest --testPathPatterns=integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:105a6493-5b59-4545-9a0a-c01f8b5605dc"}},"repository":{"url":"git+https://github.com/awslabs/aurora-dsql-nodejs-connector.git","type":"git"},"_npmVersion":"11.6.2","description":"An AWS Aurora DSQL connector with IAM authentication for node-postgres","directories":{},"_nodeVersion":"25.2.1","dependencies":{"@aws-sdk/dsql-signer":"^3.940.0","@aws-sdk/credential-providers":"^3.894.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.16.3","tsx":"^4.20.6","jest":"^30.2.0","eslint":"^9.39.1","tsdown":"^0.18.0","ts-jest":"^29.4.5","@types/pg":"^8.15.6","@eslint/js":"^9.37.0","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^25.0.0","eslint-plugin-header":"^3.1.1","@typescript-eslint/parser":"^8.48.0","@typescript-eslint/eslint-plugin":"^8.48.0"},"peerDependencies":{"pg":"^8.16.3"},"_npmOperationalInternal":{"tmp":"tmp/aurora-dsql-node-postgres-connector_0.1.6_1766430743857_0.08475293661807548","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@aws/aurora-dsql-node-postgres-connector","version":"0.1.7","keywords":["aws","aurora","dsql","postgres","database","iam","authentication"],"license":"Apache-2.0","_id":"@aws/aurora-dsql-node-postgres-connector@0.1.7","maintainers":[{"name":"aws-aurora-dsql-devex","email":"aws-aurora-dsql-devex@amazon.com"}],"homepage":"https://github.com/awslabs/aurora-dsql-nodejs-connector","bugs":{"url":"https://github.com/awslabs/aurora-dsql-nodejs-connector/issues"},"dist":{"shasum":"70ed893589a5926208f6e24f95207af19b6a1bbb","tarball":"https://registry.npmjs.org/@aws/aurora-dsql-node-postgres-connector/-/aurora-dsql-node-postgres-connector-0.1.7.tgz","fileCount":6,"integrity":"sha512-+XegvyAIgz6G0rOsuriBMVJoTWDOFKdgFfk18mxMFu+UUAcYoVh1DvLHAEq6RFhHfd/Yi2Y2n4WugVl1ZL85iw==","signatures":[{"sig":"MEYCIQDSewLphPhiHl3p8w00mmlJ1c7fXnQEnIT2R/+UNIEefAIhAJ5ZShIYi9e5DKg+7h7dva5G3OmF9BgnJ8QMHtlf50zn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faurora-dsql-node-postgres-connector@0.1.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22778},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"50de257ff24910c8e8f9f44cd0cd45b362d788cc","scripts":{"lint":"eslint src/ test/","test":"npm run test:unit && npm run test:integration","build":"npm run build:dev","check":"npm run check:types && npm run check:deps && npm run lint","clean":"rm -rf dist/ node_modules/","lint:fix":"eslint src/ test/ --fix","build:dev":"npm run check:types && tsdown \"src/**/*.ts\" --sourcemap --no-publint --no-attw","test:unit":"jest --testPathIgnorePatterns=integration","build:prod":"npm run check:types && tsdown","check:deps":"depcheck --ignores='@types/*,ts-jest,tsx'","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","check:types":"tsc --noEmit","test:integration":"NODE_OPTIONS='--experimental-vm-modules' jest --testPathPatterns=integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:105a6493-5b59-4545-9a0a-c01f8b5605dc"}},"repository":{"url":"git+https://github.com/awslabs/aurora-dsql-nodejs-connector.git","type":"git"},"_npmVersion":"11.6.2","description":"An AWS Aurora DSQL connector with IAM authentication for node-postgres","directories":{},"_nodeVersion":"25.2.1","dependencies":{"@smithy/types":"^4.11.0","@aws-sdk/dsql-signer":"^3.940.0","@aws-sdk/credential-providers":"^3.894.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.16.3","tsx":"^4.20.6","jest":"^30.2.0","eslint":"^9.39.1","tsdown":"^0.18.0","publint":"^0.3.16","ts-jest":"^29.4.5","depcheck":"^1.4.7","@types/pg":"^8.15.6","@eslint/js":"^9.37.0","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^25.0.0","@jest/globals":"^30.2.0","eslint-plugin-header":"^3.1.1","@arethetypeswrong/core":"^0.18.2","eslint-plugin-import-x":"^4.16.1","@typescript-eslint/parser":"^8.48.0","@typescript-eslint/eslint-plugin":"^8.48.0"},"peerDependencies":{"pg":"^8.16.3","pg-connection-string":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/aurora-dsql-node-postgres-connector_0.1.7_1767135371502_0.2606678527410229","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@aws/aurora-dsql-node-postgres-connector","version":"0.1.8","keywords":["aws","aurora","dsql","postgres","database","iam","authentication"],"license":"Apache-2.0","_id":"@aws/aurora-dsql-node-postgres-connector@0.1.8","maintainers":[{"name":"aws-aurora-dsql-devex","email":"dsql-dev-ex@amazon.com"}],"homepage":"https://github.com/awslabs/aurora-dsql-connectors/tree/main/node/node-postgres","bugs":{"url":"https://github.com/awslabs/aurora-dsql-connectors/issues"},"dist":{"shasum":"df82abc2c7dfcdce9988d0739041fe353b4560b3","tarball":"https://registry.npmjs.org/@aws/aurora-dsql-node-postgres-connector/-/aurora-dsql-node-postgres-connector-0.1.8.tgz","fileCount":6,"integrity":"sha512-R+S7tbIAZysbv1GLitYCNKvy96pcz95VSTwKBtxHrAvlDtozaUeBfJMPw1ZMhev2jGFRNqI25+eHqJ/ASVmAvA==","signatures":[{"sig":"MEUCIGwMKQ5PyMNpzL4lgoKwtLMTEaXO1oToGBBCg+RankoxAiEAoo8+RvVmtxEuAdGPlm7vbuqJ33w5F9M4JMijjnA0xI4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faurora-dsql-node-postgres-connector@0.1.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25369},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"b8bf03830a4fe7a25da04c6918afa926755b2c1a","scripts":{"lint":"eslint src/ test/","test":"npm run test:unit && npm run test:integration","build":"npm run build:dev","check":"npm run check:types && npm run check:deps && npm run lint","clean":"rm -rf dist/ node_modules/","lint:fix":"eslint src/ test/ --fix","build:dev":"npm run check:types && tsdown \"src/**/*.ts\" --sourcemap --no-publint --no-attw","test:unit":"jest --testPathIgnorePatterns=integration","build:prod":"npm run check:types && tsdown","check:deps":"depcheck --ignores='@types/*,ts-jest,tsx'","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","check:types":"tsc --noEmit","test:integration":"NODE_OPTIONS='--experimental-vm-modules' jest --testPathPatterns=integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c1361f67-db35-47c8-967f-40316524c071"}},"repository":{"url":"git+https://github.com/awslabs/aurora-dsql-connectors.git","type":"git","directory":"node/node-postgres"},"_npmVersion":"11.8.0","description":"An AWS Aurora DSQL connector with IAM authentication for node-postgres","directories":{},"_nodeVersion":"25.6.0","dependencies":{"@smithy/types":"^4.11.0","@aws-sdk/dsql-signer":"^3.940.0","@aws-sdk/credential-providers":"^3.894.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.16.3","tsx":"^4.20.6","jest":"^30.2.0","eslint":"^9.39.1","tsdown":"^0.20.2","publint":"^0.3.16","ts-jest":"^29.4.5","depcheck":"^1.4.7","@types/pg":"^8.15.6","@eslint/js":"^9.37.0","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^25.0.0","@jest/globals":"^30.2.0","eslint-plugin-header":"^3.1.1","@arethetypeswrong/core":"^0.18.2","eslint-plugin-import-x":"^4.16.1","@typescript-eslint/parser":"^8.48.0","@typescript-eslint/eslint-plugin":"^8.48.0"},"peerDependencies":{"pg":"^8.16.3","pg-connection-string":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/aurora-dsql-node-postgres-connector_0.1.8_1770326375923_0.769572219027495","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@aws/aurora-dsql-node-postgres-connector","version":"0.1.9","description":"An AWS Aurora DSQL connector with IAM authentication for node-postgres","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/awslabs/aurora-dsql-connectors.git","directory":"node/node-postgres"},"homepage":"https://github.com/awslabs/aurora-dsql-connectors/tree/main/node/node-postgres","keywords":["aws","aurora","dsql","postgres","database","iam","authentication"],"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"clean":"rm -rf dist/ node_modules/","build":"npm run build:dev","build:dev":"npm run check:types && tsdown \"src/**/*.ts\" --sourcemap --no-publint --no-attw","build:prod":"npm run check:types && tsdown","test":"npm run test:unit && npm run test:integration","test:unit":"jest --testPathIgnorePatterns=integration","test:integration":"NODE_OPTIONS='--experimental-vm-modules' jest --testPathPatterns=integration","test:watch":"jest --watch","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","lint":"eslint src/ test/","lint:fix":"eslint src/ test/ --fix","check":"npm run check:types && npm run check:deps && npm run lint","check:types":"tsc --noEmit","check:deps":"depcheck --ignores='@types/*,ts-jest,tsx'"},"dependencies":{"@aws-sdk/credential-providers":"^3.894.0","@aws-sdk/dsql-signer":"^3.940.0","@smithy/types":"^4.11.0"},"peerDependencies":{"pg":"^8.16.3","pg-connection-string":"^2.7.0"},"devDependencies":{"@arethetypeswrong/core":"^0.18.2","@eslint/js":"^9.37.0","@jest/globals":"^30.2.0","@types/jest":"^30.0.0","@types/node":"^25.0.0","@types/pg":"^8.15.6","@typescript-eslint/eslint-plugin":"^8.48.0","@typescript-eslint/parser":"^8.48.0","depcheck":"^1.4.7","eslint":"^9.39.1","eslint-plugin-header":"^3.1.1","eslint-plugin-import-x":"^4.16.1","jest":"^30.2.0","pg":"^8.16.3","publint":"^0.3.16","ts-jest":"^29.4.5","tsdown":"^0.20.2","tsx":"^4.20.6","typescript":"^5.9.3"},"overrides":{"fast-xml-parser":"^5.4.1"},"gitHead":"ba6a1f8ba3d856675d4353e88db5bc3589252bf3","_id":"@aws/aurora-dsql-node-postgres-connector@0.1.9","bugs":{"url":"https://github.com/awslabs/aurora-dsql-connectors/issues"},"_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-i8MHzHLdL/1YzsGH6RipLu0U3x8SxCQAtR1VtA7iAhBT4g4yujQ4/qG7HJ5ySAy4XPL/1iNs8m0dLp5LvsqYRw==","shasum":"36d8b03d56590e14adc924441b93fcdafa13d4fb","tarball":"https://registry.npmjs.org/@aws/aurora-dsql-node-postgres-connector/-/aurora-dsql-node-postgres-connector-0.1.9.tgz","fileCount":6,"unpackedSize":39401,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aws%2faurora-dsql-node-postgres-connector@0.1.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEQsEMixFC37EonVvWOhP38Ehdazf8l0rCpK0P3GkBFbAiEAjS6SsDW4w15y627W5OH4rQGsKpYMkEi1KzeNRyxuhDs="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c1361f67-db35-47c8-967f-40316524c071"}},"directories":{},"maintainers":[{"name":"aws-aurora-dsql-devex","email":"dsql-dev-ex@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aurora-dsql-node-postgres-connector_0.1.9_1779212558724_0.07332816663304231"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-30T01:01:06.644Z","modified":"2026-05-19T17:42:39.406Z","0.1.0":"2025-10-30T01:01:06.970Z","0.1.1":"2025-11-26T23:34:51.395Z","0.1.2":"2025-12-11T19:09:22.706Z","0.1.3":"2025-12-11T20:48:04.884Z","0.1.4":"2025-12-12T07:26:31.368Z","0.1.5":"2025-12-12T21:55:23.560Z","0.1.6":"2025-12-22T19:12:23.994Z","0.1.7":"2025-12-30T22:56:11.630Z","0.1.8":"2026-02-05T21:19:36.064Z","0.1.9":"2026-05-19T17:42:38.863Z"},"bugs":{"url":"https://github.com/awslabs/aurora-dsql-connectors/issues"},"license":"Apache-2.0","homepage":"https://github.com/awslabs/aurora-dsql-connectors/tree/main/node/node-postgres","keywords":["aws","aurora","dsql","postgres","database","iam","authentication"],"repository":{"type":"git","url":"git+https://github.com/awslabs/aurora-dsql-connectors.git","directory":"node/node-postgres"},"description":"An AWS Aurora DSQL connector with IAM authentication for node-postgres","maintainers":[{"name":"aws-aurora-dsql-devex","email":"dsql-dev-ex@amazon.com"}],"readme":"# Aurora DSQL Connector for node-postgres\n\n[![GitHub](https://img.shields.io/badge/github-awslabs/aurora--dsql--connectors-blue?logo=github)](https://github.com/awslabs/aurora-dsql-connectors/tree/main/node/node-postgres)\n[![License](https://img.shields.io/badge/license-Apache--2.0-brightgreen)](https://github.com/awslabs/aurora-dsql-connectors/blob/main/LICENSE)\n[![NPM Version](https://img.shields.io/npm/v/@aws/aurora-dsql-node-postgres-connector)](https://www.npmjs.com/package/@aws/aurora-dsql-node-postgres-connector)\n[![Discord chat](https://img.shields.io/discord/1435027294837276802.svg?logo=discord)](https://discord.com/invite/nEF6ksFWru)\n\nThe Aurora DSQL Connector for node-postgres is a Node.js connector built on [node-postgres](https://node-postgres.com/)\nthat integrates IAM Authentication for connecting JavaScript/TypeScript applications to Amazon Aurora DSQL clusters.\n\nThe Aurora DSQL Connector is designed as an authentication plugin that extends the functionality of the\nnode-postgres' Client and Pool to enable applications to authenticate with Amazon Aurora DSQL using IAM credentials.\n\n## About the Connector\n\nAmazon Aurora DSQL is a cloud-native distributed database with PostgreSQL compatibility. While it requires IAM authentication and time-bound tokens, traditional Node.js database drivers lack this built-in support.\n\nThe Aurora DSQL Connector for node-postgres bridges this gap by implementing an authentication middleware that works seamlessly with node-postgres. This approach allows developers to maintain their existing node-postgres code while gaining secure IAM-based access to Aurora DSQL clusters through automated token management.\n\n### What is Aurora DSQL Authentication?\n\nIn Aurora DSQL, authentication involves:\n\n- **IAM Authentication:** All connections use IAM-based authentication with time-limited tokens\n- **Token Generation:** Authentication tokens are generated using AWS credentials and have configurable lifetimes\n\nThe Aurora DSQL Connector for node-postgres is designed to understand these requirements and automatically generate IAM authentication tokens when establishing connections.\n\n### Features\n\n- **Automatic IAM Authentication** - Handles DSQL token generation and refresh\n- **Built on node-postgres** - Leverages the popular PostgreSQL client for Node.js\n- **Seamless Integration** - Works with existing node-postgres connection patterns\n- **Region Auto-Discovery** - Extracts AWS region from DSQL cluster hostname\n- **Full TypeScript Support** - Provides full type safety\n- **AWS Credentials Support** - Supports various AWS credential providers (default, profile-based, custom)\n- **Connection Pooling Compatibility** - Works seamlessly with built-in connection pooling\n- **OCC Retry** - Automatic retry with exponential backoff on optimistic concurrency conflicts\n\n## Example Application\n\nThere is an included sample application in [example](https://github.com/awslabs/aurora-dsql-connectors/tree/main/node/node-postgres/example) that shows how to use Aurora DSQL Connector for node-postgres. To run the included example please refer to the example [README](https://github.com/awslabs/aurora-dsql-connectors/blob/main/node/node-postgres/example/README.md).\n\n## Quick start guide\n\n### Requirements\n\n- Node.js 20+\n- [Access to an Aurora DSQL cluster](https://docs.aws.amazon.com/aurora-dsql/latest/userguide/getting-started.html)\n- Set up appropriate IAM permissions to allow your application to connect to Aurora DSQL.\n- AWS credentials configured (via AWS CLI, environment variables, or IAM roles)\n\n## ⚠️ Important\n\n* Running this code might result in charges to your AWS account.\n* We recommend that you grant your code least privilege. At most, grant only the\n  minimum permissions required to perform the task. For more information, see\n  [Grant least privilege](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege).\n* This code is not tested in every AWS Region. For more information, see\n  [AWS Regional Services](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services).\n\n## Installation\n\n```bash\nnpm install @aws/aurora-dsql-node-postgres-connector\n```\n\n## Peer Dependencies\n\n```bash\nnpm install @aws-sdk/credential-providers @aws-sdk/dsql-signer pg tsx\nnpm install --save-dev @types/pg\n```\n\n## Usage\n\n### Client Connection\n\n```typescript\n// src/index.ts\nimport { AuroraDSQLClient } from \"@aws/aurora-dsql-node-postgres-connector\";\n\nconst client = new AuroraDSQLClient({\n  host: \"<CLUSTER_ENDPOINT>\",\n  user: \"admin\",\n});\nawait client.connect();\nconst result = await client.query(\"SELECT NOW()\");\nawait client.end();\n```\n\n### Pool Connection\n\n```typescript\n// src/index.ts\nimport { AuroraDSQLPool } from \"@aws/aurora-dsql-node-postgres-connector\";\n\nconst pool = new AuroraDSQLPool({\n  host: \"<CLUSTER_ENDPOINT>\",\n  user: \"admin\",\n  max: 3,\n  idleTimeoutMillis: 60000,\n});\n\nconst result = await pool.query(\"SELECT NOW()\");\n```\n\n### Advanced Usage\n\n```typescript\n// index.ts\nimport { fromNodeProviderChain } from \"@aws-sdk/credential-providers\";\nimport { AuroraDSQLClient } from \"@aws/aurora-dsql-node-postgres-connector\";\n\nconst client = new AuroraDSQLClient({\n  host: \"example.dsql.us-east-1.on.aws\",\n  user: \"admin\",\n  customCredentialsProvider: fromNodeProviderChain(), // Optionally provide custom credentials provider\n});\n\nawait client.connect();\nconst result = await client.query(\"SELECT NOW()\");\nawait client.end();\n```\n\n### OCC Retry\n\nAurora DSQL uses optimistic concurrency control (OCC). Transactions that conflict are rejected at\ncommit time with error codes `OC000`, `OC001`, or `40001`. The connector provides a `transaction()`\nmethod that automatically retries on these conflicts with exponential backoff.\n\n```typescript\nimport { AuroraDSQLPool } from \"@aws/aurora-dsql-node-postgres-connector\";\n\nconst pool = new AuroraDSQLPool({\n  host: \"<CLUSTER_ENDPOINT>\",\n  user: \"admin\",\n  retry: { maxRetries: 5 },\n});\n\nawait pool.transaction(async (client) => {\n  await client.query(\"INSERT INTO accounts(id, balance) VALUES($1, $2)\", [1, 100]);\n});\n```\n\nThe retry config accepts a partial object — unset fields use defaults:\n\n| Field          | Default | Description                        |\n| -------------- | ------- | ---------------------------------- |\n| `maxRetries`   | 3       | Number of retry attempts after the initial try (0 = no retry) |\n| `baseDelayMs`  | 1       | Initial backoff delay in ms        |\n| `maxDelayMs`   | 100     | Maximum base backoff delay in ms (jitter is added on top) |\n| `jitterFactor` | 0.25    | Jitter as a fraction of delay      |\n\nPer-call override:\n\n```typescript\nawait pool.transaction(callback, { maxRetries: 0 }); // no retry for this call\n```\n\n## Configuration Options\n\n| Option                      | Type                                                    | Required | Description                                              |\n| --------------------------- | ------------------------------------------------------- | -------- | -------------------------------------------------------- |\n| `host`                      | `string`                                                | Yes      | DSQL cluster hostname                                    |\n| `user`                      | `string`                                                | Yes      | DSQL username                                            |\n| `database`                  | `string`                                                | No       | Database name                                            |\n| `region`                    | `string`                                                | No       | AWS region (auto-detected from hostname if not provided) |\n| `port`                      | `number`                                                | No       | Default to 5432                                          |\n| `customCredentialsProvider` | `AwsCredentialIdentity / AwsCredentialIdentityProvider` | No       | Custom AWS credentials provider                          |\n| `profile`                   | `string`                                                | No       | The IAM profile name. Default to \"default\"               |\n| `tokenDurationSecs`         | `number`                                                | No       | Token expiration time in seconds                         |\n| `retry`                     | `Partial<OCCRetryConfig>`                               | No       | OCC retry configuration (see above)                      |\n| `logger`                    | `Logger`                                                | No       | Logger with `warn` and `error` methods (e.g. `console`)  |\n\nAll other parameters from [Client](https://node-postgres.com/apis/client) / [Pool](https://node-postgres.com/apis/pool) are supported.\n\n## Authentication\n\nThe connector automatically handles DSQL authentication by generating tokens using the DSQL client token generator. If the AWS region is not provided, it will be automatically parsed from the hostname provided.\n\nFor more information on authentication in Aurora DSQL, see the [user guide](https://docs.aws.amazon.com/aurora-dsql/latest/userguide/authentication-authorization.html).\n\n### Admin vs Regular Users\n\n- Users named \"admin\" automatically use admin authentication tokens\n- All other users use regular authentication tokens\n- Tokens are generated dynamically for each connection\n\n## Development\n\n```\n# Install dependencies\nnpm install\n\n# Build the project\nnpm run build\n\n# Set a cluster for use in the tests\nexport CLUSTER_ENDPOINT=your-cluster.dsql.us-east-1.on.aws\n\n# Run tests\nnpm run test\n\n```\n\n## License\n\nThis software is released under the Apache 2.0 license.\n\nCopyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\nSPDX-License-Identifier: Apache-2.0\n","readmeFilename":"README.md"}