caa 10.0.4 → 11.0.0

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +16 -14
  2. package/dist/index.js +1564 -92
  3. package/package.json +15 -16
package/dist/index.d.ts CHANGED
@@ -1,17 +1,19 @@
1
+ //#region index.d.ts
1
2
  type CaaOpts = {
2
- ignoreTLDs?: boolean;
3
- recursions?: number;
4
- retries?: number;
5
- port?: number;
6
- servers?: Array<string>;
7
- dnsSocket?: any;
3
+ ignoreTLDs?: boolean;
4
+ recursions?: number;
5
+ retries?: number;
6
+ port?: number;
7
+ servers?: Array<string>;
8
+ dnsSocket?: any;
8
9
  };
9
- export type CaaRecord = {
10
- flags: number;
11
- tag: string;
12
- value: string;
13
- issuerCritical: boolean;
10
+ type CaaRecord = {
11
+ flags: number;
12
+ tag: string;
13
+ value: string;
14
+ issuerCritical: boolean;
14
15
  };
15
- export declare function caa(name: string, opts?: CaaOpts): Promise<Array<CaaRecord>>;
16
- export declare function caaMatches(name: string, ca: string, opts?: CaaOpts): Promise<boolean>;
17
- export {};
16
+ declare function caa(name: string, opts?: CaaOpts): Promise<Array<CaaRecord>>;
17
+ declare function caaMatches(name: string, ca: string, opts?: CaaOpts): Promise<boolean>;
18
+ //#endregion
19
+ export { CaaRecord, caa, caaMatches };