@prezly/theme-kit-core 9.8.0 → 9.8.2

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.
@@ -199,8 +199,8 @@ function createClient(prezly, newsroomUuid, newsroomThemeUuid) {
199
199
  ["visibility"]: {
200
200
  $in: [_sdk.Story.Visibility.PUBLIC]
201
201
  },
202
- ["tag_names"]: tags !== null && tags !== void 0 && tags.length ? {
203
- $in: [tags]
202
+ ["tag.name"]: tags !== null && tags !== void 0 && tags.length ? {
203
+ $any: tags
204
204
  } : undefined
205
205
  }),
206
206
  include
@@ -193,8 +193,8 @@ export function createClient(prezly, newsroomUuid, newsroomThemeUuid) {
193
193
  ["visibility"]: {
194
194
  $in: [Story.Visibility.PUBLIC]
195
195
  },
196
- ["tag_names"]: tags !== null && tags !== void 0 && tags.length ? {
197
- $in: [tags]
196
+ ["tag.name"]: tags !== null && tags !== void 0 && tags.length ? {
197
+ $any: tags
198
198
  } : undefined
199
199
  }),
200
200
  include
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/theme-kit-core",
3
- "version": "9.8.0",
3
+ "version": "9.8.2",
4
4
  "description": "Data layer and utility library for developing Prezly themes with JavaScript",
5
5
  "main": "build/index.mjs",
6
6
  "types": "build/index.d.ts",
@@ -32,10 +32,10 @@
32
32
  "test:build:cjs": "node tests/test-build.cjs"
33
33
  },
34
34
  "peerDependencies": {
35
- "@prezly/sdk": "21.12.0"
35
+ "@prezly/sdk": "21.12.0 || ^23.x"
36
36
  },
37
37
  "dependencies": {
38
- "@prezly/theme-kit-intl": "^9.6.0",
38
+ "@prezly/theme-kit-intl": "^9.8.2",
39
39
  "@prezly/uploadcare": "2.4.4",
40
40
  "@technically/is-not-undefined": "^1.0.0",
41
41
  "@technically/omit-undefined": "^1.0.2",
@@ -70,5 +70,5 @@
70
70
  "publishConfig": {
71
71
  "access": "public"
72
72
  },
73
- "gitHead": "da1b18a0ee4f3e57d058b8f81d699982fe2bd022"
73
+ "gitHead": "d77b4c356ce396647138f27076bb4325b8b785d4"
74
74
  }