cloudcommerce 0.15.1 → 0.16.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.
Files changed (62) hide show
  1. package/.github/workflows/test-e2e.yml +1 -1
  2. package/CHANGELOG.md +14 -0
  3. package/CONTRIBUTING.md +1 -1
  4. package/action.yml +2 -2
  5. package/package.json +1 -1
  6. package/packages/api/package.json +1 -1
  7. package/packages/apps/affilate-program/package.json +1 -1
  8. package/packages/apps/correios/package.json +1 -1
  9. package/packages/apps/custom-payment/package.json +1 -1
  10. package/packages/apps/custom-shipping/package.json +1 -1
  11. package/packages/apps/datafrete/package.json +1 -1
  12. package/packages/apps/discounts/package.json +1 -1
  13. package/packages/apps/emails/package.json +1 -1
  14. package/packages/apps/fb-conversions/package.json +1 -1
  15. package/packages/apps/flash-courier/package.json +1 -1
  16. package/packages/apps/frenet/package.json +1 -1
  17. package/packages/apps/galaxpay/package.json +1 -1
  18. package/packages/apps/google-analytics/package.json +1 -1
  19. package/packages/apps/infinitepay/package.json +1 -1
  20. package/packages/apps/jadlog/package.json +1 -1
  21. package/packages/apps/loyalty-points/package.json +1 -1
  22. package/packages/apps/melhor-envio/package.json +1 -1
  23. package/packages/apps/mercadopago/package.json +1 -1
  24. package/packages/apps/pagarme/package.json +1 -1
  25. package/packages/apps/paghiper/package.json +1 -1
  26. package/packages/apps/pix/package.json +1 -1
  27. package/packages/apps/tiny-erp/package.json +1 -1
  28. package/packages/apps/webhooks/package.json +1 -1
  29. package/packages/cli/config/firebase.json +5 -5
  30. package/packages/cli/lib/cli.js +1 -1
  31. package/packages/cli/package.json +1 -1
  32. package/packages/cli/src/cli.ts +1 -1
  33. package/packages/config/package.json +1 -1
  34. package/packages/emails/package.json +1 -1
  35. package/packages/events/package.json +1 -1
  36. package/packages/feeds/package.json +1 -1
  37. package/packages/firebase/lib/config.js +2 -2
  38. package/packages/firebase/lib/config.js.map +1 -1
  39. package/packages/firebase/package.json +1 -1
  40. package/packages/firebase/src/config.ts +2 -2
  41. package/packages/i18n/package.json +1 -1
  42. package/packages/modules/package.json +1 -1
  43. package/packages/passport/package.json +1 -1
  44. package/packages/ssr/package.json +1 -1
  45. package/packages/storefront/dist/client/manifest.webmanifest +1 -1
  46. package/packages/storefront/dist/client/sw.js +1 -1
  47. package/packages/storefront/dist/server/chunks/{_...51f243e0.mjs → _...5993f704.mjs} +2 -2
  48. package/packages/storefront/dist/server/chunks/{account@_@astro.70d0a2b6.mjs → account@_@astro.f35b9c8d.mjs} +2 -2
  49. package/packages/storefront/dist/server/chunks/{endpoint@_@js.58e19bda.mjs → endpoint@_@js.c74a899a.mjs} +2 -2
  50. package/packages/storefront/dist/server/chunks/{fallback@_@astro.6c6e2bf9.mjs → fallback@_@astro.50cbf3a3.mjs} +2 -2
  51. package/packages/storefront/dist/server/chunks/{index@_@astro.81422b02.mjs → index@_@astro.2a31c91e.mjs} +2 -2
  52. package/packages/storefront/dist/server/chunks/{index@_@astro.09a10813.mjs → index@_@astro.a9e6a560.mjs} +2 -2
  53. package/packages/storefront/dist/server/chunks/pages/{_...slug_.astro.5667273a.mjs → _...slug_.astro.116acf2f.mjs} +13 -13
  54. package/packages/storefront/dist/server/chunks/pages/{account.astro.72dc24f9.mjs → account.astro.7074390b.mjs} +1 -1
  55. package/packages/storefront/dist/server/chunks/pages/{endpoint.js.5d128d9d.mjs → endpoint.js.7cc60df6.mjs} +1 -1
  56. package/packages/storefront/dist/server/chunks/pages/{fallback.astro.72b8d520.mjs → fallback.astro.c8d2f06a.mjs} +3 -3
  57. package/packages/storefront/dist/server/chunks/pages/{index.astro.e80eea52.mjs → index.astro.bf79b1d4.mjs} +6 -6
  58. package/packages/storefront/dist/server/entry.mjs +8 -8
  59. package/packages/storefront/dist/server/manifest.webmanifest +1 -1
  60. package/packages/storefront/dist/server/renderers.mjs +1 -1
  61. package/packages/storefront/package.json +1 -1
  62. package/packages/types/package.json +1 -1
@@ -120,7 +120,7 @@ jobs:
120
120
  ECOM_AUTHENTICATION_ID: ${{ secrets.ECOM_AUTHENTICATION_ID }}
121
121
  ECOM_API_KEY: ${{ secrets.ECOM_API_KEY }}
122
122
  run: |
123
- firebase --project=ecom2-002 emulators:start --only functions &
123
+ firebase --project=ecom2-demo emulators:start --only functions &
124
124
 
125
125
  - name: Run tests
