@gjsify/dns 0.4.30 → 0.4.31

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.
@@ -3,7 +3,8 @@ export declare function lookup(hostname: string, options?: LookupOptions | numbe
3
3
  export declare function resolve4(hostname: string): Promise<string[]>;
4
4
  export declare function resolve6(hostname: string): Promise<string[]>;
5
5
  export declare function reverse(ip: string): Promise<string[]>;
6
- export declare function resolve(hostname: string, rrtype?: string): Promise<any[]>;
6
+ export declare function resolve(hostname: string): Promise<string[]>;
7
+ export declare function resolve(hostname: string, rrtype: string): Promise<unknown[]>;
7
8
  declare const _default: {
8
9
  lookup: typeof lookup;
9
10
  resolve: typeof resolve;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/dns",
3
- "version": "0.4.30",
3
+ "version": "0.4.31",
4
4
  "description": "Node.js dns module for Gjs",
5
5
  "type": "module",
6
6
  "module": "lib/esm/index.js",
@@ -37,15 +37,15 @@
37
37
  "dns"
38
38
  ],
39
39
  "devDependencies": {
40
- "@gjsify/cli": "^0.4.30",
41
- "@gjsify/unit": "^0.4.30",
40
+ "@gjsify/cli": "^0.4.31",
41
+ "@gjsify/unit": "^0.4.31",
42
42
  "@types/node": "^25.9.1",
43
43
  "typescript": "^6.0.3"
44
44
  },
45
45
  "dependencies": {
46
46
  "@girs/gio-2.0": "2.88.0-4.0.1",
47
47
  "@girs/glib-2.0": "2.88.0-4.0.1",
48
- "@gjsify/net": "^0.4.30",
49
- "@gjsify/utils": "^0.4.30"
48
+ "@gjsify/net": "^0.4.31",
49
+ "@gjsify/utils": "^0.4.31"
50
50
  }
51
51
  }