@aeriajs/common 0.0.22 → 0.0.24

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/dist/schema.d.ts CHANGED
@@ -4,7 +4,7 @@ export declare const leftSchema: <const TObject extends Property>(object: TObjec
4
4
  type: "object";
5
5
  properties: {
6
6
  _tag: {
7
- enum: string[];
7
+ const: string;
8
8
  };
9
9
  value: Property;
10
10
  };
@@ -13,7 +13,7 @@ export declare const rightSchema: <const TObject extends Property>(object: TObje
13
13
  type: "object";
14
14
  properties: {
15
15
  _tag: {
16
- enum: string[];
16
+ const: string;
17
17
  };
18
18
  value: Property;
19
19
  };
package/dist/schema.js CHANGED
@@ -53,7 +53,7 @@ const leftSchema = (object) => {
53
53
  type: 'object',
54
54
  properties: {
55
55
  _tag: {
56
- enum: ['Left'],
56
+ const: 'Left',
57
57
  },
58
58
  value: object,
59
59
  },
@@ -65,7 +65,7 @@ const rightSchema = (object) => {
65
65
  type: 'object',
66
66
  properties: {
67
67
  _tag: {
68
- enum: ['Right'],
68
+ const: 'Right',
69
69
  },
70
70
  value: object,
71
71
  },
package/dist/schema.mjs CHANGED
@@ -53,9 +53,7 @@ export var leftSchema = function(object) {
53
53
  type: "object",
54
54
  properties: {
55
55
  _tag: {
56
- enum: [
57
- "Left"
58
- ]
56
+ const: "Left"
59
57
  },
60
58
  value: object
61
59
  }
@@ -66,9 +64,7 @@ export var rightSchema = function(object) {
66
64
  type: "object",
67
65
  properties: {
68
66
  _tag: {
69
- enum: [
70
- "Right"
71
- ]
67
+ const: "Right"
72
68
  },
73
69
  value: object
74
70
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/common",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -27,7 +27,7 @@
27
27
  }
28
28
  },
29
29
  "peerDependencies": {
30
- "@aeriajs/types": "^0.0.19",
30
+ "@aeriajs/types": "^0.0.21",
31
31
  "bson": "^5.4.0"
32
32
  },
33
33
  "scripts": {