nuxtseo-layer-devtools 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/app.config.ts CHANGED
@@ -1,4 +1,4 @@
1
- export default defineAppConfig({
1
+ export default {
2
2
  ui: {
3
3
  colors: {
4
4
  primary: 'green',
@@ -24,4 +24,4 @@ export default defineAppConfig({
24
24
  },
25
25
  },
26
26
  },
27
- })
27
+ }
@@ -1,6 +1,6 @@
1
1
  import { useClipboard } from '@vueuse/core'
2
2
 
3
- export function useCopy(timeout = 2000) {
3
+ export function useCopy(timeout = 2000): { copy: (text: string) => Promise<void>, copied: import('vue').Ref<boolean> } {
4
4
  const { copy, copied } = useClipboard({ legacy: true, copiedDuring: timeout })
5
5
  return { copy, copied }
6
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxtseo-layer-devtools",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description": "Shared Nuxt layer for Nuxt SEO devtools clients.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",