@okam/directus-next 1.2.28 → 2.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ # 2.0.0 (2026-02-05)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated core-lib to 2.0.0
6
+ - Updated next-component to 2.0.0
7
+ - Updated directus-node to 1.0.0
8
+ - Updated directus-query to 2.0.0
9
+
10
+ ## 1.2.29 (2026-01-23)
11
+
12
+ ### 🧱 Updated Dependencies
13
+
14
+ - Updated core-lib to 1.17.4
15
+ - Updated next-component to 1.3.7
16
+ - Updated directus-node to 0.7.5
17
+ - Updated directus-query to 1.5.5
18
+
1
19
  ## 1.2.27 (2026-01-21)
2
20
 
3
21
  ### 🧱 Updated Dependencies
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { g as getRedirectSecretDefault } from "./router-oaFeb_tY.mjs";
2
- import { l, d, b, a, h } from "./router-oaFeb_tY.mjs";
1
+ import { g as getRedirectSecretDefault } from "./router-16XNi-G3.mjs";
2
+ import { l, d, a, b, h } from "./router-16XNi-G3.mjs";
3
3
  import { draftMode } from "next/headers";
4
4
  import { redirect } from "next/navigation";
5
5
  import { template } from "radashi";
@@ -187,12 +187,12 @@ async function handleRedirectsRoute({
187
187
  export {
188
188
  l as DirectusNextLogger,
189
189
  d as directusRouteRouter,
190
- b as getApiRouteUrlDefault,
190
+ a as getApiRouteUrlDefault,
191
191
  getDraftSecretDefault,
192
192
  getJsonErrorResponse,
193
193
  getPathFromRoute,
194
194
  getRedirectSecretDefault,
195
- a as getRedirectsRoute,
195
+ b as getRedirectsRoute,
196
196
  handleDraftRoute,
197
197
  h as handleRedirect,
198
198
  handleRedirectsRoute,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okam/directus-next",
3
- "version": "1.2.28",
3
+ "version": "2.0.0",
4
4
  "repository": {
5
5
  "url": "https://github.com/OKAMca/stack.git"
6
6
  },
@@ -42,15 +42,15 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@graphql-typed-document-node/core": "3.2.0",
45
- "@okam/core-lib": "1.17.3",
46
- "@okam/directus-node": "0.7.4",
47
- "@okam/directus-query": "1.5.4",
45
+ "@okam/core-lib": "2.0.0",
46
+ "@okam/directus-node": "1.0.0",
47
+ "@okam/directus-query": "2.0.0",
48
48
  "@okam/logger": "1.1.0",
49
- "@okam/next-component": "1.3.6",
49
+ "@okam/next-component": "2.0.0",
50
50
  "graphql-request": "^7.1.2",
51
51
  "next": "^15.1.0 || ^16.0.0",
52
52
  "radashi": "^12.3.0",
53
53
  "server-only": "0.0.1",
54
54
  "zod": "^4.3.5"
55
55
  }
56
- }
56
+ }
@@ -205,8 +205,8 @@ async function directusRouteRouter(request, config, NextResponse$1 = NextRespons
205
205
  return NextResponse$1.rewrite(url);
206
206
  }
207
207
  export {
208
- getRedirectsRoute as a,
209
- getApiRouteUrlDefault as b,
208
+ getApiRouteUrlDefault as a,
209
+ getRedirectsRoute as b,
210
210
  log as c,
211
211
  directusRouteRouter as d,
212
212
  getRedirectSecretDefault as g,
package/server.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use server";
2
- import { c as log } from "./router-oaFeb_tY.mjs";
3
- import { d } from "./router-oaFeb_tY.mjs";
2
+ import { c as log } from "./router-16XNi-G3.mjs";
3
+ import { d } from "./router-16XNi-G3.mjs";
4
4
  import { queryGql } from "@okam/directus-query";
5
5
  import { isEqual, get, invert } from "radashi";
6
6
  import { createServerContext } from "@okam/next-component/server";