@geekmidas/edge 10.0.0-alpha.187 → 10.0.0-alpha.189

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["EdgeError"],"sources":["../../src/dns/index.ts"],"sourcesContent":["/**\n * DNS Provider Interface\n *\n * Abstracts DNS operations for different providers.\n * Built-in providers: HostingerProvider, Route53Provider, GoDaddyProvider\n * Users can also supply custom implementations.\n *\n * Every value is the record's zone-file form, read and written alike: an MX\n * record's is `<priority> <host>` (see {@link mxValue}).\n */\n\nimport { EdgeError } from '../errors';\n\n// =============================================================================\n// DNS Record Types (derived from Zod schemas)\n// =============================================================================\n\n/** DNS record types supported across providers. */\nexport type DnsRecordType =\n\t| 'A'\n\t| 'AAAA'\n\t| 'CNAME'\n\t| 'MX'\n\t| 'TXT'\n\t| 'NS'\n\t| 'SRV'\n\t| 'CAA';\n\n/** A DNS record as returned by the provider. */\nexport interface DnsRecord {\n\t/** Subdomain name (e.g., 'api' for api.example.com, '@' for root) */\n\tname: string;\n\ttype: DnsRecordType;\n\t/** TTL in seconds */\n\tttl: number;\n\t/**\n\t * Record values, as a zone file writes them: an MX record's is\n\t * `<priority> <host>` (`10 inbound-smtp.eu-west-1.amazonaws.com`).\n\t */\n\tvalues: string[];\n}\n\n/** A DNS record to create or update. */\nexport interface UpsertDnsRecord {\n\t/** Subdomain name (e.g., 'api' for api.example.com, '@' for root) */\n\tname: string;\n\ttype: DnsRecordType;\n\t/** TTL in seconds */\n\tttl: number;\n\t/**\n\t * Record value (IP address, hostname, etc.), as a zone file writes it: an\n\t * MX record's is `<priority> <host>` — see `mxValue`.\n\t */\n\tvalue: string;\n}\n\n/** Result of an upsert operation. */\nexport interface UpsertResult {\n\t/** The record that was upserted */\n\trecord: UpsertDnsRecord;\n\t/** Whether the record was created (true) or updated (false) */\n\tcreated: boolean;\n\t/** Whether the record already existed with the same value */\n\tunchanged: boolean;\n}\n\n// =============================================================================\n// MX values\n// =============================================================================\n\n/**\n * An MX record's value as every provider here reads and writes it — the zone\n * file's `<priority> <host>`, which is what Route53 and Hostinger take as is.\n * A provider whose API keeps the priority apart (GoDaddy) splits it with\n * {@link parseMxValue}.\n */\nexport function mxValue(priority: number, host: string): string {\n\treturn `${priority} ${host.trim().replace(/\\.$/, '')}`;\n}\n\n/** An MX value that is not `<priority> <host>`. */\nexport class MxValueInvalid extends EdgeError {\n\tconstructor(readonly value: string) {\n\t\tsuper(\n\t\t\t`'${value}' is not an MX record's value: it is written ` +\n\t\t\t\t\"'<priority> <host>', like '10 inbound-smtp.eu-west-1.amazonaws.com'. \" +\n\t\t\t\t'Build it with mxValue(priority, host).',\n\t\t);\n\t\tthis.name = 'MxValueInvalid';\n\t}\n}\n\n/**\n * The priority and host of an MX value.\n *\n * @throws {MxValueInvalid} for a value that is not `<priority> <host>`\n */\nexport function parseMxValue(value: string): {\n\tpriority: number;\n\thost: string;\n} {\n\tconst match = value.trim().match(/^(\\d{1,5})\\s+(\\S+)$/);\n\tconst priority = match ? Number(match[1]) : Number.NaN;\n\tif (!match || priority > 65535) throw new MxValueInvalid(value);\n\treturn { priority, host: match[2]!.replace(/\\.$/, '') };\n}\n\n// =============================================================================\n// DNS Provider Interface\n// =============================================================================\n\n/**\n * A record to delete from DNS.\n */\nexport interface DeleteDnsRecord {\n\t/** Record name/subdomain (e.g., 'api' or '@' for root) */\n\tname: string;\n\t/** Record type (A, CNAME, etc.) */\n\ttype: DnsRecordType;\n}\n\n/**\n * Result of a delete operation.\n */\nexport interface DeleteResult {\n\t/** The record that was requested for deletion */\n\trecord: DeleteDnsRecord;\n\t/** Whether the record was deleted */\n\tdeleted: boolean;\n\t/** Whether the record was not found (already deleted) */\n\tnotFound: boolean;\n\t/** Error message if deletion failed */\n\terror?: string;\n}\n\n/**\n * Interface for DNS providers.\n *\n * Implementations must handle:\n * - Getting all records for a domain\n * - Creating or updating records for a domain\n * - Deleting records from a domain\n */\nexport interface DnsProvider {\n\t/** Provider name for logging */\n\treadonly name: string;\n\n\t/**\n\t * Get all DNS records for a domain.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @returns Array of DNS records\n\t */\n\tgetRecords(domain: string): Promise<DnsRecord[]>;\n\n\t/**\n\t * The records of exactly these names and types, where the provider can\n\t * read them one at a time — cheaper than the whole zone on an API that\n\t * counts requests. Optional: without it, `getRecords` is filtered.\n\t * Throws {@link DnsRecordsUnreadable} when the credentials can only write.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param wanted - The names ('@' for the root) and types to read\n\t */\n\treadRecords?(\n\t\tdomain: string,\n\t\twanted: readonly DeleteDnsRecord[],\n\t): Promise<DnsRecord[]>;\n\n\t/**\n\t * Create or update DNS records.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param records - Records to create or update\n\t * @returns Results of the upsert operations\n\t */\n\tupsertRecords(\n\t\tdomain: string,\n\t\trecords: UpsertDnsRecord[],\n\t): Promise<UpsertResult[]>;\n\n\t/**\n\t * Delete DNS records.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param records - Records to delete\n\t * @returns Results of the delete operations\n\t */\n\tdeleteRecords(\n\t\tdomain: string,\n\t\trecords: DeleteDnsRecord[],\n\t): Promise<DeleteResult[]>;\n}\n\n/**\n * Check if value is a DnsProvider implementation.\n */\nexport function isDnsProvider(value: unknown): value is DnsProvider {\n\treturn (\n\t\ttypeof value === 'object' &&\n\t\tvalue !== null &&\n\t\ttypeof (value as DnsProvider).name === 'string' &&\n\t\ttypeof (value as DnsProvider).getRecords === 'function' &&\n\t\ttypeof (value as DnsProvider).upsertRecords === 'function' &&\n\t\ttypeof (value as DnsProvider).deleteRecords === 'function'\n\t);\n}\n\n/**\n * The provider's credentials can write records and not read them — a key\n * scoped to updates only. What reads them falls back to writing every record,\n * which is idempotent, without a diff.\n */\nexport class DnsRecordsUnreadable extends EdgeError {\n\tconstructor(\n\t\treadonly provider: string,\n\t\treadonly domain: string,\n\t\treadonly reason: string,\n\t) {\n\t\tsuper(\n\t\t\t`The ${provider} key cannot read ${domain}'s DNS records (${reason}), so ` +\n\t\t\t\t'changes cannot be compared with what is there: every record is ' +\n\t\t\t\t'written, which leaves one that already has its value as it was.',\n\t\t);\n\t\tthis.name = 'DnsRecordsUnreadable';\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AA4EA,SAAgB,QAAQ,UAAkB,MAAsB;CAC/D,OAAO,GAAG,SAAS,GAAG,KAAK,KAAK,CAAC,CAAC,QAAQ,OAAO,EAAE;AACpD;;AAGA,IAAa,iBAAb,cAAoCA,eAAAA,UAAU;CACxB;CAArB,YAAY,OAAwB;EACnC,MACC,IAAI,MAAM,yJAGX;EALoB,KAAA,QAAA;EAMpB,KAAK,OAAO;CACb;AACD;;;;;;AAOA,SAAgB,aAAa,OAG3B;CACD,MAAM,QAAQ,MAAM,KAAK,CAAC,CAAC,MAAM,qBAAqB;CACtD,MAAM,WAAW,QAAQ,OAAO,MAAM,EAAE,IAAI;CAC5C,IAAI,CAAC,SAAS,WAAW,OAAO,MAAM,IAAI,eAAe,KAAK;CAC9D,OAAO;EAAE;EAAU,MAAM,MAAM,EAAE,CAAE,QAAQ,OAAO,EAAE;CAAE;AACvD;;;;AA4FA,SAAgB,cAAc,OAAsC;CACnE,OACC,OAAO,UAAU,YACjB,UAAU,QACV,OAAQ,MAAsB,SAAS,YACvC,OAAQ,MAAsB,eAAe,cAC7C,OAAQ,MAAsB,kBAAkB,cAChD,OAAQ,MAAsB,kBAAkB;AAElD;;;;;;AAOA,IAAa,uBAAb,cAA0CA,eAAAA,UAAU;CAEzC;CACA;CACA;CAHV,YACC,UACA,QACA,QACC;EACD,MACC,OAAO,SAAS,mBAAmB,OAAO,kBAAkB,OAAO,qIAGpE;EARS,KAAA,WAAA;EACA,KAAA,SAAA;EACA,KAAA,SAAA;EAOT,KAAK,OAAO;CACb;AACD"}
1
+ {"version":3,"file":"index.cjs","names":["EdgeError"],"sources":["../../src/dns/index.ts"],"sourcesContent":["/**\n * DNS Provider Interface\n *\n * Abstracts DNS operations for different providers.\n * Built-in providers: HostingerProvider, Route53Provider, GoDaddyProvider,\n * CloudflareProvider\n * Users can also supply custom implementations.\n *\n * Every value is the record's zone-file form, read and written alike: an MX\n * record's is `<priority> <host>` (see {@link mxValue}).\n */\n\nimport { EdgeError } from '../errors';\n\n// =============================================================================\n// DNS Record Types (derived from Zod schemas)\n// =============================================================================\n\n/** DNS record types supported across providers. */\nexport type DnsRecordType =\n\t| 'A'\n\t| 'AAAA'\n\t| 'CNAME'\n\t| 'MX'\n\t| 'TXT'\n\t| 'NS'\n\t| 'SRV'\n\t| 'CAA';\n\n/** A DNS record as returned by the provider. */\nexport interface DnsRecord {\n\t/** Subdomain name (e.g., 'api' for api.example.com, '@' for root) */\n\tname: string;\n\ttype: DnsRecordType;\n\t/** TTL in seconds */\n\tttl: number;\n\t/**\n\t * Record values, as a zone file writes them: an MX record's is\n\t * `<priority> <host>` (`10 inbound-smtp.eu-west-1.amazonaws.com`).\n\t */\n\tvalues: string[];\n\t/**\n\t * Whether the provider's own proxy answers for the name rather than the\n\t * address in it — Cloudflare's CDN. Absent where the provider has none.\n\t */\n\tproxied?: boolean;\n}\n\n/** A DNS record to create or update. */\nexport interface UpsertDnsRecord {\n\t/** Subdomain name (e.g., 'api' for api.example.com, '@' for root) */\n\tname: string;\n\ttype: DnsRecordType;\n\t/** TTL in seconds */\n\tttl: number;\n\t/**\n\t * Record value (IP address, hostname, etc.), as a zone file writes it: an\n\t * MX record's is `<priority> <host>` — see `mxValue`.\n\t */\n\tvalue: string;\n\t/**\n\t * Put the provider's own proxy in front of it — Cloudflare's CDN, which\n\t * answers the name and forwards to `value`. Only an A, AAAA or CNAME can\n\t * be. `false` takes it out; absent leaves an existing record as it is\n\t * and creates one unproxied. A provider without a proxy ignores it.\n\t */\n\tproxied?: boolean;\n}\n\n/** Result of an upsert operation. */\nexport interface UpsertResult {\n\t/** The record that was upserted */\n\trecord: UpsertDnsRecord;\n\t/** Whether the record was created (true) or updated (false) */\n\tcreated: boolean;\n\t/** Whether the record already existed with the same value */\n\tunchanged: boolean;\n}\n\n// =============================================================================\n// MX values\n// =============================================================================\n\n/**\n * An MX record's value as every provider here reads and writes it — the zone\n * file's `<priority> <host>`, which is what Route53 and Hostinger take as is.\n * A provider whose API keeps the priority apart (GoDaddy) splits it with\n * {@link parseMxValue}.\n */\nexport function mxValue(priority: number, host: string): string {\n\treturn `${priority} ${host.trim().replace(/\\.$/, '')}`;\n}\n\n/** An MX value that is not `<priority> <host>`. */\nexport class MxValueInvalid extends EdgeError {\n\tconstructor(readonly value: string) {\n\t\tsuper(\n\t\t\t`'${value}' is not an MX record's value: it is written ` +\n\t\t\t\t\"'<priority> <host>', like '10 inbound-smtp.eu-west-1.amazonaws.com'. \" +\n\t\t\t\t'Build it with mxValue(priority, host).',\n\t\t);\n\t\tthis.name = 'MxValueInvalid';\n\t}\n}\n\n/**\n * The priority and host of an MX value.\n *\n * @throws {MxValueInvalid} for a value that is not `<priority> <host>`\n */\nexport function parseMxValue(value: string): {\n\tpriority: number;\n\thost: string;\n} {\n\tconst match = value.trim().match(/^(\\d{1,5})\\s+(\\S+)$/);\n\tconst priority = match ? Number(match[1]) : Number.NaN;\n\tif (!match || priority > 65535) throw new MxValueInvalid(value);\n\treturn { priority, host: match[2]!.replace(/\\.$/, '') };\n}\n\n// =============================================================================\n// DNS Provider Interface\n// =============================================================================\n\n/**\n * A record to delete from DNS.\n */\nexport interface DeleteDnsRecord {\n\t/** Record name/subdomain (e.g., 'api' or '@' for root) */\n\tname: string;\n\t/** Record type (A, CNAME, etc.) */\n\ttype: DnsRecordType;\n}\n\n/**\n * Result of a delete operation.\n */\nexport interface DeleteResult {\n\t/** The record that was requested for deletion */\n\trecord: DeleteDnsRecord;\n\t/** Whether the record was deleted */\n\tdeleted: boolean;\n\t/** Whether the record was not found (already deleted) */\n\tnotFound: boolean;\n\t/** Error message if deletion failed */\n\terror?: string;\n}\n\n/**\n * Interface for DNS providers.\n *\n * Implementations must handle:\n * - Getting all records for a domain\n * - Creating or updating records for a domain\n * - Deleting records from a domain\n */\nexport interface DnsProvider {\n\t/** Provider name for logging */\n\treadonly name: string;\n\n\t/**\n\t * Get all DNS records for a domain.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @returns Array of DNS records\n\t */\n\tgetRecords(domain: string): Promise<DnsRecord[]>;\n\n\t/**\n\t * The records of exactly these names and types, where the provider can\n\t * read them one at a time — cheaper than the whole zone on an API that\n\t * counts requests. Optional: without it, `getRecords` is filtered.\n\t * Throws {@link DnsRecordsUnreadable} when the credentials can only write.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param wanted - The names ('@' for the root) and types to read\n\t */\n\treadRecords?(\n\t\tdomain: string,\n\t\twanted: readonly DeleteDnsRecord[],\n\t): Promise<DnsRecord[]>;\n\n\t/**\n\t * Create or update DNS records.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param records - Records to create or update\n\t * @returns Results of the upsert operations\n\t */\n\tupsertRecords(\n\t\tdomain: string,\n\t\trecords: UpsertDnsRecord[],\n\t): Promise<UpsertResult[]>;\n\n\t/**\n\t * Delete DNS records.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param records - Records to delete\n\t * @returns Results of the delete operations\n\t */\n\tdeleteRecords(\n\t\tdomain: string,\n\t\trecords: DeleteDnsRecord[],\n\t): Promise<DeleteResult[]>;\n}\n\n/**\n * Check if value is a DnsProvider implementation.\n */\nexport function isDnsProvider(value: unknown): value is DnsProvider {\n\treturn (\n\t\ttypeof value === 'object' &&\n\t\tvalue !== null &&\n\t\ttypeof (value as DnsProvider).name === 'string' &&\n\t\ttypeof (value as DnsProvider).getRecords === 'function' &&\n\t\ttypeof (value as DnsProvider).upsertRecords === 'function' &&\n\t\ttypeof (value as DnsProvider).deleteRecords === 'function'\n\t);\n}\n\n/**\n * The provider's credentials can write records and not read them — a key\n * scoped to updates only. What reads them falls back to writing every record,\n * which is idempotent, without a diff.\n */\nexport class DnsRecordsUnreadable extends EdgeError {\n\tconstructor(\n\t\treadonly provider: string,\n\t\treadonly domain: string,\n\t\treadonly reason: string,\n\t) {\n\t\tsuper(\n\t\t\t`The ${provider} key cannot read ${domain}'s DNS records (${reason}), so ` +\n\t\t\t\t'changes cannot be compared with what is there: every record is ' +\n\t\t\t\t'written, which leaves one that already has its value as it was.',\n\t\t);\n\t\tthis.name = 'DnsRecordsUnreadable';\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyFA,SAAgB,QAAQ,UAAkB,MAAsB;CAC/D,OAAO,GAAG,SAAS,GAAG,KAAK,KAAK,CAAC,CAAC,QAAQ,OAAO,EAAE;AACpD;;AAGA,IAAa,iBAAb,cAAoCA,eAAAA,UAAU;CACxB;CAArB,YAAY,OAAwB;EACnC,MACC,IAAI,MAAM,yJAGX;EALoB,KAAA,QAAA;EAMpB,KAAK,OAAO;CACb;AACD;;;;;;AAOA,SAAgB,aAAa,OAG3B;CACD,MAAM,QAAQ,MAAM,KAAK,CAAC,CAAC,MAAM,qBAAqB;CACtD,MAAM,WAAW,QAAQ,OAAO,MAAM,EAAE,IAAI;CAC5C,IAAI,CAAC,SAAS,WAAW,OAAO,MAAM,IAAI,eAAe,KAAK;CAC9D,OAAO;EAAE;EAAU,MAAM,MAAM,EAAE,CAAE,QAAQ,OAAO,EAAE;CAAE;AACvD;;;;AA4FA,SAAgB,cAAc,OAAsC;CACnE,OACC,OAAO,UAAU,YACjB,UAAU,QACV,OAAQ,MAAsB,SAAS,YACvC,OAAQ,MAAsB,eAAe,cAC7C,OAAQ,MAAsB,kBAAkB,cAChD,OAAQ,MAAsB,kBAAkB;AAElD;;;;;;AAOA,IAAa,uBAAb,cAA0CA,eAAAA,UAAU;CAEzC;CACA;CACA;CAHV,YACC,UACA,QACA,QACC;EACD,MACC,OAAO,SAAS,mBAAmB,OAAO,kBAAkB,OAAO,qIAGpE;EARS,KAAA,WAAA;EACA,KAAA,SAAA;EACA,KAAA,SAAA;EAOT,KAAK,OAAO;CACb;AACD"}
@@ -14,6 +14,11 @@ export interface DnsRecord {
14
14
  * `<priority> <host>` (`10 inbound-smtp.eu-west-1.amazonaws.com`).
15
15
  */
16
16
  values: string[];
17
+ /**
18
+ * Whether the provider's own proxy answers for the name rather than the
19
+ * address in it — Cloudflare's CDN. Absent where the provider has none.
20
+ */
21
+ proxied?: boolean;
17
22
  }
18
23
  /** A DNS record to create or update. */
19
24
  export interface UpsertDnsRecord {
@@ -27,6 +32,13 @@ export interface UpsertDnsRecord {
27
32
  * MX record's is `<priority> <host>` — see `mxValue`.
28
33
  */
29
34
  value: string;
35
+ /**
36
+ * Put the provider's own proxy in front of it — Cloudflare's CDN, which
37
+ * answers the name and forwards to `value`. Only an A, AAAA or CNAME can
38
+ * be. `false` takes it out; absent leaves an existing record as it is
39
+ * and creates one unproxied. A provider without a proxy ignores it.
40
+ */
41
+ proxied?: boolean;
30
42
  }
31
43
  /** Result of an upsert operation. */
32
44
  export interface UpsertResult {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/dns/index.ts"],"mappings":";;;YAkBY;;iBAWK;;EAEhB;EACA,MAAM;;EAEN;;;;;EAKA;;;iBAIgB;;EAEhB;EACA,MAAM;;EAEN;;;;;EAKA;;;iBAIgB;;EAEhB,QAAQ;;EAER;;EAEA;;;;;;;;wBAae,QAAQ,kBAAkB;;qBAK7B,uBAAuB;WACd;EAArB,YAAqB;;;;;;;wBAeN,aAAa;EAC5B;EACA;;;;;iBAegB;;EAEhB;;EAEA,MAAM;;;;;iBAMU;;EAEhB,QAAQ;;EAER;;EAEA;;EAEA;;;;;;;;;;iBAWgB;;WAEP;;;;;;;EAQT,WAAW,iBAAiB,QAAQ;;;;;;;;;;EAWpC,aACC,gBACA,iBAAiB,oBACf,QAAQ;;;;;;;;EASX,cACC,gBACA,SAAS,oBACP,QAAQ;;;;;;;;EASX,cACC,gBACA,SAAS,oBACP,QAAQ;;;;;wBAMI,cAAc,iBAAiB,SAAS;;;;;;qBAgB3C,6BAA6B;WAE/B;WACA;WACA;EAHV,YACU,kBACA,gBACA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/dns/index.ts"],"mappings":";;;YAmBY;;iBAWK;;EAEhB;EACA,MAAM;;EAEN;;;;;EAKA;;;;;EAKA;;;iBAIgB;;EAEhB;EACA,MAAM;;EAEN;;;;;EAKA;;;;;;;EAOA;;;iBAIgB;;EAEhB,QAAQ;;EAER;;EAEA;;;;;;;;wBAae,QAAQ,kBAAkB;;qBAK7B,uBAAuB;WACd;EAArB,YAAqB;;;;;;;wBAeN,aAAa;EAC5B;EACA;;;;;iBAegB;;EAEhB;;EAEA,MAAM;;;;;iBAMU;;EAEhB,QAAQ;;EAER;;EAEA;;EAEA;;;;;;;;;;iBAWgB;;WAEP;;;;;;;EAQT,WAAW,iBAAiB,QAAQ;;;;;;;;;;EAWpC,aACC,gBACA,iBAAiB,oBACf,QAAQ;;;;;;;;EASX,cACC,gBACA,SAAS,oBACP,QAAQ;;;;;;;;EASX,cACC,gBACA,SAAS,oBACP,QAAQ;;;;;wBAMI,cAAc,iBAAiB,SAAS;;;;;;qBAgB3C,6BAA6B;WAE/B;WACA;WACA;EAHV,YACU,kBACA,gBACA"}
@@ -14,6 +14,11 @@ export interface DnsRecord {
14
14
  * `<priority> <host>` (`10 inbound-smtp.eu-west-1.amazonaws.com`).
15
15
  */
16
16
  values: string[];
17
+ /**
18
+ * Whether the provider's own proxy answers for the name rather than the
19
+ * address in it — Cloudflare's CDN. Absent where the provider has none.
20
+ */
21
+ proxied?: boolean;
17
22
  }
18
23
  /** A DNS record to create or update. */
19
24
  export interface UpsertDnsRecord {
@@ -27,6 +32,13 @@ export interface UpsertDnsRecord {
27
32
  * MX record's is `<priority> <host>` — see `mxValue`.
28
33
  */
29
34
  value: string;
35
+ /**
36
+ * Put the provider's own proxy in front of it — Cloudflare's CDN, which
37
+ * answers the name and forwards to `value`. Only an A, AAAA or CNAME can
38
+ * be. `false` takes it out; absent leaves an existing record as it is
39
+ * and creates one unproxied. A provider without a proxy ignores it.
40
+ */
41
+ proxied?: boolean;
30
42
  }
31
43
  /** Result of an upsert operation. */
32
44
  export interface UpsertResult {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/dns/index.ts"],"mappings":";;;YAkBY;;iBAWK;;EAEhB;EACA,MAAM;;EAEN;;;;;EAKA;;;iBAIgB;;EAEhB;EACA,MAAM;;EAEN;;;;;EAKA;;;iBAIgB;;EAEhB,QAAQ;;EAER;;EAEA;;;;;;;;wBAae,QAAQ,kBAAkB;;qBAK7B,uBAAuB;WACd;EAArB,YAAqB;;;;;;;wBAeN,aAAa;EAC5B;EACA;;;;;iBAegB;;EAEhB;;EAEA,MAAM;;;;;iBAMU;;EAEhB,QAAQ;;EAER;;EAEA;;EAEA;;;;;;;;;;iBAWgB;;WAEP;;;;;;;EAQT,WAAW,iBAAiB,QAAQ;;;;;;;;;;EAWpC,aACC,gBACA,iBAAiB,oBACf,QAAQ;;;;;;;;EASX,cACC,gBACA,SAAS,oBACP,QAAQ;;;;;;;;EASX,cACC,gBACA,SAAS,oBACP,QAAQ;;;;;wBAMI,cAAc,iBAAiB,SAAS;;;;;;qBAgB3C,6BAA6B;WAE/B;WACA;WACA;EAHV,YACU,kBACA,gBACA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/dns/index.ts"],"mappings":";;;YAmBY;;iBAWK;;EAEhB;EACA,MAAM;;EAEN;;;;;EAKA;;;;;EAKA;;;iBAIgB;;EAEhB;EACA,MAAM;;EAEN;;;;;EAKA;;;;;;;EAOA;;;iBAIgB;;EAEhB,QAAQ;;EAER;;EAEA;;;;;;;;wBAae,QAAQ,kBAAkB;;qBAK7B,uBAAuB;WACd;EAArB,YAAqB;;;;;;;wBAeN,aAAa;EAC5B;EACA;;;;;iBAegB;;EAEhB;;EAEA,MAAM;;;;;iBAMU;;EAEhB,QAAQ;;EAER;;EAEA;;EAEA;;;;;;;;;;iBAWgB;;WAEP;;;;;;;EAQT,WAAW,iBAAiB,QAAQ;;;;;;;;;;EAWpC,aACC,gBACA,iBAAiB,oBACf,QAAQ;;;;;;;;EASX,cACC,gBACA,SAAS,oBACP,QAAQ;;;;;;;;EASX,cACC,gBACA,SAAS,oBACP,QAAQ;;;;;wBAMI,cAAc,iBAAiB,SAAS;;;;;;qBAgB3C,6BAA6B;WAE/B;WACA;WACA;EAHV,YACU,kBACA,gBACA"}
@@ -4,7 +4,8 @@ import { t as EdgeError } from "../errors-CO33_TDV.mjs";
4
4
  * DNS Provider Interface
5
5
  *
6
6
  * Abstracts DNS operations for different providers.
7
- * Built-in providers: HostingerProvider, Route53Provider, GoDaddyProvider
7
+ * Built-in providers: HostingerProvider, Route53Provider, GoDaddyProvider,
8
+ * CloudflareProvider
8
9
  * Users can also supply custom implementations.
9
10
  *
10
11
  * Every value is the record's zone-file form, read and written alike: an MX
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../src/dns/index.ts"],"sourcesContent":["/**\n * DNS Provider Interface\n *\n * Abstracts DNS operations for different providers.\n * Built-in providers: HostingerProvider, Route53Provider, GoDaddyProvider\n * Users can also supply custom implementations.\n *\n * Every value is the record's zone-file form, read and written alike: an MX\n * record's is `<priority> <host>` (see {@link mxValue}).\n */\n\nimport { EdgeError } from '../errors';\n\n// =============================================================================\n// DNS Record Types (derived from Zod schemas)\n// =============================================================================\n\n/** DNS record types supported across providers. */\nexport type DnsRecordType =\n\t| 'A'\n\t| 'AAAA'\n\t| 'CNAME'\n\t| 'MX'\n\t| 'TXT'\n\t| 'NS'\n\t| 'SRV'\n\t| 'CAA';\n\n/** A DNS record as returned by the provider. */\nexport interface DnsRecord {\n\t/** Subdomain name (e.g., 'api' for api.example.com, '@' for root) */\n\tname: string;\n\ttype: DnsRecordType;\n\t/** TTL in seconds */\n\tttl: number;\n\t/**\n\t * Record values, as a zone file writes them: an MX record's is\n\t * `<priority> <host>` (`10 inbound-smtp.eu-west-1.amazonaws.com`).\n\t */\n\tvalues: string[];\n}\n\n/** A DNS record to create or update. */\nexport interface UpsertDnsRecord {\n\t/** Subdomain name (e.g., 'api' for api.example.com, '@' for root) */\n\tname: string;\n\ttype: DnsRecordType;\n\t/** TTL in seconds */\n\tttl: number;\n\t/**\n\t * Record value (IP address, hostname, etc.), as a zone file writes it: an\n\t * MX record's is `<priority> <host>` — see `mxValue`.\n\t */\n\tvalue: string;\n}\n\n/** Result of an upsert operation. */\nexport interface UpsertResult {\n\t/** The record that was upserted */\n\trecord: UpsertDnsRecord;\n\t/** Whether the record was created (true) or updated (false) */\n\tcreated: boolean;\n\t/** Whether the record already existed with the same value */\n\tunchanged: boolean;\n}\n\n// =============================================================================\n// MX values\n// =============================================================================\n\n/**\n * An MX record's value as every provider here reads and writes it — the zone\n * file's `<priority> <host>`, which is what Route53 and Hostinger take as is.\n * A provider whose API keeps the priority apart (GoDaddy) splits it with\n * {@link parseMxValue}.\n */\nexport function mxValue(priority: number, host: string): string {\n\treturn `${priority} ${host.trim().replace(/\\.$/, '')}`;\n}\n\n/** An MX value that is not `<priority> <host>`. */\nexport class MxValueInvalid extends EdgeError {\n\tconstructor(readonly value: string) {\n\t\tsuper(\n\t\t\t`'${value}' is not an MX record's value: it is written ` +\n\t\t\t\t\"'<priority> <host>', like '10 inbound-smtp.eu-west-1.amazonaws.com'. \" +\n\t\t\t\t'Build it with mxValue(priority, host).',\n\t\t);\n\t\tthis.name = 'MxValueInvalid';\n\t}\n}\n\n/**\n * The priority and host of an MX value.\n *\n * @throws {MxValueInvalid} for a value that is not `<priority> <host>`\n */\nexport function parseMxValue(value: string): {\n\tpriority: number;\n\thost: string;\n} {\n\tconst match = value.trim().match(/^(\\d{1,5})\\s+(\\S+)$/);\n\tconst priority = match ? Number(match[1]) : Number.NaN;\n\tif (!match || priority > 65535) throw new MxValueInvalid(value);\n\treturn { priority, host: match[2]!.replace(/\\.$/, '') };\n}\n\n// =============================================================================\n// DNS Provider Interface\n// =============================================================================\n\n/**\n * A record to delete from DNS.\n */\nexport interface DeleteDnsRecord {\n\t/** Record name/subdomain (e.g., 'api' or '@' for root) */\n\tname: string;\n\t/** Record type (A, CNAME, etc.) */\n\ttype: DnsRecordType;\n}\n\n/**\n * Result of a delete operation.\n */\nexport interface DeleteResult {\n\t/** The record that was requested for deletion */\n\trecord: DeleteDnsRecord;\n\t/** Whether the record was deleted */\n\tdeleted: boolean;\n\t/** Whether the record was not found (already deleted) */\n\tnotFound: boolean;\n\t/** Error message if deletion failed */\n\terror?: string;\n}\n\n/**\n * Interface for DNS providers.\n *\n * Implementations must handle:\n * - Getting all records for a domain\n * - Creating or updating records for a domain\n * - Deleting records from a domain\n */\nexport interface DnsProvider {\n\t/** Provider name for logging */\n\treadonly name: string;\n\n\t/**\n\t * Get all DNS records for a domain.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @returns Array of DNS records\n\t */\n\tgetRecords(domain: string): Promise<DnsRecord[]>;\n\n\t/**\n\t * The records of exactly these names and types, where the provider can\n\t * read them one at a time — cheaper than the whole zone on an API that\n\t * counts requests. Optional: without it, `getRecords` is filtered.\n\t * Throws {@link DnsRecordsUnreadable} when the credentials can only write.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param wanted - The names ('@' for the root) and types to read\n\t */\n\treadRecords?(\n\t\tdomain: string,\n\t\twanted: readonly DeleteDnsRecord[],\n\t): Promise<DnsRecord[]>;\n\n\t/**\n\t * Create or update DNS records.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param records - Records to create or update\n\t * @returns Results of the upsert operations\n\t */\n\tupsertRecords(\n\t\tdomain: string,\n\t\trecords: UpsertDnsRecord[],\n\t): Promise<UpsertResult[]>;\n\n\t/**\n\t * Delete DNS records.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param records - Records to delete\n\t * @returns Results of the delete operations\n\t */\n\tdeleteRecords(\n\t\tdomain: string,\n\t\trecords: DeleteDnsRecord[],\n\t): Promise<DeleteResult[]>;\n}\n\n/**\n * Check if value is a DnsProvider implementation.\n */\nexport function isDnsProvider(value: unknown): value is DnsProvider {\n\treturn (\n\t\ttypeof value === 'object' &&\n\t\tvalue !== null &&\n\t\ttypeof (value as DnsProvider).name === 'string' &&\n\t\ttypeof (value as DnsProvider).getRecords === 'function' &&\n\t\ttypeof (value as DnsProvider).upsertRecords === 'function' &&\n\t\ttypeof (value as DnsProvider).deleteRecords === 'function'\n\t);\n}\n\n/**\n * The provider's credentials can write records and not read them — a key\n * scoped to updates only. What reads them falls back to writing every record,\n * which is idempotent, without a diff.\n */\nexport class DnsRecordsUnreadable extends EdgeError {\n\tconstructor(\n\t\treadonly provider: string,\n\t\treadonly domain: string,\n\t\treadonly reason: string,\n\t) {\n\t\tsuper(\n\t\t\t`The ${provider} key cannot read ${domain}'s DNS records (${reason}), so ` +\n\t\t\t\t'changes cannot be compared with what is there: every record is ' +\n\t\t\t\t'written, which leaves one that already has its value as it was.',\n\t\t);\n\t\tthis.name = 'DnsRecordsUnreadable';\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AA4EA,SAAgB,QAAQ,UAAkB,MAAsB;CAC/D,OAAO,GAAG,SAAS,GAAG,KAAK,KAAK,CAAC,CAAC,QAAQ,OAAO,EAAE;AACpD;;AAGA,IAAa,iBAAb,cAAoC,UAAU;CACxB;CAArB,YAAY,OAAwB;EACnC,MACC,IAAI,MAAM,yJAGX;EALoB,KAAA,QAAA;EAMpB,KAAK,OAAO;CACb;AACD;;;;;;AAOA,SAAgB,aAAa,OAG3B;CACD,MAAM,QAAQ,MAAM,KAAK,CAAC,CAAC,MAAM,qBAAqB;CACtD,MAAM,WAAW,QAAQ,OAAO,MAAM,EAAE,IAAI;CAC5C,IAAI,CAAC,SAAS,WAAW,OAAO,MAAM,IAAI,eAAe,KAAK;CAC9D,OAAO;EAAE;EAAU,MAAM,MAAM,EAAE,CAAE,QAAQ,OAAO,EAAE;CAAE;AACvD;;;;AA4FA,SAAgB,cAAc,OAAsC;CACnE,OACC,OAAO,UAAU,YACjB,UAAU,QACV,OAAQ,MAAsB,SAAS,YACvC,OAAQ,MAAsB,eAAe,cAC7C,OAAQ,MAAsB,kBAAkB,cAChD,OAAQ,MAAsB,kBAAkB;AAElD;;;;;;AAOA,IAAa,uBAAb,cAA0C,UAAU;CAEzC;CACA;CACA;CAHV,YACC,UACA,QACA,QACC;EACD,MACC,OAAO,SAAS,mBAAmB,OAAO,kBAAkB,OAAO,qIAGpE;EARS,KAAA,WAAA;EACA,KAAA,SAAA;EACA,KAAA,SAAA;EAOT,KAAK,OAAO;CACb;AACD"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../src/dns/index.ts"],"sourcesContent":["/**\n * DNS Provider Interface\n *\n * Abstracts DNS operations for different providers.\n * Built-in providers: HostingerProvider, Route53Provider, GoDaddyProvider,\n * CloudflareProvider\n * Users can also supply custom implementations.\n *\n * Every value is the record's zone-file form, read and written alike: an MX\n * record's is `<priority> <host>` (see {@link mxValue}).\n */\n\nimport { EdgeError } from '../errors';\n\n// =============================================================================\n// DNS Record Types (derived from Zod schemas)\n// =============================================================================\n\n/** DNS record types supported across providers. */\nexport type DnsRecordType =\n\t| 'A'\n\t| 'AAAA'\n\t| 'CNAME'\n\t| 'MX'\n\t| 'TXT'\n\t| 'NS'\n\t| 'SRV'\n\t| 'CAA';\n\n/** A DNS record as returned by the provider. */\nexport interface DnsRecord {\n\t/** Subdomain name (e.g., 'api' for api.example.com, '@' for root) */\n\tname: string;\n\ttype: DnsRecordType;\n\t/** TTL in seconds */\n\tttl: number;\n\t/**\n\t * Record values, as a zone file writes them: an MX record's is\n\t * `<priority> <host>` (`10 inbound-smtp.eu-west-1.amazonaws.com`).\n\t */\n\tvalues: string[];\n\t/**\n\t * Whether the provider's own proxy answers for the name rather than the\n\t * address in it — Cloudflare's CDN. Absent where the provider has none.\n\t */\n\tproxied?: boolean;\n}\n\n/** A DNS record to create or update. */\nexport interface UpsertDnsRecord {\n\t/** Subdomain name (e.g., 'api' for api.example.com, '@' for root) */\n\tname: string;\n\ttype: DnsRecordType;\n\t/** TTL in seconds */\n\tttl: number;\n\t/**\n\t * Record value (IP address, hostname, etc.), as a zone file writes it: an\n\t * MX record's is `<priority> <host>` — see `mxValue`.\n\t */\n\tvalue: string;\n\t/**\n\t * Put the provider's own proxy in front of it — Cloudflare's CDN, which\n\t * answers the name and forwards to `value`. Only an A, AAAA or CNAME can\n\t * be. `false` takes it out; absent leaves an existing record as it is\n\t * and creates one unproxied. A provider without a proxy ignores it.\n\t */\n\tproxied?: boolean;\n}\n\n/** Result of an upsert operation. */\nexport interface UpsertResult {\n\t/** The record that was upserted */\n\trecord: UpsertDnsRecord;\n\t/** Whether the record was created (true) or updated (false) */\n\tcreated: boolean;\n\t/** Whether the record already existed with the same value */\n\tunchanged: boolean;\n}\n\n// =============================================================================\n// MX values\n// =============================================================================\n\n/**\n * An MX record's value as every provider here reads and writes it — the zone\n * file's `<priority> <host>`, which is what Route53 and Hostinger take as is.\n * A provider whose API keeps the priority apart (GoDaddy) splits it with\n * {@link parseMxValue}.\n */\nexport function mxValue(priority: number, host: string): string {\n\treturn `${priority} ${host.trim().replace(/\\.$/, '')}`;\n}\n\n/** An MX value that is not `<priority> <host>`. */\nexport class MxValueInvalid extends EdgeError {\n\tconstructor(readonly value: string) {\n\t\tsuper(\n\t\t\t`'${value}' is not an MX record's value: it is written ` +\n\t\t\t\t\"'<priority> <host>', like '10 inbound-smtp.eu-west-1.amazonaws.com'. \" +\n\t\t\t\t'Build it with mxValue(priority, host).',\n\t\t);\n\t\tthis.name = 'MxValueInvalid';\n\t}\n}\n\n/**\n * The priority and host of an MX value.\n *\n * @throws {MxValueInvalid} for a value that is not `<priority> <host>`\n */\nexport function parseMxValue(value: string): {\n\tpriority: number;\n\thost: string;\n} {\n\tconst match = value.trim().match(/^(\\d{1,5})\\s+(\\S+)$/);\n\tconst priority = match ? Number(match[1]) : Number.NaN;\n\tif (!match || priority > 65535) throw new MxValueInvalid(value);\n\treturn { priority, host: match[2]!.replace(/\\.$/, '') };\n}\n\n// =============================================================================\n// DNS Provider Interface\n// =============================================================================\n\n/**\n * A record to delete from DNS.\n */\nexport interface DeleteDnsRecord {\n\t/** Record name/subdomain (e.g., 'api' or '@' for root) */\n\tname: string;\n\t/** Record type (A, CNAME, etc.) */\n\ttype: DnsRecordType;\n}\n\n/**\n * Result of a delete operation.\n */\nexport interface DeleteResult {\n\t/** The record that was requested for deletion */\n\trecord: DeleteDnsRecord;\n\t/** Whether the record was deleted */\n\tdeleted: boolean;\n\t/** Whether the record was not found (already deleted) */\n\tnotFound: boolean;\n\t/** Error message if deletion failed */\n\terror?: string;\n}\n\n/**\n * Interface for DNS providers.\n *\n * Implementations must handle:\n * - Getting all records for a domain\n * - Creating or updating records for a domain\n * - Deleting records from a domain\n */\nexport interface DnsProvider {\n\t/** Provider name for logging */\n\treadonly name: string;\n\n\t/**\n\t * Get all DNS records for a domain.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @returns Array of DNS records\n\t */\n\tgetRecords(domain: string): Promise<DnsRecord[]>;\n\n\t/**\n\t * The records of exactly these names and types, where the provider can\n\t * read them one at a time — cheaper than the whole zone on an API that\n\t * counts requests. Optional: without it, `getRecords` is filtered.\n\t * Throws {@link DnsRecordsUnreadable} when the credentials can only write.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param wanted - The names ('@' for the root) and types to read\n\t */\n\treadRecords?(\n\t\tdomain: string,\n\t\twanted: readonly DeleteDnsRecord[],\n\t): Promise<DnsRecord[]>;\n\n\t/**\n\t * Create or update DNS records.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param records - Records to create or update\n\t * @returns Results of the upsert operations\n\t */\n\tupsertRecords(\n\t\tdomain: string,\n\t\trecords: UpsertDnsRecord[],\n\t): Promise<UpsertResult[]>;\n\n\t/**\n\t * Delete DNS records.\n\t *\n\t * @param domain - Root domain (e.g., 'example.com')\n\t * @param records - Records to delete\n\t * @returns Results of the delete operations\n\t */\n\tdeleteRecords(\n\t\tdomain: string,\n\t\trecords: DeleteDnsRecord[],\n\t): Promise<DeleteResult[]>;\n}\n\n/**\n * Check if value is a DnsProvider implementation.\n */\nexport function isDnsProvider(value: unknown): value is DnsProvider {\n\treturn (\n\t\ttypeof value === 'object' &&\n\t\tvalue !== null &&\n\t\ttypeof (value as DnsProvider).name === 'string' &&\n\t\ttypeof (value as DnsProvider).getRecords === 'function' &&\n\t\ttypeof (value as DnsProvider).upsertRecords === 'function' &&\n\t\ttypeof (value as DnsProvider).deleteRecords === 'function'\n\t);\n}\n\n/**\n * The provider's credentials can write records and not read them — a key\n * scoped to updates only. What reads them falls back to writing every record,\n * which is idempotent, without a diff.\n */\nexport class DnsRecordsUnreadable extends EdgeError {\n\tconstructor(\n\t\treadonly provider: string,\n\t\treadonly domain: string,\n\t\treadonly reason: string,\n\t) {\n\t\tsuper(\n\t\t\t`The ${provider} key cannot read ${domain}'s DNS records (${reason}), so ` +\n\t\t\t\t'changes cannot be compared with what is there: every record is ' +\n\t\t\t\t'written, which leaves one that already has its value as it was.',\n\t\t);\n\t\tthis.name = 'DnsRecordsUnreadable';\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAyFA,SAAgB,QAAQ,UAAkB,MAAsB;CAC/D,OAAO,GAAG,SAAS,GAAG,KAAK,KAAK,CAAC,CAAC,QAAQ,OAAO,EAAE;AACpD;;AAGA,IAAa,iBAAb,cAAoC,UAAU;CACxB;CAArB,YAAY,OAAwB;EACnC,MACC,IAAI,MAAM,yJAGX;EALoB,KAAA,QAAA;EAMpB,KAAK,OAAO;CACb;AACD;;;;;;AAOA,SAAgB,aAAa,OAG3B;CACD,MAAM,QAAQ,MAAM,KAAK,CAAC,CAAC,MAAM,qBAAqB;CACtD,MAAM,WAAW,QAAQ,OAAO,MAAM,EAAE,IAAI;CAC5C,IAAI,CAAC,SAAS,WAAW,OAAO,MAAM,IAAI,eAAe,KAAK;CAC9D,OAAO;EAAE;EAAU,MAAM,MAAM,EAAE,CAAE,QAAQ,OAAO,EAAE;CAAE;AACvD;;;;AA4FA,SAAgB,cAAc,OAAsC;CACnE,OACC,OAAO,UAAU,YACjB,UAAU,QACV,OAAQ,MAAsB,SAAS,YACvC,OAAQ,MAAsB,eAAe,cAC7C,OAAQ,MAAsB,kBAAkB,cAChD,OAAQ,MAAsB,kBAAkB;AAElD;;;;;;AAOA,IAAa,uBAAb,cAA0C,UAAU;CAEzC;CACA;CACA;CAHV,YACC,UACA,QACA,QACC;EACD,MACC,OAAO,SAAS,mBAAmB,OAAO,kBAAkB,OAAO,qIAGpE;EARS,KAAA,WAAA;EACA,KAAA,SAAA;EACA,KAAA,SAAA;EAOT,KAAK,OAAO;CACb;AACD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekmidas/edge",
3
- "version": "10.0.0-alpha.187",
3
+ "version": "10.0.0-alpha.189",
4
4
  "description": "The edge in front of a gkm stack: routes, reverse proxies, certificates and DNS providers.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -93,6 +93,16 @@
93
93
  "types": "./dist/dns/godaddy/index.d.cts",
94
94
  "default": "./dist/dns/godaddy/index.cjs"
95
95
  }
96
+ },
97
+ "./dns/cloudflare": {
98
+ "import": {
99
+ "types": "./dist/dns/cloudflare/index.d.mts",
100
+ "default": "./dist/dns/cloudflare/index.mjs"
101
+ },
102
+ "require": {
103
+ "types": "./dist/dns/cloudflare/index.d.cts",
104
+ "default": "./dist/dns/cloudflare/index.cjs"
105
+ }
96
106
  }
97
107
  },
98
108
  "files": [
@@ -109,7 +119,7 @@
109
119
  "dependencies": {
110
120
  "node-forge": "~1.4.2",
111
121
  "yaml": "~2.9.1",
112
- "@geekmidas/manifest": "10.0.0-alpha.187"
122
+ "@geekmidas/manifest": "10.0.0-alpha.189"
113
123
  },
114
124
  "peerDependencies": {
115
125
  "@aws-sdk/client-route-53": ">=3.1136.0",