@okam/directus-next 2.2.1 → 2.2.3

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,19 @@
1
+ ## 2.2.3 (2026-04-15)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated next-component to 2.1.2
6
+
7
+ ## 2.2.2 (2026-04-14)
8
+
9
+ ### 🩹 Fixes
10
+
11
+ - issue with setvar not correctly being applied preventing cache ([#480](https://github.com/OKAMca/stack/pull/480))
12
+
13
+ ### ❤️ Thank You
14
+
15
+ - Marie-Maxime Tanguay @marie-maxime
16
+
1
17
  ## 2.2.0 (2026-04-06)
2
18
 
3
19
  ### 🚀 Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okam/directus-next",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "repository": {
5
5
  "url": "https://github.com/OKAMca/stack.git"
6
6
  },
@@ -46,7 +46,7 @@
46
46
  "@okam/directus-node": "1.2.0",
47
47
  "@okam/directus-query": "2.1.1",
48
48
  "@okam/logger": "1.1.0",
49
- "@okam/next-component": "2.1.1",
49
+ "@okam/next-component": "2.1.2",
50
50
  "graphql-request": "^7.1.2",
51
51
  "radashi": "^12.3.0",
52
52
  "server-only": "0.0.1",
package/server.js CHANGED
@@ -54,7 +54,7 @@ async function getPageSettings(props, itemKey) {
54
54
  }
55
55
  router.log("Caching new page settings", { path: currentPath });
56
56
  setPageSettingsContext(currentItem);
57
- setVariables(variables);
57
+ setVariables(directusVariables);
58
58
  return currentItem;
59
59
  }
60
60
  const usePageSettings = getPageSettings;
package/server.mjs CHANGED
@@ -53,7 +53,7 @@ async function getPageSettings(props, itemKey) {
53
53
  }
54
54
  log("Caching new page settings", { path: currentPath });
55
55
  setPageSettingsContext(currentItem);
56
- setVariables(variables);
56
+ setVariables(directusVariables);
57
57
  return currentItem;
58
58
  }
59
59
  const usePageSettings = getPageSettings;