nuxt-schema-org 6.2.0 → 6.2.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.
@@ -1,6 +1,7 @@
1
1
  import { onDevtoolsClientConnected, useDevtoolsClient } from '@nuxt/devtools-kit/iframe-client'
2
+ import { useDevtoolsConnection } from 'nuxtseo-layer-devtools/composables/rpc'
3
+ import { refreshTime } from 'nuxtseo-layer-devtools/composables/state'
2
4
  import { ref, watch } from 'vue'
3
- import { refreshTime, useDevtoolsConnection } from '#imports'
4
5
 
5
6
  // Mirror the layer's workaround: initialize the devtools client ref before any
6
7
  // onDevtoolsClientConnected call, or the devtools-kit alpha getter on
@@ -1,4 +1,6 @@
1
- import { refreshTime, useAsyncData } from '#imports'
1
+ import { appFetch } from 'nuxtseo-layer-devtools/composables/rpc'
2
+ import { refreshTime } from 'nuxtseo-layer-devtools/composables/state'
3
+ import { useAsyncData } from '#imports'
2
4
 
3
5
  export function fetchGlobalDebug() {
4
6
  return useAsyncData<{
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { fetchGlobalDebug } from '../../lib/schema-org/fetch'
2
+ import { fetchGlobalDebug } from '../../lib/schema-org/state'
3
3
 
4
4
  const { data } = fetchGlobalDebug()
5
5
  </script>
@@ -1,8 +1,10 @@
1
1
  <script setup lang="ts">
2
+ import { loadShiki } from 'nuxtseo-layer-devtools/composables/shiki'
3
+ import { isProductionMode, refreshSources } from 'nuxtseo-layer-devtools/composables/state'
2
4
  import { computed, watch } from 'vue'
3
- import { isProductionMode, loadShiki, navigateTo, refreshSources, useRoute } from '#imports'
4
- import { fetchGlobalDebug } from '../lib/schema-org/fetch'
5
+ import { navigateTo, useRoute } from '#imports'
5
6
  import { schemaOrgGraph } from '../lib/schema-org/rpc'
7
+ import { fetchGlobalDebug } from '../lib/schema-org/state'
6
8
 
7
9
  await loadShiki()
8
10
 
package/dist/module.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "optional": true
22
22
  }
23
23
  },
24
- "version": "6.2.0",
24
+ "version": "6.2.1",
25
25
  "builder": {
26
26
  "@nuxt/module-builder": "1.0.2",
27
27
  "unbuild": "3.6.1"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-schema-org",
3
3
  "type": "module",
4
- "version": "6.2.0",
4
+ "version": "6.2.1",
5
5
  "description": "The quickest and easiest way to build Schema.org graphs for Nuxt.",
6
6
  "author": "Harlan Wilton <harlan@harlanzw.com>",
7
7
  "license": "MIT",
@@ -66,7 +66,8 @@
66
66
  "@nuxt/kit": "^4.4.8",
67
67
  "defu": "^6.1.7",
68
68
  "nuxt-site-config": "^4.0.8",
69
- "nuxtseo-shared": "^5.2.2",
69
+ "nuxtseo-layer-devtools": "^5.2.6",
70
+ "nuxtseo-shared": "^5.2.6",
70
71
  "pkg-types": "^2.3.1",
71
72
  "ufo": "^1.6.4"
72
73
  },
@@ -91,7 +92,6 @@
91
92
  "eslint-plugin-harlanzw": "^0.17.0",
92
93
  "happy-dom": "^20.10.2",
93
94
  "nuxt": "^4.4.8",
94
- "nuxtseo-layer-devtools": "^5.2.2",
95
95
  "typescript": "^6.0.3",
96
96
  "unbuild": "^3.6.1",
97
97
  "vitest": "^4.1.8"