@okam/directus-block 1.6.3 → 1.7.1

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,17 +1,40 @@
1
- ## 1.6.3 (2026-01-14)
1
+ ## 1.7.1 (2026-01-16)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated directus-query to 1.5.0
6
+
7
+ ## 1.7.0 (2026-01-16)
2
8
 
3
9
  ### 🚀 Features
4
10
 
5
11
  - ⚠️ React 19 + Next.js 15 upgrade for all @okam/* packages ([#369](https://github.com/OKAMca/stack/pull/369))
12
+ - Consumers must now have react and react-dom in their own
6
13
 
7
14
  ### 🩹 Fixes
8
15
 
16
+ - **directus-block:** remove breaking changes tag ([b521c26](https://github.com/OKAMca/stack/commit/b521c26))
17
+ - **directus-block:** stop bundling okam libs ([b0ddad5](https://github.com/OKAMca/stack/commit/b0ddad5))
18
+ - **directus-next:** draft route handler uses zod, returns draft isEnabled whenever possible ([#376](https://github.com/OKAMca/stack/pull/376))
9
19
  - ⚠️ functions starting with "use" should be reserved to react hooks ([68f1f8f](https://github.com/OKAMca/stack/commit/68f1f8f))
10
20
 
11
- ### ⚠️ Breaking Changes
21
+ ### ❤️ Thank You
22
+
23
+ - Marie-Maxime Tanguay @marie-maxime
24
+ - Pierre-Olivier Clerson @poclerson
25
+ - poclerson
26
+
27
+ ## 1.6.3 (2026-01-14)
28
+
29
+ ### 🚀 Features
12
30
 
31
+ - ⚠️ React 19 + Next.js 15 upgrade for all @okam/* packages ([#369](https://github.com/OKAMca/stack/pull/369))
13
32
  - Consumers must now have react and react-dom in their own
14
33
 
34
+ ### 🩹 Fixes
35
+
36
+ - ⚠️ functions starting with "use" should be reserved to react hooks ([68f1f8f](https://github.com/OKAMca/stack/commit/68f1f8f))
37
+
15
38
  ### 🧱 Updated Dependencies
16
39
 
17
40
  - Updated stack-ui to 1.44.0
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const BlockSettingsFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "BlockSettings" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "block_settings" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variant" } }] } }] };
3
+ const BlockSettingsFragmentDoc = {};
4
4
  exports.BlockSettingsFragmentDoc = BlockSettingsFragmentDoc;
@@ -1,4 +1,4 @@
1
- const BlockSettingsFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "BlockSettings" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "block_settings" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variant" } }] } }] };
1
+ const BlockSettingsFragmentDoc = {};
2
2
  export {
3
3
  BlockSettingsFragmentDoc
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okam/directus-block",
3
- "version": "1.6.3",
3
+ "version": "1.7.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@graphql-typed-document-node/core": "3.2.0",
36
- "@okam/directus-query": "1.4.2",
36
+ "@okam/directus-query": "1.5.0",
37
37
  "@okam/stack-ui": "1.44.0",
38
38
  "graphql": "^16.9.0",
39
39
  "graphql-request": "^7.1.2",
@@ -1,5 +1,5 @@
1
1
  "server-only";
2
- import { queryGql, defaultGraphqlRequestClient } from "@okam/directus-query";
2
+ import { defaultGraphqlRequestClient, queryGql } from "@okam/directus-query";
3
3
  import { isEmpty } from "radashi";
4
4
  function isVariables(maybeVariables) {
5
5
  return !!maybeVariables;