@zenky/storefront-vue 0.9.43 → 0.9.44
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/dist/cjs/index.js +5 -2
- package/dist/esm/index.js +5 -2
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -2612,8 +2612,11 @@ function useCheckoutSummary(emit) {
|
|
|
2612
2612
|
saving.value = true;
|
|
2613
2613
|
try {
|
|
2614
2614
|
const response = await api.checkoutOrder(credentials.value, payload);
|
|
2615
|
-
if (response.
|
|
2616
|
-
emit('confirmation',
|
|
2615
|
+
if (response.confirmation.required) {
|
|
2616
|
+
emit('confirmation', {
|
|
2617
|
+
credentials: credentials.value,
|
|
2618
|
+
method: response.confirmation.method,
|
|
2619
|
+
});
|
|
2617
2620
|
}
|
|
2618
2621
|
else {
|
|
2619
2622
|
emit('completed', response);
|
package/dist/esm/index.js
CHANGED
|
@@ -2604,8 +2604,11 @@ function useCheckoutSummary(emit) {
|
|
|
2604
2604
|
saving.value = true;
|
|
2605
2605
|
try {
|
|
2606
2606
|
const response = await checkoutOrder(credentials.value, payload);
|
|
2607
|
-
if (response.
|
|
2608
|
-
emit('confirmation',
|
|
2607
|
+
if (response.confirmation.required) {
|
|
2608
|
+
emit('confirmation', {
|
|
2609
|
+
credentials: credentials.value,
|
|
2610
|
+
method: response.confirmation.method,
|
|
2611
|
+
});
|
|
2609
2612
|
}
|
|
2610
2613
|
else {
|
|
2611
2614
|
emit('completed', response);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenky/storefront-vue",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.44",
|
|
4
4
|
"description": "Zenky Storefront library for Vue 3.",
|
|
5
5
|
"author": "Timur Zurbaev <hello@zurbaev.ru>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"Zenky"
|
|
20
20
|
],
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@zenky/api": "^0.9.
|
|
22
|
+
"@zenky/api": "^0.9.52",
|
|
23
23
|
"@zenky/events": "^1.0.3",
|
|
24
24
|
"date-fns": "^2.29.2",
|
|
25
25
|
"lodash-es": "^4.17.21",
|