pmcf 1.77.1 → 1.77.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "1.77.1",
3
+ "version": "1.77.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/dns.mjs CHANGED
@@ -100,7 +100,7 @@ export class DNSService extends Base {
100
100
  }
101
101
  }
102
102
 
103
- async resolvedConfig() {
103
+ get resolvedConfig() {
104
104
  return {
105
105
  DNS: serviceAddresses(this, {
106
106
  ...DNS_SERVICE_FILTER,
package/src/location.mjs CHANGED
@@ -55,7 +55,7 @@ export class Location extends Owner {
55
55
  await writeLines(
56
56
  join(stagingDir, "etc/systemd/resolved.conf.d"),
57
57
  `${this.name}.conf`,
58
- sectionLines("Resolve", await this.dns.resolvedConfig())
58
+ sectionLines("Resolve", this.dns.resolvedConfig)
59
59
  );
60
60
 
61
61
  await writeLines(
package/types/dns.d.mts CHANGED
@@ -83,14 +83,14 @@ export class DNSService extends Base {
83
83
  get trusted(): any[];
84
84
  set forwardsTo(value: any[]);
85
85
  get forwardsTo(): any[];
86
- resolvedConfig(): Promise<{
86
+ get resolvedConfig(): {
87
87
  DNS: string;
88
88
  FallbackDNS: string;
89
89
  Domains: string;
90
90
  DNSSEC: string;
91
91
  MulticastDNS: string;
92
92
  LLMNR: string;
93
- }>;
93
+ };
94
94
  preparePackages(stagingDir: any): AsyncGenerator<{
95
95
  sources: AsyncGenerator<any, void, unknown>[];
96
96
  outputs: Set<typeof import("npm-pkgbuild").ARCH | typeof import("npm-pkgbuild").DOCKER>;