@modern-js/bff-runtime 2.21.1 → 2.22.0
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 +2 -0
- package/dist/cjs/index.js +9 -3
- package/dist/cjs/match.js +12 -4
- package/dist/cjs/response.js +9 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -10,9 +10,15 @@ function _export(target, all) {
|
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
match: ()
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
match: function() {
|
|
14
|
+
return _match.match;
|
|
15
|
+
},
|
|
16
|
+
isHandler: function() {
|
|
17
|
+
return _match.isHandler;
|
|
18
|
+
},
|
|
19
|
+
isSchemaHandler: function() {
|
|
20
|
+
return _match.isSchemaHandler;
|
|
21
|
+
}
|
|
16
22
|
});
|
|
17
23
|
const _export_star = require("@swc/helpers/_/_export_star");
|
|
18
24
|
_export_star._(require("farrow-schema"), exports);
|
package/dist/cjs/match.js
CHANGED
|
@@ -10,10 +10,18 @@ function _export(target, all) {
|
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
isSchemaHandler: ()
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
isSchemaHandler: function() {
|
|
14
|
+
return isSchemaHandler;
|
|
15
|
+
},
|
|
16
|
+
isHandler: function() {
|
|
17
|
+
return isHandler;
|
|
18
|
+
},
|
|
19
|
+
baseMatch: function() {
|
|
20
|
+
return baseMatch;
|
|
21
|
+
},
|
|
22
|
+
match: function() {
|
|
23
|
+
return match;
|
|
24
|
+
}
|
|
17
25
|
});
|
|
18
26
|
const _farrowschema = require("farrow-schema");
|
|
19
27
|
const _validator = require("farrow-schema/validator");
|
package/dist/cjs/response.js
CHANGED
|
@@ -10,9 +10,15 @@ function _export(target, all) {
|
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
HandleSuccess: ()
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
HandleSuccess: function() {
|
|
14
|
+
return HandleSuccess;
|
|
15
|
+
},
|
|
16
|
+
InputValidationError: function() {
|
|
17
|
+
return InputValidationError;
|
|
18
|
+
},
|
|
19
|
+
OutputValidationError: function() {
|
|
20
|
+
return OutputValidationError;
|
|
21
|
+
}
|
|
16
22
|
});
|
|
17
23
|
const HandleSuccess = (output) => ({
|
|
18
24
|
type: "HandleSuccess",
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.
|
|
18
|
+
"version": "2.22.0",
|
|
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.1.0",
|
|
44
44
|
"typescript": "^5",
|
|
45
|
-
"@scripts/
|
|
46
|
-
"@scripts/
|
|
45
|
+
"@scripts/build": "2.22.0",
|
|
46
|
+
"@scripts/jest-config": "2.22.0"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"registry": "https://registry.npmjs.org/",
|