@easy-cms/plugin-ecommerce 0.68.3 → 0.68.4
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/{chunk-4LVHLK2C.js → chunk-KZVA2LII.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/react.js +1 -1
- package/dist/stripe.js +1 -1
- package/dist/vue.js +5 -1
- package/package.json +7 -5
|
@@ -783,7 +783,7 @@ var INFO = {
|
|
|
783
783
|
name: "@easy-cms/plugin-ecommerce",
|
|
784
784
|
// The plugin API it is written for (`PLUGIN_API_VERSION` of @easy-cms/core).
|
|
785
785
|
apiVersion: 1,
|
|
786
|
-
...true ? { version: "0.68.
|
|
786
|
+
...true ? { version: "0.68.4" } : {}
|
|
787
787
|
};
|
|
788
788
|
|
|
789
789
|
// src/shop.ts
|
package/dist/index.js
CHANGED
package/dist/react.js
CHANGED
package/dist/stripe.js
CHANGED
package/dist/vue.js
CHANGED
|
@@ -119,7 +119,11 @@ function useAddresses() {
|
|
|
119
119
|
};
|
|
120
120
|
const stop = watch(
|
|
121
121
|
() => state.value.user,
|
|
122
|
-
(
|
|
122
|
+
// On its own (signing in or out), a failure leaves the list empty instead of throwing
|
|
123
|
+
// where nobody catches it; reload() itself still throws.
|
|
124
|
+
() => void reload().catch(() => {
|
|
125
|
+
addresses.value = [];
|
|
126
|
+
}),
|
|
123
127
|
{ immediate: true }
|
|
124
128
|
);
|
|
125
129
|
onScopeDispose(stop);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easy-cms/plugin-ecommerce",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.4",
|
|
4
4
|
"description": "A shop for Easy CMS: products and variants, prices in several currencies, carts (guests too), checkout with Stripe or bank transfer, orders, stock, customer accounts, and React and Vue hooks (experimental)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"react": ">=18.0.0",
|
|
37
37
|
"stripe": ">=17.0.0 <24.0.0",
|
|
38
38
|
"vue": "^3.4.0",
|
|
39
|
-
"@easy-cms/core": "^0.68.
|
|
39
|
+
"@easy-cms/core": "^0.68.4"
|
|
40
40
|
},
|
|
41
41
|
"peerDependenciesMeta": {
|
|
42
42
|
"react": {
|
|
@@ -51,14 +51,16 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/react": "^19.2.0",
|
|
54
|
+
"@types/react-dom": "^19.3.0",
|
|
54
55
|
"happy-dom": "^20.14.5",
|
|
55
56
|
"react": "^19.2.0",
|
|
57
|
+
"react-dom": "^19.3.0",
|
|
56
58
|
"stripe": "^23.0.0",
|
|
57
59
|
"stripe-17": "npm:stripe@^17.7.0",
|
|
58
60
|
"vue": "^3.5.43",
|
|
59
|
-
"@easy-cms/core": "^0.68.
|
|
60
|
-
"@easy-cms/db-sqlite": "^0.68.
|
|
61
|
-
"@easy-cms/plugin-multi-tenant": "^0.68.
|
|
61
|
+
"@easy-cms/core": "^0.68.4",
|
|
62
|
+
"@easy-cms/db-sqlite": "^0.68.4",
|
|
63
|
+
"@easy-cms/plugin-multi-tenant": "^0.68.4"
|
|
62
64
|
},
|
|
63
65
|
"engines": {
|
|
64
66
|
"node": ">=22.12"
|