126
126
  shell: bash
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.16.0](https://github.com/ecomplus/cloud-commerce/compare/v0.15.1...v0.16.0) (2023-07-07)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * New Firebase project needed with different region, or regions must be explicitly set
11
+
12
+ ### Bug Fixes
13
+
14
+ * **firebase:** Set SSR function region with `SSR_DEPLOY_REGION || DEPLOY_REGION` ([a983828](https://github.com/ecomplus/cloud-commerce/commit/a9838285636c9b5304e4595974807cceabe7d8d7)), closes [#164](https://github.com/ecomplus/cloud-commerce/issues/164)
15
+
16
+
17
+ * Moving deploy to us-east4 GCP region, all resources on same region [[#164](https://github.com/ecomplus/cloud-commerce/issues/164)] ([64d9a21](https://github.com/ecomplus/cloud-commerce/commit/64d9a21791801050739eebe9c8339eaac5db45e0))
18
+
5
19
  ### [0.15.1](https://github.com/ecomplus/cloud-commerce/compare/v0.15.0...v0.15.1) (2023-07-07)
6
20
 
7
21
 
package/CONTRIBUTING.md CHANGED
@@ -38,7 +38,7 @@ If you want to deploy to a new Firebase project (needed for larger changes):
38
38
 
39
39
  2. Go to _Creation > Firestore Database_ page (on sidebar) and _create database_:
40
40
  - Just bypass with default production mode and rules;
41
- - Select region `nam5 (us-central)` (recommended);
41
+ - Select region `us-east4` (recommended);
42
42
 
43
43
  3. Firebase free plan doesn't support sending external HTTP requests, so you'll need to upgrade to _Blaze_ (on demand) plan;
44
44
 
package/action.yml CHANGED
@@ -240,7 +240,7 @@ runs:
240
240
  GALAXPAY_PARTNER_HASH=$GALAXPAY_PARTNER_HASH
241
241
  DATAFRETE_OPERATOR_TOKEN=$DATAFRETE_OPERATOR_TOKEN
242
242
  MERCADOPAGO_TOKEN=$MERCADOPAGO_TOKEN
243
- FRENET_TOKEN:$FRENET_TOKEN
243
+ FRENET_TOKEN=$FRENET_TOKEN
244
244
  GALAXPAY_ID=$GALAXPAY_ID
245
245
  GALAXPAY_HASH=$GALAXPAY_HASH
246
246
  GA_MEASUREMENT_ID=$GA_MEASUREMENT_ID
@@ -280,7 +280,7 @@ runs:
280
280
  ECOM_STORE_ID=$ECOM_STORE_ID
281
281
  " > functions/ssr/.env
282
282
  if [ ! -f ".firebaserc" ]; then
283
- echo '{ "projects": { "default": "ecom2-002" } }' > .firebaserc
283
+ echo '{ "projects": { "default": "ecom2-demo" } }' > .firebaserc
284
284
  fi
285
285
  npm --prefix "functions/ssr/" run build:static && npm run build -- --codebase ssr
286
286
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "Open fair-code headless commerce platform: API-first, microservices based, event driven and cloud native",
6
6
  "main": "packages/api/lib/index.js",
7
7
  "author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-affilate-program",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for simple affiliate program",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-correios",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Correios shipping calculation",
6
6
  "main": "lib/correios.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-custom-payment",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for simple custom payment methods",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-custom-shipping",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for custom shipping methods",
6
6
  "main": "lib/custom-shipping.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-datafrete",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Datafrete shipping gateway ",
6
6
  "main": "lib/datafrete.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-discounts",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for complex discount rules",
6
6
  "main": "lib/discounts.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-emails",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce default transactional email app",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-fb-conversions",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to send carts/orders to Facebook Conversions API",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-flash-courier",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Flash Courier",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-frenet",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Frenet shipping calculation",
6
6
  "main": "lib/frenet.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-galaxpay",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Galax Pay for recurring payments",
6
6
  "main": "lib/galaxpay.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-google-analytics",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to send carts/orders events to GA Measurement Protocol",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-infinitepay",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate InfinitePay",
6
6
  "main": "lib/infinitepay.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-jadlog",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Jadlog shipping calculation",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-loyalty-points",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to handle simple loyalty points programs",
6
6
  "main": "lib/loyalty-points.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-melhor-envio",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Melhor Envio",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-mercadopago",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Mercado Pago",
6
6
  "main": "lib/mercadopago.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pagarme",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pagar.me",
6
6
  "main": "lib/pagarme.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-paghiper",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate PagHiper",
6
6
  "main": "lib/paghiper.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pix",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pix API (Bacen)",
6
6
  "main": "lib/pix.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-tiny-erp",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Tiny ERP",
6
6
  "main": "lib/tiny-erp.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-webhooks",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for general order webhooks",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -49,27 +49,27 @@
49
49
  {
50
50
  "source": "/api/modules/**",
51
51
  "function": "modules",
52
- "region": "southamerica-east1"
52
+ "region": "us-east4"
53
53
  },
54
54
  {
55
55
  "source": "/api/passport/**",
56
56
  "function": "passport",
57
- "region": "southamerica-east1"
57
+ "region": "us-east4"
58
58
  },
59
59
  {
60
60
  "source": "/_feeds/**",
61
61
  "function": "feeds",
62
- "region": "southamerica-east1"
62
+ "region": "us-east4"
63
63
  },
64
64
  {
65
65
  "source": "/sitemap.xml",
66
66
  "function": "feeds",
67
- "region": "southamerica-east1"
67
+ "region": "us-east4"
68
68
  },
69
69
  {
70
70
  "source": "**/!(*(*.)ico|*(*.)png|*(*.)map)",
71
71
  "function": "ssr",
72
- "region": "us-central1"
72
+ "region": "us-east4"
73
73
  }
74
74
  ],
75
75
  "headers": [
@@ -32,7 +32,7 @@ if (projectId) {
32
32
  const firebaserc = fs.readJSONSync(path.join(pwd, '.firebaserc'));
33
33
  projectId = firebaserc.projects.default;
34
34
  } catch (e) {
35
- projectId = 'ecom2-002';
35
+ projectId = 'ecom2-demo';
36
36
  }
37
37
  }
38
38
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -46,7 +46,7 @@ if (projectId) {
46
46
  const firebaserc = fs.readJSONSync(path.join(pwd, '.firebaserc'));
47
47
  projectId = firebaserc.projects.default;
48
48
  } catch (e) {
49
- projectId = 'ecom2-002';
49
+ projectId = 'ecom2-demo';
50
50
  }
51
51
  }
52
52
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/config",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce base config",
6
6
  "main": "lib/config.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/emails",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce email sender",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/events",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce app events",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/feeds",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce catalog feeds",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -54,11 +54,11 @@ const settingsContent = JSON.parse(readFileSync(settingsContentFile, 'utf-8'));
54
54
  const mergeConfig = {
55
55
  hello: 'from @cloudcommerce/firebase',
56
56
  httpsFunctionOptions: {
57
- region: DEPLOY_REGION || 'southamerica-east1',
57
+ region: DEPLOY_REGION || 'us-east4',
58
58
  memory: DEPLOY_MEMORY || '256MB',
59
59
  },
60
60
  ssrFunctionOptions: {
61
- region: SSR_DEPLOY_REGION || 'us-central1',
61
+ region: SSR_DEPLOY_REGION || DEPLOY_REGION || 'us-east4',
62
62
  memory: SSR_DEPLOY_MEMORY || '1GiB',
63
63
  timeoutSeconds: SSR_DEPLOY_TIMEOUT_SECONDS ? Number(SSR_DEPLOY_TIMEOUT_SECONDS) : 10,
64
64
  minInstances: SSR_DEPLOY_MIN_INSTANCES ? Number(SSR_DEPLOY_MIN_INSTANCES) : 0,
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"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"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/firebase",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce on Firebase",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -66,11 +66,11 @@ const settingsContent: SettingsContent = JSON.parse(readFileSync(settingsContent
66
66
  const mergeConfig = {
67
67
  hello: 'from @cloudcommerce/firebase',
68
68
  httpsFunctionOptions: {
69
- region: DEPLOY_REGION || 'southamerica-east1',
69
+ region: DEPLOY_REGION || 'us-east4',
70
70
  memory: (DEPLOY_MEMORY as '128MB' | '256MB' | '512MB' | '1GB' | '2GB') || '256MB',
71
71
  },
72
72
  ssrFunctionOptions: {
73
- region: SSR_DEPLOY_REGION || 'us-central1',
73
+ region: SSR_DEPLOY_REGION || DEPLOY_REGION || 'us-east4',
74
74
  memory: (SSR_DEPLOY_MEMORY as '256MiB' | '512MiB' | '1GiB' | '2GiB' | '4GiB') || '1GiB',
75
75
  timeoutSeconds: SSR_DEPLOY_TIMEOUT_SECONDS ? Number(SSR_DEPLOY_TIMEOUT_SECONDS) : 10,
76
76
  minInstances: SSR_DEPLOY_MIN_INSTANCES ? Number(SSR_DEPLOY_MIN_INSTANCES) : 0,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/i18n",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce i18n",
6
6
  "main": "lib/all.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/modules",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce modules API",
6
6
  "main": "lib/index.cjs",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/passport",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce customers authentication (passport) API",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/ssr",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce storefront SSR",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1 +1 @@
1
- {"name":"My Shop","short_name":"My Shop","start_url":"/","display":"standalone","background_color":"#f5f6fa","lang":"en","scope":"/","description":"My PWA Shop","theme_color":"#37003c","crossorigin":"use-credentials","icons":[{"src":"/_image?f=png&w=192&h=192&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_","sizes":"192x192","type":"image/png"},{"src":"/_image?f=png&w=512&h=512&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_","sizes":"512x512","type":"image/png"},{"src":"/img/uploads/ecom-icon.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}]}
1
+ {"name":"E-Com Plus demoStore","short_name":"E-Com Plus demoStore","start_url":"/","display":"standalone","background_color":"#f5f6fa","lang":"en","scope":"/","description":"My PWA Shop","theme_color":"#37003c","crossorigin":"use-credentials","icons":[{"src":"/_image?f=png&w=192&h=192&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_","sizes":"192x192","type":"image/png"},{"src":"/_image?f=png&w=512&h=512&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_","sizes":"512x512","type":"image/png"},{"src":"/img/uploads/ecom-icon.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}]}
@@ -1 +1 @@
1
- if(!self.define){let e,s={};const r=(r,n)=>(r=new URL(r+".js",n).href,s[r]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=s,document.head.appendChild(e)}else e=r,importScripts(r),s()})).then((()=>{let e=s[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(n,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let l={};const a=e=>r(e,o),u={module:{uri:o},exports:l,require:a};s[o]=Promise.all(n.map((e=>u[e]||a(e)))).then((e=>(i(...e),l)))}}define(["./workbox-5e0bf4e4"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"_astro/_...slug_.ab554647.css",revision:null},{url:"_astro/_plugin-vue_export-helper.8870d8dc.js",revision:null},{url:"_astro/api.7f62c1ff.js",revision:null},{url:"_astro/Carousel.93c2309b.js",revision:null},{url:"_astro/client.06720904.js",revision:null},{url:"_astro/firebase-app.5325b6d5.js",revision:null},{url:"_astro/format-money.3868f219.js",revision:null},{url:"_astro/HeroSlider.c5b673b3.js",revision:null},{url:"_astro/hoisted.6aebc438.js",revision:null},{url:"_astro/idle-callback.889bf0ea.js",revision:null},{url:"_astro/img.2ae78c70.js",revision:null},{url:"_astro/index.3de006ba.js",revision:null},{url:"_astro/modules-info.c65d970c.js",revision:null},{url:"_astro/PitchBar.d0e3362e.js",revision:null},{url:"_astro/preload-helper.101896b7.js",revision:null},{url:"_astro/Prices.51598206.js",revision:null},{url:"_astro/Prices.5186c09f.js",revision:null},{url:"_astro/ProductShelf.d90bfc6e.js",revision:null},{url:"_astro/runtime-dom.esm-bundler.7a95af90.js",revision:null},{url:"_astro/session-utm.744b0db3.js",revision:null},{url:"_astro/ShopHeader.e88dedbc.js",revision:null},{url:"_astro/workbox-window.prod.es5.a7b12eab.js",revision:null},{url:"manifest.webmanifest",revision:"ac218672afdc69a8452aaafdc01035e7"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/404"))),e.registerRoute(/^\/$/,new e.NetworkFirst,"GET"),e.registerRoute(/\/((?!(?:admin|assets|img)(\/|$))[^.]+)(\.(?!js|css|xml|txt|png|jpg|jpeg|webp|avif|svg|gif)[^.]+)*$/,new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/assets\//,new e.StaleWhileRevalidate({cacheName:"assets",plugins:[]}),"GET"),e.registerRoute(/^\/_image$/,new e.StaleWhileRevalidate({cacheName:"optim-images",plugins:[new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/img\/uploads\/.*\.(?:png|jpg|jpeg|webp|avif|svg|gif)$/,new e.StaleWhileRevalidate({cacheName:"cms-images",plugins:[new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/ecomplus\.io/,new e.NetworkFirst({cacheName:"store-api",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/normal\//,new e.CacheFirst({cacheName:"product-thumbnails",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/big\//,new e.CacheFirst({cacheName:"product-pictures",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET")}));
1
+ if(!self.define){let e,s={};const r=(r,n)=>(r=new URL(r+".js",n).href,s[r]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=s,document.head.appendChild(e)}else e=r,importScripts(r),s()})).then((()=>{let e=s[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(n,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let l={};const a=e=>r(e,o),u={module:{uri:o},exports:l,require:a};s[o]=Promise.all(n.map((e=>u[e]||a(e)))).then((e=>(i(...e),l)))}}define(["./workbox-5e0bf4e4"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"_astro/_...slug_.ab554647.css",revision:null},{url:"_astro/_plugin-vue_export-helper.8870d8dc.js",revision:null},{url:"_astro/api.7f62c1ff.js",revision:null},{url:"_astro/Carousel.93c2309b.js",revision:null},{url:"_astro/client.06720904.js",revision:null},{url:"_astro/firebase-app.5325b6d5.js",revision:null},{url:"_astro/format-money.3868f219.js",revision:null},{url:"_astro/HeroSlider.c5b673b3.js",revision:null},{url:"_astro/hoisted.6aebc438.js",revision:null},{url:"_astro/idle-callback.889bf0ea.js",revision:null},{url:"_astro/img.2ae78c70.js",revision:null},{url:"_astro/index.3de006ba.js",revision:null},{url:"_astro/modules-info.c65d970c.js",revision:null},{url:"_astro/PitchBar.d0e3362e.js",revision:null},{url:"_astro/preload-helper.101896b7.js",revision:null},{url:"_astro/Prices.51598206.js",revision:null},{url:"_astro/Prices.5186c09f.js",revision:null},{url:"_astro/ProductShelf.d90bfc6e.js",revision:null},{url:"_astro/runtime-dom.esm-bundler.7a95af90.js",revision:null},{url:"_astro/session-utm.744b0db3.js",revision:null},{url:"_astro/ShopHeader.e88dedbc.js",revision:null},{url:"_astro/workbox-window.prod.es5.a7b12eab.js",revision:null},{url:"manifest.webmanifest",revision:"138b9c9f495fe815bcec626365e9372e"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/404"))),e.registerRoute(/^\/$/,new e.NetworkFirst,"GET"),e.registerRoute(/\/((?!(?:admin|assets|img)(\/|$))[^.]+)(\.(?!js|css|xml|txt|png|jpg|jpeg|webp|avif|svg|gif)[^.]+)*$/,new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/assets\//,new e.StaleWhileRevalidate({cacheName:"assets",plugins:[]}),"GET"),e.registerRoute(/^\/_image$/,new e.StaleWhileRevalidate({cacheName:"optim-images",plugins:[new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/img\/uploads\/.*\.(?:png|jpg|jpeg|webp|avif|svg|gif)$/,new e.StaleWhileRevalidate({cacheName:"cms-images",plugins:[new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/ecomplus\.io/,new e.NetworkFirst({cacheName:"store-api",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/normal\//,new e.CacheFirst({cacheName:"product-thumbnails",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/big\//,new e.CacheFirst({cacheName:"product-pictures",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET")}));
@@ -14,7 +14,7 @@ import 'string-width';
14
14
  import 'vue';
15
15
  import 'vue/server-renderer';
16
16
  import '@ecomplus/utils';
17
- import './pages/_...slug_.astro.5667273a.mjs';
17
+ import './pages/_...slug_.astro.116acf2f.mjs';
18
18
  import 'node:fs/promises';
19
19
  import 'node:path';
20
20
  import 'node:url';
@@ -30,6 +30,6 @@ import '@cloudcommerce/config';
30
30
  /* empty css */import '@vueuse/core';
31
31
  import '@headlessui/vue';
32
32
 
33
- const page = () => import('./pages/_...slug_.astro.5667273a.mjs').then(n => n.c);
33
+ const page = () => import('./pages/_...slug_.astro.116acf2f.mjs').then(n => n.c);
34
34
 
35
35
  export { page };
@@ -14,7 +14,7 @@ import 'string-width';
14
14
  import 'vue';
15
15
  import 'vue/server-renderer';
16
16
  import '@ecomplus/utils';
17
- import './pages/_...slug_.astro.5667273a.mjs';
17
+ import './pages/_...slug_.astro.116acf2f.mjs';
18
18
  import 'node:fs/promises';
19
19
  import 'node:path';
20
20
  import 'node:url';
@@ -30,6 +30,6 @@ import '@cloudcommerce/config';
30
30
  /* empty css */import '@vueuse/core';
31
31
  import '@headlessui/vue';
32
32
 
33
- const page = () => import('./pages/account.astro.72dc24f9.mjs');
33
+ const page = () => import('./pages/account.astro.7074390b.mjs');
34
34
 
35
35
  export { page };
@@ -14,7 +14,7 @@ import 'string-width';
14
14
  import 'vue';
15
15
  import 'vue/server-renderer';
16
16
  import '@ecomplus/utils';
17
- import './pages/_...slug_.astro.5667273a.mjs';
17
+ import './pages/_...slug_.astro.116acf2f.mjs';
18
18
  import 'node:fs/promises';
19
19
  import 'node:path';
20
20
  import 'node:url';
@@ -30,6 +30,6 @@ import '@cloudcommerce/config';
30
30
  /* empty css */import '@vueuse/core';
31
31
  import '@headlessui/vue';
32
32
 
33
- const page = () => import('./pages/endpoint.js.5d128d9d.mjs').then(n => n.e);
33
+ const page = () => import('./pages/endpoint.js.7cc60df6.mjs').then(n => n.e);
34
34
 
35
35
  export { page };
@@ -14,7 +14,7 @@ import 'string-width';
14
14
  import 'vue';
15
15
  import 'vue/server-renderer';
16
16
  import '@ecomplus/utils';
17
- import './pages/_...slug_.astro.5667273a.mjs';
17
+ import './pages/_...slug_.astro.116acf2f.mjs';
18
18
  import 'node:fs/promises';
19
19
  import 'node:path';
20
20
  import 'node:url';
@@ -30,6 +30,6 @@ import '@cloudcommerce/config';
30
30
  /* empty css */import '@vueuse/core';
31
31
  import '@headlessui/vue';
32
32
 
33
- const page = () => import('./pages/fallback.astro.72b8d520.mjs');
33
+ const page = () => import('./pages/fallback.astro.c8d2f06a.mjs');
34
34
 
35
35
  export { page };
@@ -14,7 +14,7 @@ import 'string-width';
14
14
  import 'vue';
15
15
  import 'vue/server-renderer';
16
16
  import '@ecomplus/utils';
17
- import './pages/_...slug_.astro.5667273a.mjs';
17
+ import './pages/_...slug_.astro.116acf2f.mjs';
18
18
  import 'node:fs/promises';
19
19
  import 'node:path';
20
20
  import 'node:url';
@@ -30,6 +30,6 @@ import '@cloudcommerce/config';
30
30
  /* empty css */import '@vueuse/core';
31
31
  import '@headlessui/vue';
32
32
 
33
- const page = () => import('./pages/index.astro.e80eea52.mjs').then(n => n.a);
33
+ const page = () => import('./pages/index.astro.bf79b1d4.mjs').then(n => n.a);
34
34
 
35
35
  export { page };
@@ -14,7 +14,7 @@ import 'string-width';
14
14
  import 'vue';
15
15
  import 'vue/server-renderer';
16
16
  import '@ecomplus/utils';
17
- import './pages/_...slug_.astro.5667273a.mjs';
17
+ import './pages/_...slug_.astro.116acf2f.mjs';
18
18
  import 'node:fs/promises';
19
19
  import 'node:path';
20
20
  import 'node:url';
@@ -30,6 +30,6 @@ import '@cloudcommerce/config';
30
30
  /* empty css */import '@vueuse/core';
31
31
  import '@headlessui/vue';
32
32
 
33
- const page = () => import('./pages/index.astro.e80eea52.mjs').then(n => n.i);
33
+ const page = () => import('./pages/index.astro.bf79b1d4.mjs').then(n => n.i);
34
34
 
35
35
  export { page };
@@ -204,7 +204,7 @@ global.__storefrontCMS = (fs, resolvePath) => {
204
204
  };
205
205
 
206
206
  const _getConfig = () => {
207
- const { VITE_ECOM_STORE_ID } = (Object.assign({"BASE_URL":"/","MODE":"production","DEV":false,"PROD":true,"SSR":true,"SITE":"https://ecom2-002.web.app","ASSETS_PREFIX":undefined},{ECOM_STORE_ID:process.env.ECOM_STORE_ID,})) || process.env;
207
+ const { VITE_ECOM_STORE_ID } = (Object.assign({"BASE_URL":"/","MODE":"production","DEV":false,"PROD":true,"SSR":true,"SITE":"https://ecom2-demo.web.app","ASSETS_PREFIX":undefined},{ECOM_STORE_ID:process.env.ECOM_STORE_ID,})) || process.env;
208
208
  if (VITE_ECOM_STORE_ID) {
209
209
  config.set({ storeId: Number(VITE_ECOM_STORE_ID) });
210
210
  }
@@ -393,7 +393,7 @@ const loadRouteContext = async (Astro, {
393
393
 
394
394
  const pwaInfo = {"pwaInDevEnvironment":false,"webManifest":{"href":"/manifest.webmanifest","useCredentials":false,"linkTag":"<link rel=\"manifest\" href=\"/manifest.webmanifest\">"}};
395
395
 
396
- const $$Astro$9 = createAstro("https://ecom2-002.web.app");
396
+ const $$Astro$9 = createAstro("https://ecom2-demo.web.app");
397
397
  const $$BaseHead = createComponent(async ($$result, $$props, $$slots) => {
398
398
  const Astro2 = $$result.createAstro($$Astro$9, $$props, $$slots);
399
399
  Astro2.self = $$BaseHead;
@@ -464,7 +464,7 @@ var __freeze$1 = Object.freeze;
464
464
  var __defProp$1 = Object.defineProperty;
465
465
  var __template$1 = (cooked, raw) => __freeze$1(__defProp$1(cooked, "raw", { value: __freeze$1(raw || cooked.slice()) }));
466
466
  var _a$1;
467
- const $$Astro$8 = createAstro("https://ecom2-002.web.app");
467
+ const $$Astro$8 = createAstro("https://ecom2-demo.web.app");
468
468
  const $$BaseStateJson = createComponent(async ($$result, $$props, $$slots) => {
469
469
  const Astro2 = $$result.createAstro($$Astro$8, $$props, $$slots);
470
470
  Astro2.self = $$BaseStateJson;
@@ -615,7 +615,7 @@ async function getImage(transform) {
615
615
  }
616
616
  let loader = (_a = globalThis.astroImage) == null ? void 0 : _a.loader;
617
617
  if (!loader) {
618
- const { default: mod } = await import('./endpoint.js.5d128d9d.mjs').then(n => n.s).catch(() => {
618
+ const { default: mod } = await import('./endpoint.js.7cc60df6.mjs').then(n => n.s).catch(() => {
619
619
  throw new Error(
620
620
  "[@astrojs/image] Builtin image loader not found. (Did you remember to add the integration to your Astro config?)"
621
621
  );
@@ -626,7 +626,7 @@ async function getImage(transform) {
626
626
  }
627
627
  const resolved = await resolveTransform(transform);
628
628
  const attributes = await loader.getImageAttributes(resolved);
629
- const isDev = (_b = (Object.assign({"BASE_URL":"/","MODE":"production","DEV":false,"PROD":true,"SSR":true,"SITE":"https://ecom2-002.web.app","ASSETS_PREFIX":undefined},{SSR:true,}))) == null ? void 0 : _b.DEV;
629
+ const isDev = (_b = (Object.assign({"BASE_URL":"/","MODE":"production","DEV":false,"PROD":true,"SSR":true,"SITE":"https://ecom2-demo.web.app","ASSETS_PREFIX":undefined},{SSR:true,}))) == null ? void 0 : _b.DEV;
630
630
  const isLocalImage = !isRemoteImage(resolved.src);
631
631
  const _loader = isDev && isLocalImage ? globalThis.astroImage.defaultLoader : loader;
632
632
  if (!_loader) {
@@ -843,7 +843,7 @@ const useSSRPicture = async (params) => {
843
843
  };
844
844
  };
845
845
 
846
- const $$Astro$7 = createAstro("https://ecom2-002.web.app");
846
+ const $$Astro$7 = createAstro("https://ecom2-demo.web.app");
847
847
  const $$Picture = createComponent(async ($$result, $$props, $$slots) => {
848
848
  const Astro2 = $$result.createAstro($$Astro$7, $$props, $$slots);
849
849
  Astro2.self = $$Picture;
@@ -887,7 +887,7 @@ const $$Picture = createComponent(async ($$result, $$props, $$slots) => {
887
887
  </picture>`;
888
888
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/Picture.astro");
889
889
 
890
- const $$Astro$6 = createAstro("https://ecom2-002.web.app");
890
+ const $$Astro$6 = createAstro("https://ecom2-demo.web.app");
891
891
  const $$BaseBody = createComponent(async ($$result, $$props, $$slots) => {
892
892
  const Astro2 = $$result.createAstro($$Astro$6, $$props, $$slots);
893
893
  Astro2.self = $$BaseBody;
@@ -902,7 +902,7 @@ const $$BaseBody = createComponent(async ($$result, $$props, $$slots) => {
902
902
  </body>`;
903
903
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/BaseBody.astro");
904
904
 
905
- const $$Astro$5 = createAstro("https://ecom2-002.web.app");
905
+ const $$Astro$5 = createAstro("https://ecom2-demo.web.app");
906
906
  const $$Base$1 = createComponent(async ($$result, $$props, $$slots) => {
907
907
  const Astro2 = $$result.createAstro($$Astro$5, $$props, $$slots);
908
908
  Astro2.self = $$Base$1;
@@ -928,14 +928,14 @@ var __freeze = Object.freeze;
928
928
  var __defProp = Object.defineProperty;
929
929
  var __template = (cooked, raw) => __freeze(__defProp(cooked, "raw", { value: __freeze(raw || cooked.slice()) }));
930
930
  var _a;
931
- const $$Astro$4 = createAstro("https://ecom2-002.web.app");
931
+ const $$Astro$4 = createAstro("https://ecom2-demo.web.app");
932
932
  const $$InlineScripts = createComponent(async ($$result, $$props, $$slots) => {
933
933
  const Astro2 = $$result.createAstro($$Astro$4, $$props, $$slots);
934
934
  Astro2.self = $$InlineScripts;
935
935
  return renderTemplate(_a || (_a = __template(["<script>\n window.$firebaseConfig = {\n apiKey: 'AIzaSyCrVzemDgpyp9i6ni7Yc5ZuEVfXYwl-4J0',\n authDomain: 'ecom2-002.firebaseapp.com',\n projectId: 'ecom2-002',\n storageBucket: 'ecom2-002.appspot.com',\n messagingSenderId: '402807248219',\n appId: '1:402807248219:web:cf7d57759751e74776367e',\n measurementId: 'G-SC592CE0GB',\n };\n<\/script>"])));
936
936
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/scripts/InlineScripts.astro");
937
937
 
938
- const $$Astro$3 = createAstro("https://ecom2-002.web.app");
938
+ const $$Astro$3 = createAstro("https://ecom2-demo.web.app");
939
939
  const $$Base = createComponent(async ($$result, $$props, $$slots) => {
940
940
  const Astro2 = $$result.createAstro($$Astro$3, $$props, $$slots);
941
941
  Astro2.self = $$Base;
@@ -3286,7 +3286,7 @@ _sfc_main.setup = (props, ctx) => {
3286
3286
  };
3287
3287
  const ShopHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
3288
3288
 
3289
- const $$Astro$2 = createAstro("https://ecom2-002.web.app");
3289
+ const $$Astro$2 = createAstro("https://ecom2-demo.web.app");
3290
3290
  const $$Pages = createComponent(async ($$result, $$props, $$slots) => {
3291
3291
  const Astro2 = $$result.createAstro($$Astro$2, $$props, $$slots);
3292
3292
  Astro2.self = $$Pages;
@@ -3311,7 +3311,7 @@ const $$Pages = createComponent(async ($$result, $$props, $$slots) => {
3311
3311
  ` })}`;
3312
3312
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/layouts/Pages.astro");
3313
3313
 
3314
- const $$Astro$1 = createAstro("https://ecom2-002.web.app");
3314
+ const $$Astro$1 = createAstro("https://ecom2-demo.web.app");
3315
3315
  const $$Wildcard = createComponent(async ($$result, $$props, $$slots) => {
3316
3316
  const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots);
3317
3317
  Astro2.self = $$Wildcard;
@@ -3325,7 +3325,7 @@ const $$Wildcard = createComponent(async ($$result, $$props, $$slots) => {
3325
3325
  </main>`;
3326
3326
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/main/Wildcard.astro");
3327
3327
 
3328
- const $$Astro = createAstro("https://ecom2-002.web.app");
3328
+ const $$Astro = createAstro("https://ecom2-demo.web.app");
3329
3329
  async function getStaticPaths() {
3330
3330
  return (await api.get("products?sort=-sales&limit=4&fields=slug")).data.result.map(({ slug }) => ({ params: { slug } }));
3331
3331
  }
@@ -10,7 +10,7 @@ import 'mime';
10
10
  import 'html-escaper';
11
11
  import 'string-width';
12
12
 
13
- const $$Astro = createAstro("https://ecom2-002.web.app");
13
+ const $$Astro = createAstro("https://ecom2-demo.web.app");
14
14
  const $$Account = createComponent(async ($$result, $$props, $$slots) => {
15
15
  const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
16
16
  Astro2.self = $$Account;
@@ -1,6 +1,6 @@
1
1
  import mime from 'mime';
2
2
  import sharp$1 from 'sharp';
3
- import { B as BaseSSRService, i as isOutputFormatSupportsAlpha } from './_...slug_.astro.5667273a.mjs';
3
+ import { B as BaseSSRService, i as isOutputFormatSupportsAlpha } from './_...slug_.astro.116acf2f.mjs';
4
4
 
5
5
  class SharpService extends BaseSSRService {
6
6
  async transform(inputBuffer, transform) {
@@ -1,5 +1,5 @@
1
1
  import { c as createAstro, a as createComponent, r as renderTemplate, m as maybeRenderHead, b as addAttribute, d as renderComponent } from '../astro.c449fda8.mjs';
2
- import { l as loadRouteContext, $ as $$Pages } from './_...slug_.astro.5667273a.mjs';
2
+ import { l as loadRouteContext, $ as $$Pages } from './_...slug_.astro.116acf2f.mjs';
3
3
  import 'path-to-regexp';
4
4
  import 'cookie';
5
5
  import '@astrojs/internal-helpers/path';
@@ -28,7 +28,7 @@ import '@vueuse/core';
28
28
  import 'vue/server-renderer';
29
29
  import '@headlessui/vue';
30
30
 
31
- const $$Astro$1 = createAstro("https://ecom2-002.web.app");
31
+ const $$Astro$1 = createAstro("https://ecom2-demo.web.app");
32
32
  const $$Fallback$1 = createComponent(async ($$result, $$props, $$slots) => {
33
33
  const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots);
34
34
  Astro2.self = $$Fallback$1;
@@ -41,7 +41,7 @@ const $$Fallback$1 = createComponent(async ($$result, $$props, $$slots) => {
41
41
  </main>`;
42
42
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/main/Fallback.astro");
43
43
 
44
- const $$Astro = createAstro("https://ecom2-002.web.app");
44
+ const $$Astro = createAstro("https://ecom2-demo.web.app");
45
45
  const $$Fallback = createComponent(async ($$result, $$props, $$slots) => {
46
46
  const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
47
47
  Astro2.self = $$Fallback;
@@ -1,5 +1,5 @@
1
1
  import { c as createAstro, a as createComponent, r as renderTemplate, d as renderComponent, m as maybeRenderHead, b as addAttribute, u as unescapeHTML, F as Fragment$1 } from '../astro.c449fda8.mjs';
2
- import { a as $$Picture, p as parseShippingPhrase, _ as _export_sfc, C as Carousel, b as CarouselControl, m as modulesInfo, l as loadRouteContext, $ as $$Pages } from './_...slug_.astro.5667273a.mjs';
2
+ import { a as $$Picture, p as parseShippingPhrase, _ as _export_sfc, C as Carousel, b as CarouselControl, m as modulesInfo, l as loadRouteContext, $ as $$Pages } from './_...slug_.astro.116acf2f.mjs';
3
3
  import api from '@cloudcommerce/api';
4
4
  import { computed, useSSRContext, defineComponent, mergeProps, withCtx, withDirectives, createVNode, vShow, resolveDynamicComponent, createTextVNode, toDisplayString, openBlock, createBlock, Fragment, renderList, renderSlot, createCommentVNode, ref, shallowReactive, resolveComponent, withAsyncContext } from 'vue';
5
5
  import { ssrRenderAttrs, ssrRenderComponent, ssrRenderStyle, ssrRenderList, ssrRenderClass, ssrRenderAttr, ssrRenderSlot, ssrRenderVNode, ssrInterpolate } from 'vue/server-renderer';
@@ -42,7 +42,7 @@ const usePageHero = async ({ routeContext }) => {
42
42
  };
43
43
  };
44
44
 
45
- const $$Astro$4 = createAstro("https://ecom2-002.web.app");
45
+ const $$Astro$4 = createAstro("https://ecom2-demo.web.app");
46
46
  const $$HeroPicture = createComponent(async ($$result, $$props, $$slots) => {
47
47
  const Astro2 = $$result.createAstro($$Astro$4, $$props, $$slots);
48
48
  Astro2.self = $$HeroPicture;
@@ -973,7 +973,7 @@ _sfc_main.setup = (props, ctx) => {
973
973
  };
974
974
  const ProductShelf = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
975
975
 
976
- const $$Astro$3 = createAstro("https://ecom2-002.web.app");
976
+ const $$Astro$3 = createAstro("https://ecom2-demo.web.app");
977
977
  const $$Sections = createComponent(async ($$result, $$props, $$slots) => {
978
978
  const Astro2 = $$result.createAstro($$Astro$3, $$props, $$slots);
979
979
  Astro2.self = $$Sections;
@@ -991,7 +991,7 @@ const $$Sections = createComponent(async ($$result, $$props, $$slots) => {
991
991
  </article>`;
992
992
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/main/Sections.astro");
993
993
 
994
- const $$Astro$2 = createAstro("https://ecom2-002.web.app");
994
+ const $$Astro$2 = createAstro("https://ecom2-demo.web.app");
995
995
  const $$Home = createComponent(async ($$result, $$props, $$slots) => {
996
996
  const Astro2 = $$result.createAstro($$Astro$2, $$props, $$slots);
997
997
  Astro2.self = $$Home;
@@ -1046,7 +1046,7 @@ const $$Home = createComponent(async ($$result, $$props, $$slots) => {
1046
1046
  </main>`;
1047
1047
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/main/Home.astro");
1048
1048
 
1049
- const $$Astro$1 = createAstro("https://ecom2-002.web.app");
1049
+ const $$Astro$1 = createAstro("https://ecom2-demo.web.app");
1050
1050
  const $$Index$1 = createComponent(async ($$result, $$props, $$slots) => {
1051
1051
  const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots);
1052
1052
  Astro2.self = $$Index$1;
@@ -1078,7 +1078,7 @@ const index$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
1078
1078
  url: $$url$1
1079
1079
  }, Symbol.toStringTag, { value: 'Module' }));
1080
1080
 
1081
- const $$Astro = createAstro("https://ecom2-002.web.app");
1081
+ const $$Astro = createAstro("https://ecom2-demo.web.app");
1082
1082
  const $$Index = createComponent(async ($$result, $$props, $$slots) => {
1083
1083
  const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
1084
1084
  Astro2.self = $$Index;
@@ -24,7 +24,7 @@ import 'string-width';
24
24
  import 'vue';
25
25
  import 'vue/server-renderer';
26
26
  import '@ecomplus/utils';
27
- import './chunks/pages/_...slug_.astro.5667273a.mjs';
27
+ import './chunks/pages/_...slug_.astro.116acf2f.mjs';
28
28
  import 'node:fs/promises';
29
29
  import 'node:path';
30
30
  import 'node:url';
@@ -2824,13 +2824,13 @@ const adapter = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2824
2824
  start
2825
2825
  }, Symbol.toStringTag, { value: 'Module' }));
2826
2826
 
2827
- const _page0 = () => import('./chunks/endpoint@_@js.58e19bda.mjs');
2828
- const _page1 = () => import('./chunks/index@_@astro.09a10813.mjs');
2829
- const _page2 = () => import('./chunks/fallback@_@astro.6c6e2bf9.mjs');
2830
- const _page3 = () => import('./chunks/index@_@astro.81422b02.mjs');
2831
- const _page4 = () => import('./chunks/account@_@astro.70d0a2b6.mjs');
2832
- const _page5 = () => import('./chunks/_...51f243e0.mjs');const pageMap = new Map([["../../node_modules/.pnpm/@astrojs+image@0.17.2_astro@2.7.3_sharp@0.32.1/node_modules/@astrojs/image/dist/endpoint.js", _page0],["src/pages/index.astro", _page1],["src/pages/fallback.astro", _page2],["src/pages/app/index.astro", _page3],["src/pages/app/account.astro", _page4],["src/pages/[...slug].astro", _page5]]);
2833
- const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"endpoint","route":"/_image","pattern":"^\\/_image$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/@astrojs+image@0.17.2_astro@2.7.3_sharp@0.32.1/node_modules/@astrojs/image/dist/endpoint.js","pathname":"/_image","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.6aebc438.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.ab554647.css"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.6aebc438.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.ab554647.css"}],"routeData":{"route":"/fallback","type":"page","pattern":"^\\/fallback\\/?$","segments":[[{"content":"fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/fallback.astro","pathname":"/fallback","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/app","type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/app/account","type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.6aebc438.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.ab554647.css"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","prerender":false,"_meta":{"trailingSlash":"ignore"}}}],"site":"https://ecom2-002.web.app","base":"/","compressHTML":false,"markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"gfm":true,"smartypants":true},"componentMetadata":[["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/[...slug].astro",{"propagation":"none","containsHead":true}],["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/fallback.astro",{"propagation":"none","containsHead":true}],["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/index.astro",{"propagation":"none","containsHead":true}]],"renderers":[],"clientDirectives":[["idle","(()=>{var i=t=>{let e=async()=>{await(await t())()};\"requestIdleCallback\"in window?window.requestIdleCallback(e):setTimeout(e,200)};(self.Astro||(self.Astro={})).idle=i;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var s=(i,t)=>{let a=async()=>{await(await i())()};if(t.value){let e=matchMedia(t.value);e.matches?a():e.addEventListener(\"change\",a,{once:!0})}};(self.Astro||(self.Astro={})).media=s;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var r=(s,c,i)=>{let o=async()=>{await(await s())()},n=new IntersectionObserver(e=>{for(let t of e)if(t.isIntersecting){n.disconnect(),o();break}});for(let e=0;e<i.children.length;e++){let t=i.children[e];n.observe(t)}};(self.Astro||(self.Astro={})).visible=r;window.dispatchEvent(new Event(\"astro:visible\"));})();"]],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"_@astrojs-ssr-virtual-entry.mjs","\u0000@astro-renderers":"renderers.mjs","\u0000empty-middleware":"_empty-middleware.mjs","/src/pages/app/account.astro":"chunks/pages/account.astro.72dc24f9.mjs","/src/pages/fallback.astro":"chunks/pages/fallback.astro.72b8d520.mjs","\u0000@astro-page:../../node_modules/.pnpm/@astrojs+image@0.17.2_astro@2.7.3_sharp@0.32.1/node_modules/@astrojs/image/dist/endpoint@_@js":"chunks/endpoint@_@js.58e19bda.mjs","\u0000@astro-page:src/pages/index@_@astro":"chunks/index@_@astro.09a10813.mjs","\u0000@astro-page:src/pages/fallback@_@astro":"chunks/fallback@_@astro.6c6e2bf9.mjs","\u0000@astro-page:src/pages/app/index@_@astro":"chunks/index@_@astro.81422b02.mjs","\u0000@astro-page:src/pages/app/account@_@astro":"chunks/account@_@astro.70d0a2b6.mjs","\u0000@astro-page:src/pages/[...slug]@_@astro":"chunks/_...51f243e0.mjs","~/components/PitchBar.vue":"_astro/PitchBar.d0e3362e.js","~/components/Prices.vue":"_astro/Prices.5186c09f.js","~/components/HeroSlider.vue":"_astro/HeroSlider.c5b673b3.js","@astrojs/vue/client.js":"_astro/client.06720904.js","~/components/ProductShelf.vue":"_astro/ProductShelf.d90bfc6e.js","/astro/hoisted.js?q=0":"_astro/hoisted.6aebc438.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/workbox-window/build/workbox-window.prod.es5.mjs":"_astro/workbox-window.prod.es5.a7b12eab.js","~/components/ShopHeader.vue":"_astro/ShopHeader.e88dedbc.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/scripts/firebase-app.ts":"_astro/firebase-app.5325b6d5.js","astro:scripts/before-hydration.js":""},"assets":["/_astro/_...slug_.ab554647.css","/manifest.webmanifest","/robots.txt","/sw.js","/workbox-5e0bf4e4.js","/_astro/Carousel.93c2309b.js","/_astro/HeroSlider.c5b673b3.js","/_astro/PitchBar.d0e3362e.js","/_astro/Prices.51598206.js","/_astro/Prices.5186c09f.js","/_astro/ProductShelf.d90bfc6e.js","/_astro/ShopHeader.e88dedbc.js","/_astro/_plugin-vue_export-helper.8870d8dc.js","/_astro/api.7f62c1ff.js","/_astro/client.06720904.js","/_astro/firebase-app.5325b6d5.js","/_astro/format-money.3868f219.js","/_astro/hoisted.6aebc438.js","/_astro/idle-callback.889bf0ea.js","/_astro/img.2ae78c70.js","/_astro/index.3de006ba.js","/_astro/modules-info.c65d970c.js","/_astro/preload-helper.101896b7.js","/_astro/runtime-dom.esm-bundler.7a95af90.js","/_astro/session-utm.744b0db3.js","/_astro/workbox-window.prod.es5.a7b12eab.js","/assets/cms-preview.css","/assets/cms.css","/assets/cvv.png","/assets/img-placeholder.png","/assets/payments.png","/assets/ssl-safe.png","/img/icon.png","/img/large-icon.png","/img/uploads/banner1.png","/img/uploads/banner2.png","/img/uploads/banner2.webp","/img/uploads/ecom-icon.png","/img/uploads/favicon.png","/img/uploads/headless.png","/img/uploads/headphone.png","/img/uploads/headphone.webp","/img/uploads/logo.png","/img/uploads/og-image.png","/img/uploads/passion.png","/img/uploads/passion.webp","/img/uploads/pwa-reliable.png","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.png","/img/uploads/rect89.webp","/img/uploads/ssl-safe.png"]}), {
2827
+ const _page0 = () => import('./chunks/endpoint@_@js.c74a899a.mjs');
2828
+ const _page1 = () => import('./chunks/index@_@astro.a9e6a560.mjs');
2829
+ const _page2 = () => import('./chunks/fallback@_@astro.50cbf3a3.mjs');
2830
+ const _page3 = () => import('./chunks/index@_@astro.2a31c91e.mjs');
2831
+ const _page4 = () => import('./chunks/account@_@astro.f35b9c8d.mjs');
2832
+ const _page5 = () => import('./chunks/_...5993f704.mjs');const pageMap = new Map([["../../node_modules/.pnpm/@astrojs+image@0.17.2_astro@2.7.3_sharp@0.32.1/node_modules/@astrojs/image/dist/endpoint.js", _page0],["src/pages/index.astro", _page1],["src/pages/fallback.astro", _page2],["src/pages/app/index.astro", _page3],["src/pages/app/account.astro", _page4],["src/pages/[...slug].astro", _page5]]);
2833
+ const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"endpoint","route":"/_image","pattern":"^\\/_image$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/@astrojs+image@0.17.2_astro@2.7.3_sharp@0.32.1/node_modules/@astrojs/image/dist/endpoint.js","pathname":"/_image","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.6aebc438.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.ab554647.css"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.6aebc438.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.ab554647.css"}],"routeData":{"route":"/fallback","type":"page","pattern":"^\\/fallback\\/?$","segments":[[{"content":"fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/fallback.astro","pathname":"/fallback","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/app","type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/app/account","type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.6aebc438.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.ab554647.css"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","prerender":false,"_meta":{"trailingSlash":"ignore"}}}],"site":"https://ecom2-demo.web.app","base":"/","compressHTML":false,"markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"gfm":true,"smartypants":true},"componentMetadata":[["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/[...slug].astro",{"propagation":"none","containsHead":true}],["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/fallback.astro",{"propagation":"none","containsHead":true}],["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/index.astro",{"propagation":"none","containsHead":true}]],"renderers":[],"clientDirectives":[["idle","(()=>{var i=t=>{let e=async()=>{await(await t())()};\"requestIdleCallback\"in window?window.requestIdleCallback(e):setTimeout(e,200)};(self.Astro||(self.Astro={})).idle=i;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var s=(i,t)=>{let a=async()=>{await(await i())()};if(t.value){let e=matchMedia(t.value);e.matches?a():e.addEventListener(\"change\",a,{once:!0})}};(self.Astro||(self.Astro={})).media=s;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var r=(s,c,i)=>{let o=async()=>{await(await s())()},n=new IntersectionObserver(e=>{for(let t of e)if(t.isIntersecting){n.disconnect(),o();break}});for(let e=0;e<i.children.length;e++){let t=i.children[e];n.observe(t)}};(self.Astro||(self.Astro={})).visible=r;window.dispatchEvent(new Event(\"astro:visible\"));})();"]],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"_@astrojs-ssr-virtual-entry.mjs","\u0000@astro-renderers":"renderers.mjs","\u0000empty-middleware":"_empty-middleware.mjs","/src/pages/app/account.astro":"chunks/pages/account.astro.7074390b.mjs","/src/pages/fallback.astro":"chunks/pages/fallback.astro.c8d2f06a.mjs","\u0000@astro-page:../../node_modules/.pnpm/@astrojs+image@0.17.2_astro@2.7.3_sharp@0.32.1/node_modules/@astrojs/image/dist/endpoint@_@js":"chunks/endpoint@_@js.c74a899a.mjs","\u0000@astro-page:src/pages/index@_@astro":"chunks/index@_@astro.a9e6a560.mjs","\u0000@astro-page:src/pages/fallback@_@astro":"chunks/fallback@_@astro.50cbf3a3.mjs","\u0000@astro-page:src/pages/app/index@_@astro":"chunks/index@_@astro.2a31c91e.mjs","\u0000@astro-page:src/pages/app/account@_@astro":"chunks/account@_@astro.f35b9c8d.mjs","\u0000@astro-page:src/pages/[...slug]@_@astro":"chunks/_...5993f704.mjs","/home/leo/code/ecomplus/cloud-commerce/node_modules/workbox-window/build/workbox-window.prod.es5.mjs":"_astro/workbox-window.prod.es5.a7b12eab.js","~/components/PitchBar.vue":"_astro/PitchBar.d0e3362e.js","~/components/Prices.vue":"_astro/Prices.5186c09f.js","~/components/ProductShelf.vue":"_astro/ProductShelf.d90bfc6e.js","~/components/HeroSlider.vue":"_astro/HeroSlider.c5b673b3.js","@astrojs/vue/client.js":"_astro/client.06720904.js","/astro/hoisted.js?q=0":"_astro/hoisted.6aebc438.js","~/components/ShopHeader.vue":"_astro/ShopHeader.e88dedbc.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/scripts/firebase-app.ts":"_astro/firebase-app.5325b6d5.js","astro:scripts/before-hydration.js":""},"assets":["/_astro/_...slug_.ab554647.css","/manifest.webmanifest","/robots.txt","/sw.js","/workbox-5e0bf4e4.js","/_astro/Carousel.93c2309b.js","/_astro/HeroSlider.c5b673b3.js","/_astro/PitchBar.d0e3362e.js","/_astro/Prices.51598206.js","/_astro/Prices.5186c09f.js","/_astro/ProductShelf.d90bfc6e.js","/_astro/ShopHeader.e88dedbc.js","/_astro/_plugin-vue_export-helper.8870d8dc.js","/_astro/api.7f62c1ff.js","/_astro/client.06720904.js","/_astro/firebase-app.5325b6d5.js","/_astro/format-money.3868f219.js","/_astro/hoisted.6aebc438.js","/_astro/idle-callback.889bf0ea.js","/_astro/img.2ae78c70.js","/_astro/index.3de006ba.js","/_astro/modules-info.c65d970c.js","/_astro/preload-helper.101896b7.js","/_astro/runtime-dom.esm-bundler.7a95af90.js","/_astro/session-utm.744b0db3.js","/_astro/workbox-window.prod.es5.a7b12eab.js","/assets/cms-preview.css","/assets/cms.css","/assets/cvv.png","/assets/img-placeholder.png","/assets/payments.png","/assets/ssl-safe.png","/img/icon.png","/img/large-icon.png","/img/uploads/banner1.png","/img/uploads/banner2.png","/img/uploads/banner2.webp","/img/uploads/ecom-icon.png","/img/uploads/favicon.png","/img/uploads/headless.png","/img/uploads/headphone.png","/img/uploads/headphone.webp","/img/uploads/logo.png","/img/uploads/og-image.png","/img/uploads/passion.png","/img/uploads/passion.webp","/img/uploads/pwa-reliable.png","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.png","/img/uploads/rect89.webp","/img/uploads/ssl-safe.png"]}), {
2834
2834
  pageMap,
2835
2835
  renderers,
2836
2836
  });
@@ -1 +1 @@
1
- {"name":"My Shop","short_name":"My Shop","start_url":"/","display":"standalone","background_color":"#f5f6fa","lang":"en","scope":"/","description":"My PWA Shop","theme_color":"#37003c","crossorigin":"use-credentials","icons":[{"src":"/_image?f=png&w=192&h=192&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_","sizes":"192x192","type":"image/png"},{"src":"/_image?f=png&w=512&h=512&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_","sizes":"512x512","type":"image/png"},{"src":"/img/uploads/ecom-icon.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}]}
1
+ {"name":"E-Com Plus demoStore","short_name":"E-Com Plus demoStore","start_url":"/","display":"standalone","background_color":"#f5f6fa","lang":"en","scope":"/","description":"My PWA Shop","theme_color":"#37003c","crossorigin":"use-credentials","icons":[{"src":"/_image?f=png&w=192&h=192&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_","sizes":"192x192","type":"image/png"},{"src":"/_image?f=png&w=512&h=512&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_","sizes":"512x512","type":"image/png"},{"src":"/img/uploads/ecom-icon.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}]}
@@ -2,7 +2,7 @@ import { h as server_default } from './chunks/astro.c449fda8.mjs';
2
2
  import { useSSRContext, defineComponent, computed, mergeProps, h, createSSRApp } from 'vue';
3
3
  import { ssrRenderSlotInner, ssrRenderAttrs, ssrRenderSlot, renderToString } from 'vue/server-renderer';
4
4
  import { img, imgSizes, i18n, formatMoney } from '@ecomplus/utils';
5
- import { _ as _export_sfc } from './chunks/pages/_...slug_.astro.5667273a.mjs';
5
+ import { _ as _export_sfc } from './chunks/pages/_...slug_.astro.116acf2f.mjs';
6
6
  import 'path-to-regexp';
7
7
  import 'cookie';
8
8
  import '@astrojs/internal-helpers/path';
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/storefront",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce storefront with Astro",
6
6
  "bin": {
7
7
  "storefront": "./scripts/build-prod.sh"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/types",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.16.0",
5
5
  "description": "E-Com Plus Cloud Commerce reusable type definitions",
6
6
  "main": "index.ts",
7
7
  "repository": {