@croct/plug-nuxt 0.1.0 → 0.1.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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  <source media="(min-width: 769px) and (prefers-color-scheme: dark)" srcset="https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-dark.svg">
6
6
  <source media="(max-width: 768px) and (prefers-color-scheme: dark)" srcset="https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-dark-mobile.svg">
7
7
  <source media="(max-width: 768px) and (prefers-color-scheme: light)" srcset="https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-light-mobile.svg">
8
- <img src="https://raw.githubusercontent.com/croct-tech/plug-js/refs/heads/update-readme/.github/assets/header-light-mobile.svg" alt="Croct Nuxt SDK" title="Croct Nuxt SDK" width="100%">
8
+ <img src="https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-light-mobile.svg" alt="Croct Nuxt SDK" title="Croct Nuxt SDK" width="100%">
9
9
  </picture>
10
10
  </a>
11
11
  <br/>
@@ -13,7 +13,7 @@
13
13
  Bring dynamic, personalized content natively into your Nuxt applications.
14
14
  </p>
15
15
  <div align="center">
16
- <strong><a href="https://docs.croct.com/reference/sdk/nuxt/installation">Quick start &rarr;</a></strong>
16
+ <strong><a href="https://docs.croct.com/reference/sdk/nuxt/integration">Quick start &rarr;</a></strong>
17
17
  </div>
18
18
  <br/>
19
19
  <p align="center">
@@ -31,7 +31,7 @@ Run this command to install the SDK:
31
31
  ```sh
32
32
  npm install @croct/plug-nuxt
33
33
  ```
34
- See our [quick start guide](https://docs.croct.com/reference/sdk/nuxt/installation) for more details.
34
+ See our [quick start guide](https://docs.croct.com/reference/sdk/nuxt/integration) for more details.
35
35
 
36
36
  ## Documentation
37
37
 
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "0.1.0",
7
+ "version": "0.1.1",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -1,4 +1,4 @@
1
- import { readBody } from "h3";
1
+ import { defineEventHandler, readBody } from "h3";
2
2
  import { fetchContent } from "../../composables/fetchContent.js";
3
3
  export default defineEventHandler(async (event) => {
4
4
  const { slotId, ...options } = await readBody(event);
@@ -1,4 +1,4 @@
1
- import { readBody } from "h3";
1
+ import { defineEventHandler, readBody } from "h3";
2
2
  import { evaluate } from "../../composables/evaluate.js";
3
3
  export default defineEventHandler(async (event) => {
4
4
  const { query, ...options } = await readBody(event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croct/plug-nuxt",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Nuxt module to plug your Nuxt 3 applications into Croct.",
5
5
  "author": {
6
6
  "name": "Croct",