pmcf 6.50.1 → 6.50.3

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": "6.50.1",
3
+ "version": "6.50.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/service.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import { setBaseService, CoreService, addType } from "pmcf";
2
2
  import { serviceTypes, ServiceTypes } from "./service-types.mjs";
3
3
 
4
- export class Service extends CoreService {
5
- static name = "service";
4
+ export class service extends CoreService {
5
+
6
6
  static {
7
7
  addType(this);
8
8
  setBaseService(this);
package/src/subnet.mjs CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  decodeIP,
5
5
  matchPrefixIP,
6
6
  } from "ip-utilties";
7
- import { string_attribute, name_attribute, integer_attribute } from "pacc";
8
- import { networks_attribute } from "./common-attributes.mjs";
7
+ import { name_attribute, integer_attribute } from "pacc";
8
+ import { networks_attribute, family_attribute } from "./common-attributes.mjs";
9
9
  import { addType, network, core } from "pmcf";
10
10
 
11
11
  export class Subnet extends core {
@@ -18,7 +18,7 @@ export class Subnet extends core {
18
18
  address: { ...name_attribute, name: "address", private: true },
19
19
  networks: networks_attribute,
20
20
  prefixLength: { ...integer_attribute, name: "prefixLength" },
21
- family: { ...string_attribute, name: "family" }
21
+ family: family_attribute
22
22
  };
23
23
 
24
24
  static {