nuxt-cap 1.0.2 → 1.0.3

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
@@ -166,8 +166,8 @@ Allows you to customize the widget language.
166
166
 
167
167
  ## 🎨 Customizing Appearance
168
168
 
169
- To customize Cap’s appearance, follow the official Cap widget customization guide:
170
- [Customizing](https://capjs.js.org/guide/widget.html#customizing)
169
+ To customize Cap’s appearance, follow the official Cap widget styling guide:
170
+ [Styling](https://trycap.dev/guide/widget.html#styling)
171
171
 
172
172
  ## 🔄 Reset
173
173
 
@@ -198,11 +198,11 @@ Calling `resetCap()` will reset the current widget state, allowing the challenge
198
198
 
199
199
  ## 🪄 useCap composable
200
200
 
201
- You can use the `useCap()` composable for invisible mode.
201
+ You can use the `useCap()` composable for programmatic mode.
202
202
 
203
- It returns a Cap instance, similar to the one described in the official invisible guide:
203
+ It returns a Cap instance, similar to the one described in the official programmatic mode guide:
204
204
 
205
- [Guide](https://capjs.js.org/guide/invisible.html)
205
+ [Guide](https://trycap.dev/guide/programmatic.html)
206
206
 
207
207
  You can call any available Cap instance method, such as `cap.solve()`.
208
208
 
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "1.0.1",
7
+ "version": "1.0.2",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { CapErrorEvent, CapProgressEvent, CapResetEvent, CapSolveEvent } from '../types/Cap.js';
2
+ import type { CapErrorEvent, CapProgressEvent, CapResetEvent, CapSolveEvent } from '@/src/runtime/types/Cap';
3
3
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  workerCount: {
5
5
  type: NumberConstructor;
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
- import { onNuxtReady, useRuntimeConfig } from "#app";
3
2
  import { onUnmounted, ref } from "vue";
3
+ import { onNuxtReady, useRuntimeConfig } from "#app";
4
4
  const props = defineProps({
5
5
  workerCount: { type: Number, required: false },
6
6
  i18n: {
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { CapErrorEvent, CapProgressEvent, CapResetEvent, CapSolveEvent } from '../types/Cap.js';
2
+ import type { CapErrorEvent, CapProgressEvent, CapResetEvent, CapSolveEvent } from '@/src/runtime/types/Cap';
3
3
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  workerCount: {
5
5
  type: NumberConstructor;
@@ -1,2 +1,2 @@
1
- import type { CapConfig, CapInstance, CapWidget } from '../types/Cap.js';
1
+ import type { CapConfig, CapInstance, CapWidget } from '@/src/runtime/types/Cap';
2
2
  export declare function useCap(config?: CapConfig, el?: CapWidget): CapInstance | undefined;
@@ -1,4 +1,4 @@
1
- import type { CapClass } from '../types/Cap.js';
1
+ import type { CapClass } from '@/src/runtime/types/Cap';
2
2
  import '@cap.js/widget';
3
3
  declare global {
4
4
  var Cap: CapClass | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-cap",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "🧢 Integrate Cap into your Nuxt websites/applications.",
5
5
  "keywords": [
6
6
  "cap",
@@ -55,19 +55,19 @@
55
55
  "release": "bun run prerelease && bun run build && bumpp && sudo npm publish"
56
56
  },
57
57
  "dependencies": {
58
- "@cap.js/widget": "^0.1.46",
59
- "@nuxt/kit": "^4.4.4"
58
+ "@cap.js/widget": "^0.1.53",
59
+ "@nuxt/kit": "^4.4.6"
60
60
  },
61
61
  "devDependencies": {
62
- "@dethdkn/ox-config": "^1.0.20",
62
+ "@dethdkn/ox-config": "^1.0.22",
63
63
  "@nuxt/module-builder": "^1.0.2",
64
- "@nuxt/schema": "^4.4.4",
65
- "@types/bun": "^1.3.13",
66
- "bumpp": "^11.0.1",
67
- "nuxt": "^4.4.4",
64
+ "@nuxt/schema": "^4.4.6",
65
+ "@types/bun": "^1.3.14",
66
+ "bumpp": "^11.1.0",
67
+ "nuxt": "^4.4.6",
68
68
  "typescript": "6.0.3",
69
69
  "vitepress": "^1.6.4",
70
- "vue-tsc": "^3.2.7"
70
+ "vue-tsc": "^3.3.2"
71
71
  },
72
- "packageManager": "bun@1.3.13"
72
+ "packageManager": "bun@1.3.14"
73
73
  }