@rebilly/framepay-vue 3.0.0 → 3.1.0
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/CHANGELOG.md +8 -0
- package/dist/framepay-vue.js +9 -0
- package/package.json +19 -17
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
## [3.1.0](https://github.com/Rebilly/rebilly/compare/framepay-vue-v3.0.1...framepay-vue-v3.1.0) (2023-04-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Migrate kyc-document-gatherer-vue3 ([#99](https://github.com/Rebilly/rebilly/issues/99)) ([06596dc](https://github.com/Rebilly/rebilly/commit/06596dce43efda66b7945dfcd88b20da617622d4)), closes [#48](https://github.com/Rebilly/rebilly/issues/48) [#45](https://github.com/Rebilly/rebilly/issues/45)
|
|
7
|
+
|
|
8
|
+
## [3.0.1](https://github.com/Rebilly/rebilly/compare/framepay-vue-v3.0.0...framepay-vue-v3.0.1) (2023-03-20)
|
package/dist/framepay-vue.js
CHANGED
|
@@ -160,9 +160,12 @@ const Q = /* @__PURE__ */ L(K, [["render", X]]), o = {
|
|
|
160
160
|
created() {
|
|
161
161
|
this.mountElement(`#${this.mountId}`);
|
|
162
162
|
},
|
|
163
|
+
// in vue 2 beforeDestroy is emitted but not in vue 3
|
|
163
164
|
beforeDestroy() {
|
|
164
165
|
this.destroyElement();
|
|
165
166
|
},
|
|
167
|
+
// in vue 3 beforeDestroy hook is replaced with beforeUnmount,
|
|
168
|
+
// we should keep both of them for compatibility purpose
|
|
166
169
|
beforeUnmount() {
|
|
167
170
|
this.destroyElement();
|
|
168
171
|
}
|
|
@@ -209,9 +212,12 @@ const Q = /* @__PURE__ */ L(K, [["render", X]]), o = {
|
|
|
209
212
|
created() {
|
|
210
213
|
this.mountElement(`#${this.mountId}`);
|
|
211
214
|
},
|
|
215
|
+
// in vue 2 beforeDestroy is emitted but not in vue 3
|
|
212
216
|
beforeDestroy() {
|
|
213
217
|
this.destroyElement();
|
|
214
218
|
},
|
|
219
|
+
// in vue 3 beforeDestroy hook is replaced with beforeUnmount,
|
|
220
|
+
// we should keep both of them for compatibility purpose
|
|
215
221
|
beforeUnmount() {
|
|
216
222
|
this.destroyElement();
|
|
217
223
|
}
|
|
@@ -259,9 +265,12 @@ const Q = /* @__PURE__ */ L(K, [["render", X]]), o = {
|
|
|
259
265
|
created() {
|
|
260
266
|
this.mountElement(`#${this.mountId}`);
|
|
261
267
|
},
|
|
268
|
+
// in vue 2 beforeDestroy is emitted but not in vue 3
|
|
262
269
|
beforeDestroy() {
|
|
263
270
|
this.destroyElement();
|
|
264
271
|
},
|
|
272
|
+
// in vue 3 beforeDestroy hook is replaced with beforeUnmount,
|
|
273
|
+
// we should keep both of them for compatibility purpose
|
|
265
274
|
beforeUnmount() {
|
|
266
275
|
this.destroyElement();
|
|
267
276
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebilly/framepay-vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1.0",
|
|
5
5
|
"description": "Official Vue wrapper for Rebilly FramePay",
|
|
6
6
|
"author": "Rebilly",
|
|
7
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/Rebilly/rebilly"
|
|
10
|
+
},
|
|
8
11
|
"license": "MIT",
|
|
9
12
|
"main": "./dist/framepay-vue.umd.cjs",
|
|
10
13
|
"module": "./dist/framepay-vue.js",
|
|
@@ -15,7 +18,8 @@
|
|
|
15
18
|
}
|
|
16
19
|
},
|
|
17
20
|
"files": [
|
|
18
|
-
"dist"
|
|
21
|
+
"dist",
|
|
22
|
+
"CHANGELOG.md"
|
|
19
23
|
],
|
|
20
24
|
"keywords": [
|
|
21
25
|
"framepay",
|
|
@@ -28,34 +32,32 @@
|
|
|
28
32
|
"scripts": {
|
|
29
33
|
"dev": "vite",
|
|
30
34
|
"build": "vite build",
|
|
31
|
-
"test": "npm run lint && npm run test:unit && npm run test:e2e",
|
|
35
|
+
"test": "npm run lint && npm run test:unit && npm run test:e2e:pr",
|
|
32
36
|
"test:unit": "vitest run --environment jsdom --root src/",
|
|
33
37
|
"test:unit:watch": "vitest --environment jsdom --root src/",
|
|
34
|
-
"test:e2e": "start-server-and-test 'vite dev --port 4173' :4173 'cypress run --e2e'",
|
|
35
|
-
"test:e2e:gui": "start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'",
|
|
36
|
-
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
|
|
38
|
+
"test:e2e:pr": "start-server-and-test 'vite dev --port 4173' localhost:4173 'cypress run --e2e'",
|
|
39
|
+
"test:e2e:gui": "start-server-and-test 'vite dev --port 4173' localhost:4173 'cypress open --e2e'",
|
|
40
|
+
"lint:no-fix": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
|
|
37
41
|
},
|
|
38
42
|
"peerDependencies": {
|
|
39
43
|
"vue": "^3.0.0"
|
|
40
44
|
},
|
|
41
|
-
"dependencies": {
|
|
42
|
-
},
|
|
43
45
|
"devDependencies": {
|
|
44
46
|
"@testing-library/cypress": "^7.0.2",
|
|
45
|
-
"@vitejs/plugin-vue": "^4.
|
|
47
|
+
"@vitejs/plugin-vue": "^4.1.0",
|
|
46
48
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
47
|
-
"@vue/test-utils": "^2.
|
|
48
|
-
"cypress": "12.3.0",
|
|
49
|
+
"@vue/test-utils": "^2.3.0",
|
|
50
|
+
"cypress": "^12.3.0",
|
|
49
51
|
"cypress-iframe": "^1.0.1",
|
|
50
52
|
"eslint": "^8.22.0",
|
|
51
53
|
"eslint-plugin-cypress": "^2.12.1",
|
|
52
54
|
"eslint-plugin-vue": "^9.3.0",
|
|
53
55
|
"jsdom": "^20.0.3",
|
|
54
56
|
"prettier": "^2.7.1",
|
|
55
|
-
"start-server-and-test": "^
|
|
56
|
-
"vite": "^4.
|
|
57
|
-
"vite-plugin-mkcert": "^1.13.
|
|
58
|
-
"vitest": "^0.
|
|
59
|
-
"vue": "^3.2.
|
|
57
|
+
"start-server-and-test": "^2.0.0",
|
|
58
|
+
"vite": "^4.2.0",
|
|
59
|
+
"vite-plugin-mkcert": "^1.13.3",
|
|
60
|
+
"vitest": "^0.29.7",
|
|
61
|
+
"vue": "^3.2.47"
|
|
60
62
|
}
|
|
61
63
|
}
|