@studio-fes/layer-strapi 0.1.3 → 0.1.5

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,5 +1,17 @@
1
1
  # @studio-fes/layer-strapi
2
2
 
3
+ ## 0.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Revert ordering of props priority on StrapiVideo component
8
+
9
+ ## 0.1.4
10
+
11
+ ### Patch Changes
12
+
13
+ - Fix id video generation and props priority in StrapiVideo
14
+
3
15
  ## 0.1.3
4
16
 
5
17
  ### Patch Changes
@@ -6,10 +6,10 @@ export function parseStrapiVideo(video: StrapiFileFragment | null | undefined):
6
6
  return {}
7
7
 
8
8
  const runtimeConfig = useRuntimeConfig()
9
- const id = useState(() => uuidv4())
9
+ const id = useId()
10
10
 
11
11
  return {
12
- id: `video-${id.value}`,
12
+ id: `video-${id}`,
13
13
  src: runtimeConfig.public.imageDomain + video.url,
14
14
  width: video.width,
15
15
  height: video.height,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@studio-fes/layer-strapi",
3
3
  "type": "module",
4
- "version": "0.1.3",
4
+ "version": "0.1.5",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev",