@xyo-network/dns 3.3.0 → 3.3.1

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,3 +1,8 @@
1
+ /**
2
+ * Checks if a domain exists (resolves using DNS)
3
+ * @param domain - string
4
+ * @returns boolean
5
+ */
1
6
  declare const domainExists: (domain?: string) => Promise<boolean>;
2
7
  export { domainExists };
3
8
  //# sourceMappingURL=domainExists.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"domainExists.d.ts","sourceRoot":"","sources":["../../src/domainExists.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,YAAY,YAAmB,MAAM,qBAI1C,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"domainExists.d.ts","sourceRoot":"","sources":["../../src/domainExists.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,QAAA,MAAM,YAAY,YAAmB,MAAM,qBAI1C,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -1,4 +1,9 @@
1
1
  import { DnsRecordType } from './DnsRecordType.ts';
2
+ /**
3
+ * Resolves DNS information (resolves using DNS)
4
+ * @param domain - string
5
+ * @returns GoogleDnsResult
6
+ */
2
7
  declare const domainResolve: (domain?: string, type?: DnsRecordType) => Promise<import("./GoogleDnsResult.ts").GoogleDnsResult | undefined>;
3
8
  export { domainResolve };
4
9
  //# sourceMappingURL=domainResolve.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"domainResolve.d.ts","sourceRoot":"","sources":["../../src/domainResolve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAQlD,QAAA,MAAM,aAAa,YAAmB,MAAM,8FAI3C,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"domainResolve.d.ts","sourceRoot":"","sources":["../../src/domainResolve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAGlD;;;;GAIG;AACH,QAAA,MAAM,aAAa,YAAmB,MAAM,8FAI3C,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/dns",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,11 +29,11 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/axios": "^4.2.2"
32
+ "@xylabs/axios": "^4.3.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@xylabs/ts-scripts-yarn3": "^4.2.1",
36
- "@xylabs/tsconfig": "^4.2.1",
35
+ "@xylabs/ts-scripts-yarn3": "^4.2.3",
36
+ "@xylabs/tsconfig": "^4.2.3",
37
37
  "typescript": "^5.6.3"
38
38
  },
39
39
  "publishConfig": {