@modern-js/bff-runtime 2.17.1 → 2.18.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @modern-js/bff-runtime
2
2
 
3
+ ## 2.18.1
4
+
5
+ ## 2.18.0
6
+
3
7
  ## 2.17.1
4
8
 
5
9
  ## 2.17.0
package/dist/esm/match.js CHANGED
@@ -30,7 +30,7 @@ function _async_to_generator(fn) {
30
30
  function _define_property(obj, key, value) {
31
31
  if (key in obj) {
32
32
  Object.defineProperty(obj, key, {
33
- value,
33
+ value: value,
34
34
  enumerable: true,
35
35
  configurable: true,
36
36
  writable: true
@@ -200,7 +200,7 @@ export var baseMatch = function(schema, handler) {
200
200
  };
201
201
  }();
202
202
  return Object.assign(handle, _define_property({
203
- schema
203
+ schema: schema
204
204
  }, HANDLER_WITH_SCHEMA, true));
205
205
  };
206
206
  export var match = baseMatch;
@@ -7,12 +7,12 @@ export var HandleSuccess = function(output) {
7
7
  export var InputValidationError = function(message) {
8
8
  return {
9
9
  type: "InputValidationError",
10
- message
10
+ message: message
11
11
  };
12
12
  };
13
13
  export var OutputValidationError = function(message) {
14
14
  return {
15
15
  type: "OutputValidationError",
16
- message
16
+ message: message
17
17
  };
18
18
  };
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.17.1",
18
+ "version": "2.18.1",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -42,8 +42,8 @@
42
42
  "jest": "^29",
43
43
  "ts-jest": "^29.0.5",
44
44
  "typescript": "^4",
45
- "@scripts/build": "2.17.1",
46
- "@scripts/jest-config": "2.17.1"
45
+ "@scripts/jest-config": "2.18.1",
46
+ "@scripts/build": "2.18.1"
47
47
  },
48
48
  "publishConfig": {
49
49
  "registry": "https://registry.npmjs.org/",