@objectstack/runtime 1.0.10 → 1.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/runtime",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "license": "Apache-2.0",
5
5
  "description": "ObjectStack Core Runtime & Query Engine",
6
6
  "type": "module",
@@ -8,9 +8,9 @@
8
8
  "types": "dist/index.d.ts",
9
9
  "dependencies": {
10
10
  "zod": "^3.24.1",
11
- "@objectstack/core": "1.0.10",
12
- "@objectstack/spec": "1.0.10",
13
- "@objectstack/types": "1.0.10"
11
+ "@objectstack/core": "1.0.11",
12
+ "@objectstack/spec": "1.0.11",
13
+ "@objectstack/types": "1.0.11"
14
14
  },
15
15
  "devDependencies": {
16
16
  "typescript": "^5.0.0",
@@ -63,7 +63,7 @@ export class HttpDispatcher {
63
63
  environment: getEnv('NODE_ENV', 'development'),
64
64
  routes: {
65
65
  data: `${prefix}/data`,
66
- metadata: `${prefix}/metadata`,
66
+ metadata: `${prefix}/meta`,
67
67
  auth: `${prefix}/auth`,
68
68
  graphql: hasGraphQL ? `${prefix}/graphql` : undefined,
69
69
  storage: hasFiles ? `${prefix}/storage` : undefined,
@@ -504,8 +504,8 @@ export class HttpDispatcher {
504
504
  return this.handleAuth(cleanPath.substring(5), method, body, context);
505
505
  }
506
506
 
507
- if (cleanPath.startsWith('/metadata')) {
508
- return this.handleMetadata(cleanPath.substring(9), context);
507
+ if (cleanPath.startsWith('/meta')) {
508
+ return this.handleMetadata(cleanPath.substring(5), context);
509
509
  }
510
510
 
511
511
  if (cleanPath.startsWith('/data')) {