@wetransform/vue 1.7.0 → 2.0.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 +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +9 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @wetransform/vue
|
|
2
2
|
|
|
3
|
-
Vue 3 wrapper around `@wetransform/core` with a composable API and a component.
|
|
3
|
+
Vue 3 wrapper around [`@wetransform/core`](https://www.npmjs.com/package/@wetransform/core) with a composable API and a component.
|
|
4
4
|
|
|
5
5
|
[SDK Guide](https://api.wetransform.com/en/documentation/sdk) — overview of the SDK packages and how to integrate them into your website
|
|
6
6
|
|
|
@@ -73,7 +73,7 @@ Emits:
|
|
|
73
73
|
- `open`
|
|
74
74
|
- `close`
|
|
75
75
|
- `destroy`
|
|
76
|
-
- `
|
|
76
|
+
- `ready`
|
|
77
77
|
- `successSubmit` → `(payload: { customerId: string; templateHandle: string; fileUrl: string; signature: string; userFileName: string })`
|
|
78
78
|
- `error` → `(payload: { code: string; message: string; stack?: string })`
|
|
79
79
|
|
package/dist/index.d.mts
CHANGED
|
@@ -31,7 +31,7 @@ type WeTransformEmits = {
|
|
|
31
31
|
open: () => void;
|
|
32
32
|
close: () => void;
|
|
33
33
|
destroy: () => void;
|
|
34
|
-
|
|
34
|
+
ready: () => void;
|
|
35
35
|
successSubmit: (payload: Parameters<WeTransformEventMap$1['successSubmit']>[0]) => void;
|
|
36
36
|
error: (payload: Parameters<WeTransformEventMap$1['error']>[0]) => void;
|
|
37
37
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -102,7 +102,7 @@ const WeTransformSdk = defineComponent({
|
|
|
102
102
|
"open",
|
|
103
103
|
"close",
|
|
104
104
|
"destroy",
|
|
105
|
-
"
|
|
105
|
+
"ready",
|
|
106
106
|
"successSubmit",
|
|
107
107
|
"error"
|
|
108
108
|
],
|
|
@@ -117,7 +117,7 @@ const WeTransformSdk = defineComponent({
|
|
|
117
117
|
on("open", () => emit("open")),
|
|
118
118
|
on("close", () => emit("close")),
|
|
119
119
|
on("destroy", () => emit("destroy")),
|
|
120
|
-
on("
|
|
120
|
+
on("ready", () => emit("ready")),
|
|
121
121
|
on("successSubmit", (payload) => emit("successSubmit", payload)),
|
|
122
122
|
on("error", (payload) => emit("error", payload))
|
|
123
123
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wetransform/vue",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"homepage": "https://wetransform.com",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"files": [
|
|
@@ -14,17 +14,21 @@
|
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"
|
|
18
|
-
"@wetransform/core": "1.7.0"
|
|
17
|
+
"@wetransform/core": "2.0.0"
|
|
19
18
|
},
|
|
20
19
|
"devDependencies": {
|
|
21
|
-
"@types/node": "^24.12.
|
|
20
|
+
"@types/node": "^24.12.4",
|
|
22
21
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
23
22
|
"@vue/test-utils": "^2.4.11",
|
|
24
23
|
"jsdom": "^29.1.1",
|
|
25
24
|
"typescript": "^6.0.3",
|
|
26
25
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.1",
|
|
27
|
-
"vite-plus": "0.2.1"
|
|
26
|
+
"vite-plus": "0.2.1",
|
|
27
|
+
"vue": "^3.5.38",
|
|
28
|
+
"@wetransform/test-utils": "0.0.0"
|
|
29
|
+
},
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"vue": "^3.0.0"
|
|
28
32
|
},
|
|
29
33
|
"scripts": {
|
|
30
34
|
"build": "VITE_MODE=production vp pack",
|