@rest-vir/define-service 1.5.1 → 1.6.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.
@@ -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.1",
3
+ "version": "1.6.0",
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.1",
44
- "@augment-vir/common": "^31.68.1",
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.4.4",
47
- "url-vir": "^2.1.7"
46
+ "type-fest": "^5.5.0",
47
+ "url-vir": "^2.1.8"
48
48
  },
49
49
  "devDependencies": {
50
- "@augment-vir/test": "^31.68.1",
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",
@@ -56,8 +56,8 @@
56
56
  "istanbul-smart-text-reporter": "^1.1.5",
57
57
  "markdown-code-example-inserter": "^3.0.3",
58
58
  "object-shape-tester": "^6.11.0",
59
- "typedoc": "^0.28.17",
60
- "ws": "^8.19.0"
59
+ "typedoc": "^0.28.18",
60
+ "ws": "^8.20.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "object-shape-tester": ">=5"