@objectstack/runtime 2.0.6 → 3.0.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @objectstack/runtime@2.0.6 build /home/runner/work/spec/spec/packages/runtime
2
+ > @objectstack/runtime@3.0.0 build /home/runner/work/spec/spec/packages/runtime
3
3
  > tsup --config ../../tsup.config.ts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,13 +10,13 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- CJS dist/index.cjs 47.58 KB
14
- CJS dist/index.cjs.map 103.93 KB
15
- CJS ⚡️ Build success in 78ms
16
- ESM dist/index.js 45.66 KB
17
- ESM dist/index.js.map 103.88 KB
18
- ESM ⚡️ Build success in 80ms
13
+ ESM dist/index.js 45.75 KB
14
+ ESM dist/index.js.map 104.06 KB
15
+ ESM ⚡️ Build success in 92ms
16
+ CJS dist/index.cjs 47.63 KB
17
+ CJS dist/index.cjs.map 104.13 KB
18
+ CJS ⚡️ Build success in 97ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 2303ms
21
- DTS dist/index.d.ts 19.98 KB
22
- DTS dist/index.d.cts 19.98 KB
20
+ DTS ⚡️ Build success in 2491ms
21
+ DTS dist/index.d.ts 19.94 KB
22
+ DTS dist/index.d.cts 19.94 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @objectstack/runtime
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Release v3.0.0 — unified version bump for all ObjectStack packages.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @objectstack/spec@3.0.0
13
+ - @objectstack/core@3.0.0
14
+ - @objectstack/types@3.0.0
15
+ - @objectstack/rest@3.0.0
16
+
17
+ ## 2.0.7
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+ - @objectstack/spec@2.0.7
23
+ - @objectstack/core@2.0.7
24
+ - @objectstack/rest@2.0.7
25
+ - @objectstack/types@2.0.7
26
+
3
27
  ## 2.0.6
4
28
 
5
29
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -31,7 +31,6 @@ __export(index_exports, {
31
31
  RouteGroupBuilder: () => import_rest.RouteGroupBuilder,
32
32
  RouteManager: () => import_rest.RouteManager,
33
33
  Runtime: () => Runtime,
34
- createApiRegistryPlugin: () => import_rest.createApiRegistryPlugin,
35
34
  createDispatcherPlugin: () => createDispatcherPlugin,
36
35
  createRestApiPlugin: () => import_rest.createRestApiPlugin
37
36
  });
@@ -924,6 +923,9 @@ function createDispatcherPlugin(config = {}) {
924
923
  server.get("/.well-known/objectstack", async (_req, res) => {
925
924
  res.json({ data: dispatcher.getDiscoveryInfo(prefix) });
926
925
  });
926
+ server.get(`${prefix}/discovery`, async (_req, res) => {
927
+ res.json({ data: dispatcher.getDiscoveryInfo(prefix) });
928
+ });
927
929
  server.post(`${prefix}/auth/login`, async (req, res) => {
928
930
  try {
929
931
  const result = await dispatcher.handleAuth("login", "POST", req.body, { request: req });
@@ -1306,7 +1308,6 @@ __reExport(index_exports, require("@objectstack/core"), module.exports);
1306
1308
  RouteGroupBuilder,
1307
1309
  RouteManager,
1308
1310
  Runtime,
1309
- createApiRegistryPlugin,
1310
1311
  createDispatcherPlugin,
1311
1312
  createRestApiPlugin,
1312
1313
  ...require("@objectstack/core")