@rest-vir/define-service 1.5.1 → 1.5.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.
|
@@ -109,6 +109,7 @@ export function generateApi(service, options = {}) {
|
|
|
109
109
|
*/
|
|
110
110
|
export function makeMockApi(api, mocks) {
|
|
111
111
|
return {
|
|
112
|
+
serviceOrigin: api.serviceOrigin,
|
|
112
113
|
endpoints: mapObjectValues(api.endpoints, (endpointPath, endpointDefinition) => {
|
|
113
114
|
return {
|
|
114
115
|
...endpointDefinition,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rest-vir/define-service",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Define an connect to a declarative and type safe REST and WebSocket service.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rest",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"test:update": "npm test update"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@augment-vir/assert": "^31.68.
|
|
44
|
-
"@augment-vir/common": "^31.68.
|
|
43
|
+
"@augment-vir/assert": "^31.68.2",
|
|
44
|
+
"@augment-vir/common": "^31.68.2",
|
|
45
45
|
"date-vir": "^8.2.1",
|
|
46
|
-
"type-fest": "^5.
|
|
46
|
+
"type-fest": "^5.5.0",
|
|
47
47
|
"url-vir": "^2.1.7"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@augment-vir/test": "^31.68.
|
|
50
|
+
"@augment-vir/test": "^31.68.2",
|
|
51
51
|
"@web/dev-server-esbuild": "^1.0.5",
|
|
52
52
|
"@web/test-runner": "^0.20.2",
|
|
53
53
|
"@web/test-runner-commands": "^0.9.0",
|