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 +5 -5
- package/dist/module.json +1 -1
- package/dist/runtime/components/Cap.d.vue.ts +1 -1
- package/dist/runtime/components/Cap.vue +1 -1
- package/dist/runtime/components/Cap.vue.d.ts +1 -1
- package/dist/runtime/composables/useCap.d.ts +1 -1
- package/dist/runtime/plugins/cap.d.ts +1 -1
- package/package.json +10 -10
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
|
|
170
|
-
[
|
|
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
|
|
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
|
|
203
|
+
It returns a Cap instance, similar to the one described in the official programmatic mode guide:
|
|
204
204
|
|
|
205
|
-
[Guide](https://
|
|
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { CapErrorEvent, CapProgressEvent, CapResetEvent, CapSolveEvent } from '
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { CapErrorEvent, CapProgressEvent, CapResetEvent, CapSolveEvent } from '
|
|
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 '
|
|
1
|
+
import type { CapConfig, CapInstance, CapWidget } from '@/src/runtime/types/Cap';
|
|
2
2
|
export declare function useCap(config?: CapConfig, el?: CapWidget): CapInstance | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-cap",
|
|
3
|
-
"version": "1.0.
|
|
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.
|
|
59
|
-
"@nuxt/kit": "^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.
|
|
62
|
+
"@dethdkn/ox-config": "^1.0.22",
|
|
63
63
|
"@nuxt/module-builder": "^1.0.2",
|
|
64
|
-
"@nuxt/schema": "^4.4.
|
|
65
|
-
"@types/bun": "^1.3.
|
|
66
|
-
"bumpp": "^11.0
|
|
67
|
-
"nuxt": "^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
|
|
70
|
+
"vue-tsc": "^3.3.2"
|
|
71
71
|
},
|
|
72
|
-
"packageManager": "bun@1.3.
|
|
72
|
+
"packageManager": "bun@1.3.14"
|
|
73
73
|
}
|