@stacksjs/dns 0.59.2 → 0.59.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/drivers/aws.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/dns",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.59.
|
|
4
|
+
"version": "0.59.4",
|
|
5
5
|
"description": "Easily manage your DNS.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "bun --bun build.ts",
|
|
50
50
|
"typecheck": "bun --bun tsc --noEmit",
|
|
51
|
-
"prepublishOnly": "bun
|
|
51
|
+
"prepublishOnly": "bun run build"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@aws-sdk/client-route-53": "^3.525.0",
|
package/src/drivers/aws.ts
CHANGED
|
@@ -48,7 +48,7 @@ export async function deleteHostedZone(domainName: string) {
|
|
|
48
48
|
return ok('success')
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
// sometimes it
|
|
51
|
+
// sometimes it’s useful to delete all records but keep the hosted zone
|
|
52
52
|
// for example, if you want to keep the nameservers
|
|
53
53
|
export async function deleteHostedZoneRecords(domainName: string) {
|
|
54
54
|
const route53 = new Route53()
|