cloudcommerce 0.32.0 → 0.33.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 (59) hide show
  1. package/.github/workflows/test-apps.yml +1 -1
  2. package/CHANGELOG.md +22 -0
  3. package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
  4. package/ecomplus-stores/barra-doce/functions/ssr/package.json +7 -6
  5. package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
  6. package/ecomplus-stores/barra-doce/package.json +2 -2
  7. package/ecomplus-stores/monocard/functions/many/package.json +3 -3
  8. package/ecomplus-stores/monocard/functions/ssr/package.json +7 -6
  9. package/ecomplus-stores/monocard/functions/with-apps/package.json +3 -3
  10. package/ecomplus-stores/monocard/package.json +2 -2
  11. package/ecomplus-stores/tia-sonia/functions/ssr/package.json +2 -1
  12. package/package.json +2 -2
  13. package/packages/api/package.json +1 -1
  14. package/packages/apps/affilate-program/package.json +1 -1
  15. package/packages/apps/correios/package.json +1 -1
  16. package/packages/apps/custom-payment/package.json +1 -1
  17. package/packages/apps/custom-shipping/package.json +1 -1
  18. package/packages/apps/datafrete/package.json +1 -1
  19. package/packages/apps/discounts/package.json +1 -1
  20. package/packages/apps/emails/package.json +1 -1
  21. package/packages/apps/fb-conversions/package.json +1 -1
  22. package/packages/apps/flash-courier/package.json +1 -1
  23. package/packages/apps/frenet/package.json +1 -1
  24. package/packages/apps/galaxpay/package.json +1 -1
  25. package/packages/apps/google-analytics/package.json +1 -1
  26. package/packages/apps/jadlog/package.json +1 -1
  27. package/packages/apps/loyalty-points/package.json +1 -1
  28. package/packages/apps/mandae/package.json +1 -1
  29. package/packages/apps/melhor-envio/package.json +1 -1
  30. package/packages/apps/mercadopago/package.json +1 -1
  31. package/packages/apps/pagarme/package.json +1 -1
  32. package/packages/apps/pagarme-v5/package.json +1 -1
  33. package/packages/apps/paghiper/package.json +1 -1
  34. package/packages/apps/pix/package.json +1 -1
  35. package/packages/apps/tiny-erp/package.json +1 -1
  36. package/packages/apps/webhooks/package.json +1 -1
  37. package/packages/cli/package.json +1 -1
  38. package/packages/config/package.json +1 -1
  39. package/packages/emails/package.json +1 -1
  40. package/packages/eslint/package.json +1 -1
  41. package/packages/events/package.json +1 -1
  42. package/packages/feeds/package.json +1 -1
  43. package/packages/firebase/package.json +1 -1
  44. package/packages/i18n/package.json +1 -1
  45. package/packages/modules/lib/firebase.js +2 -2
  46. package/packages/modules/lib/firebase.js.map +1 -1
  47. package/packages/modules/package.json +1 -1
  48. package/packages/modules/src/firebase.ts +2 -2
  49. package/packages/passport/lib/firebase.js +13 -2
  50. package/packages/passport/lib/firebase.js.map +1 -1
  51. package/packages/passport/package.json +1 -1
  52. package/packages/passport/src/firebase.ts +16 -2
  53. package/packages/ssr/package.json +1 -2
  54. package/packages/storefront/package.json +1 -2
  55. package/packages/storefront/src/lib/assets/base.css +5 -4
  56. package/packages/storefront/src/lib/assets/tooltip.css +1 -1
  57. package/packages/storefront/src/lib/scripts/vbeta-app.ts +1 -1
  58. package/packages/test-base/package.json +1 -1
  59. package/packages/types/package.json +1 -1
@@ -64,7 +64,7 @@ jobs:
64
64
  ${{ runner.os }}-pnpm-store-
65
65
 
66
66
  - shell: bash
67
- run: bash scripts/pre-install.sh && pnpm install --frozen-lockfile
67
+ run: bash scripts/pre-install.sh && pnpm install --no-frozen-lockfile
68
68
 
69
69
  - uses: actions/cache@v3
70
70
  with:
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
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.33.0](https://github.com/ecomplus/cloud-commerce/compare/v0.32.0...v0.33.0) (2023-11-09)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * **ssr:** `@headlessui/vue` is no more dev dep of `@cloudcommerce/storefront`, not dep of `@cloudcommerce/ssr`, must be manually added as dependency if used
11
+
12
+ ### Features
13
+
14
+ * **modules:** Optionally override any Function runtime option on `modulesFunctionOptions` config ([d1fed93](https://github.com/ecomplus/cloud-commerce/commit/d1fed93c4ae69c780efe690c62762b2a6ffd1da1))
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **passport:** Set CORS headers and accept OPTIONS request ([d15dc5a](https://github.com/ecomplus/cloud-commerce/commit/d15dc5a11f8d6a180269f8f48660d92ada5e9c38))
20
+ * **storefront:** Fix default styles for ::selection with new RGB syntax ([9497bfd](https://github.com/ecomplus/cloud-commerce/commit/9497bfd5dbcbf45136dc027327ea8abe3d8b748d))
21
+ * **storefront:** Update dark/light CSS vars to RGB spaces notation ([62ea62c](https://github.com/ecomplus/cloud-commerce/commit/62ea62cc9653b7a207b2da7e203524c6be6db387))
22
+ * **storefront:** Updating vbeta-app script version ([c0d50c0](https://github.com/ecomplus/cloud-commerce/commit/c0d50c028474ef0ccbc935b8253260ad978c13e7))
23
+
24
+
25
+ * **ssr:** Removing `@headlessui/vue` from pkg deps ([344916f](https://github.com/ecomplus/cloud-commerce/commit/344916fd49c4683023b188fa9ead66a5c1a346f3))
26
+
5
27
  ## [0.32.0](https://github.com/ecomplus/cloud-commerce/compare/v0.31.2...v0.32.0) (2023-11-07)
6
28
 
7
29
 
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "main": "index.js",
17
17
  "dependencies": {
18
- "@cloudcommerce/feeds": "^0.31.2",
19
- "@cloudcommerce/firebase": "^0.31.2",
20
- "@cloudcommerce/passport": "^0.31.2"
18
+ "@cloudcommerce/feeds": "^0.32.0",
19
+ "@cloudcommerce/firebase": "^0.32.0",
20
+ "@cloudcommerce/passport": "^0.32.0"
21
21
  }
22
22
  }
@@ -17,14 +17,15 @@
17
17
  },
18
18
  "main": "index.js",
19
19
  "dependencies": {
20
- "@cloudcommerce/api": "^0.31.2",
21
- "@cloudcommerce/firebase": "^0.31.2",
22
- "@cloudcommerce/ssr": "^0.31.2"
20
+ "@cloudcommerce/api": "^0.32.0",
21
+ "@cloudcommerce/firebase": "^0.32.0",
22
+ "@cloudcommerce/ssr": "^0.32.0",
23
+ "@headlessui/vue": "^1.7.16"
23
24
  },
24
25
  "devDependencies": {
25
- "@cloudcommerce/i18n": "^0.31.2",
26
- "@cloudcommerce/storefront": "^0.31.2",
27
- "@cloudcommerce/types": "^0.31.2",
26
+ "@cloudcommerce/i18n": "^0.32.0",
27
+ "@cloudcommerce/storefront": "^0.32.0",
28
+ "@cloudcommerce/types": "^0.32.0",
28
29
  "@fontsource/croissant-one": "^5.0.9",
29
30
  "@iconify-json/mingcute": "^1.1.9"
30
31
  }
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "main": "index.js",
17
17
  "dependencies": {
18
- "@cloudcommerce/events": "^0.31.2",
19
- "@cloudcommerce/firebase": "^0.31.2",
20
- "@cloudcommerce/modules": "^0.31.2"
18
+ "@cloudcommerce/events": "^0.32.0",
19
+ "@cloudcommerce/firebase": "^0.32.0",
20
+ "@cloudcommerce/modules": "^0.32.0"
21
21
  }
22
22
  }
@@ -23,9 +23,9 @@
23
23
  "url": "https://github.com/ecomplus/cloud-commerce/issues"
24
24
  },
25
25
  "dependencies": {
26
- "@cloudcommerce/cli": "^0.31.2"
26
+ "@cloudcommerce/cli": "^0.32.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@cloudcommerce/eslint": "^0.31.2"
29
+ "@cloudcommerce/eslint": "^0.32.0"
30
30
  }
31
31
  }
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "main": "index.js",
17
17
  "dependencies": {
18
- "@cloudcommerce/feeds": "^0.31.2",
19
- "@cloudcommerce/firebase": "^0.31.2",
20
- "@cloudcommerce/passport": "^0.31.2"
18
+ "@cloudcommerce/feeds": "^0.32.0",
19
+ "@cloudcommerce/firebase": "^0.32.0",
20
+ "@cloudcommerce/passport": "^0.32.0"
21
21
  }
22
22
  }
@@ -17,15 +17,16 @@
17
17
  },
18
18
  "main": "index.js",
19
19
  "dependencies": {
20
- "@cloudcommerce/api": "^0.31.2",
21
- "@cloudcommerce/firebase": "^0.31.2",
22
- "@cloudcommerce/ssr": "^0.31.2",
20
+ "@cloudcommerce/api": "^0.32.0",
21
+ "@cloudcommerce/firebase": "^0.32.0",
22
+ "@cloudcommerce/ssr": "^0.32.0",
23
+ "@headlessui/vue": "^1.7.16",
23
24
  "@vueuse/motion": "2.0.0-beta.22"
24
25
  },
25
26
  "devDependencies": {
26
- "@cloudcommerce/i18n": "^0.31.2",
27
- "@cloudcommerce/storefront": "^0.31.2",
28
- "@cloudcommerce/types": "^0.31.2",
27
+ "@cloudcommerce/i18n": "^0.32.0",
28
+ "@cloudcommerce/storefront": "^0.32.0",
29
+ "@cloudcommerce/types": "^0.32.0",
29
30
  "@fontsource-variable/inter": "^5.0.8",
30
31
  "@iconify-json/ri": "^1.1.8",
31
32
  "@iconify-json/wpf": "^1.1.4",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "main": "index.js",
17
17
  "dependencies": {
18
- "@cloudcommerce/events": "^0.31.2",
19
- "@cloudcommerce/firebase": "^0.31.2",
20
- "@cloudcommerce/modules": "^0.31.2"
18
+ "@cloudcommerce/events": "^0.32.0",
19
+ "@cloudcommerce/firebase": "^0.32.0",
20
+ "@cloudcommerce/modules": "^0.32.0"
21
21
  }
22
22
  }
@@ -23,9 +23,9 @@
23
23
  "url": "https://github.com/ecomplus/cloud-commerce/issues"
24
24
  },
25
25
  "dependencies": {
26
- "@cloudcommerce/cli": "^0.31.2"
26
+ "@cloudcommerce/cli": "^0.32.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@cloudcommerce/eslint": "^0.31.2"
29
+ "@cloudcommerce/eslint": "^0.32.0"
30
30
  }
31
31
  }
@@ -19,7 +19,8 @@
19
19
  "dependencies": {
20
20
  "@cloudcommerce/api": "^0.1.7",
21
21
  "@cloudcommerce/firebase": "^0.1.7",
22
- "@cloudcommerce/ssr": "^0.1.7"
22
+ "@cloudcommerce/ssr": "^0.1.7",
23
+ "@headlessui/vue": "^1.7.16"
23
24
  },
24
25
  "devDependencies": {
25
26
  "@cloudcommerce/i18n": "^0.1.7",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.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>",
@@ -30,7 +30,7 @@
30
30
  "vite": "^4.5.0",
31
31
  "vitest": "^0.34.6",
32
32
  "zx": "^7.2.3",
33
- "@cloudcommerce/eslint": "0.32.0"
33
+ "@cloudcommerce/eslint": "0.33.0"
34
34
  },
35
35
  "scripts": {
36
36
  "fix-install": "bash scripts/pre-install.sh && pnpm i",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Correios shipping calculation",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-custom-payment",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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-jadlog",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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-mandae",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Mandaê shipping intermediator",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-melhor-envio",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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-pagarme-v5",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pagar.me API v5 with recurring payments",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-paghiper",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for general order webhooks",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/config",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.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/eslint",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce ESLint config",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/events",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.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.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce catalog feeds",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/firebase",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce on Firebase",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/i18n",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce i18n",
6
6
  "main": "lib/all.js",
7
7
  "exports": {
@@ -3,12 +3,12 @@ import { onRequest } from 'firebase-functions/v2/https';
3
3
  import config from '@cloudcommerce/firebase/lib/config';
4
4
  import serveModulesApi from './firebase/serve-modules-api.js';
5
5
 
6
- const { httpsFunctionOptions: { region }, modulesFunctionOptions: { memory } } = config.get();
6
+ const { httpsFunctionOptions: { region }, modulesFunctionOptions } = config.get();
7
7
 
8
8
  export const modules = onRequest({
9
9
  concurrency: 24,
10
10
  region,
11
- memory,
11
+ ...modulesFunctionOptions,
12
12
  }, (req, res) => {
13
13
  if (!process.env.MODULES_DISABLE_CORS) {
14
14
  res.setHeader('Access-Control-Allow-Origin', '*');
@@ -1 +1 @@
1
- {"version":3,"file":"firebase.js","sourceRoot":"","sources":["../src/firebase.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,MAAM,MAAM,oCAAoC,CAAC;AACxD,OAAO,eAAe,MAAM,8BAA8B,CAAC;AAE3D,MAAM,EACJ,oBAAoB,EAAE,EAAE,MAAM,EAAE,EAChC,sBAAsB,EAAE,EAAE,MAAM,EAAE,GACnC,GAAG,MAAM,CAAC,GAAG,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC;IAC/B,WAAW,EAAE,EAAE;IACf,MAAM;IACN,MAAM;CACP,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;IACd,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE;QACrC,GAAG,CAAC,SAAS,CAAC,6BAA6B,EAAE,GAAG,CAAC,CAAC;QAClD,GAAG,CAAC,SAAS,CAAC,8BAA8B,EAAE,gCAAgC,CAAC,CAAC;QAChF,GAAG,CAAC,SAAS,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC;QAC/C,GAAG,CAAC,SAAS,CACX,8BAA8B,EAC9B,kEAAkE,CACnE,CAAC;QACF,IAAI,GAAG,CAAC,MAAM,KAAK,SAAS,EAAE;YAC5B,GAAG,CAAC,GAAG,EAAE,CAAC;YACV,OAAO;SACR;KACF;IACD,eAAe,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAC5B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"firebase.js","sourceRoot":"","sources":["../src/firebase.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,MAAM,MAAM,oCAAoC,CAAC;AACxD,OAAO,eAAe,MAAM,8BAA8B,CAAC;AAE3D,MAAM,EACJ,oBAAoB,EAAE,EAAE,MAAM,EAAE,EAChC,sBAAsB,GACvB,GAAG,MAAM,CAAC,GAAG,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC;IAC/B,WAAW,EAAE,EAAE;IACf,MAAM;IACN,GAAG,sBAAsB;CAC1B,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;IACd,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE;QACrC,GAAG,CAAC,SAAS,CAAC,6BAA6B,EAAE,GAAG,CAAC,CAAC;QAClD,GAAG,CAAC,SAAS,CAAC,8BAA8B,EAAE,gCAAgC,CAAC,CAAC;QAChF,GAAG,CAAC,SAAS,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC;QAC/C,GAAG,CAAC,SAAS,CACX,8BAA8B,EAC9B,kEAAkE,CACnE,CAAC;QACF,IAAI,GAAG,CAAC,MAAM,KAAK,SAAS,EAAE;YAC5B,GAAG,CAAC,GAAG,EAAE,CAAC;YACV,OAAO;SACR;KACF;IACD,eAAe,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAC5B,CAAC,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/modules",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce modules API",
6
6
  "main": "lib/index.cjs",
7
7
  "exports": {
@@ -5,13 +5,13 @@ import serveModulesApi from './firebase/serve-modules-api';
5
5
 
6
6
  const {
7
7
  httpsFunctionOptions: { region },
8
- modulesFunctionOptions: { memory },
8
+ modulesFunctionOptions,
9
9
  } = config.get();
10
10
 
11
11
  export const modules = onRequest({
12
12
  concurrency: 24,
13
13
  region,
14
- memory,
14
+ ...modulesFunctionOptions,
15
15
  }, (req, res) => {
16
16
  if (!process.env.MODULES_DISABLE_CORS) {
17
17
  res.setHeader('Access-Control-Allow-Origin', '*');
@@ -10,8 +10,19 @@ export const passport = functions
10
10
  .region(region)
11
11
  .runWith({
12
12
  ...httpsFunctionOptions,
13
- memory: '256MB',
14
13
  timeoutSeconds: 30,
15
14
  })
16
- .https.onRequest(servePassportApi);
15
+ .https.onRequest((req, res) => {
16
+ if (!process.env.PASSPORT_DISABLE_CORS) {
17
+ res.setHeader('Access-Control-Allow-Origin', '*');
18
+ res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PATCH, PUT, OPTIONS');
19
+ res.setHeader('Access-Control-Max-Age', '600');
20
+ res.setHeader('Access-Control-Allow-Headers', 'Authorization, Content-Type, X-Store-ID, X-My-ID, X-Access-Token');
21
+ if (req.method === 'OPTIONS') {
22
+ res.end();
23
+ return Promise.resolve();
24
+ }
25
+ }
26
+ return servePassportApi(req, res);
27
+ });
17
28
  // # sourceMappingURL=firebase.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"firebase.js","sourceRoot":"","sources":["../src/firebase.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,MAAM,MAAM,oCAAoC,CAAC;AACxD,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAE7D,MAAM,EAAE,oBAAoB,EAAE,GAAG,MAAM,CAAC,GAAG,EAAE,CAAC;AAC9C,MAAM,EAAE,MAAM,EAAE,GAAG,oBAAoB,CAAC;AAExC,wDAAwD;AACxD,MAAM,CAAC,MAAM,QAAQ,GAAG,SAAS;KAC9B,MAAM,CAAC,MAAM,CAAC;KACd,OAAO,CAAC;IACP,GAAG,oBAAoB;IACvB,MAAM,EAAE,OAAO;IACf,cAAc,EAAE,EAAE;CACnB,CAAC;KACD,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"firebase.js","sourceRoot":"","sources":["../src/firebase.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,MAAM,MAAM,oCAAoC,CAAC;AACxD,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAE7D,MAAM,EAAE,oBAAoB,EAAE,GAAG,MAAM,CAAC,GAAG,EAAE,CAAC;AAC9C,MAAM,EAAE,MAAM,EAAE,GAAG,oBAAoB,CAAC;AAExC,wDAAwD;AACxD,MAAM,CAAC,MAAM,QAAQ,GAAG,SAAS;KAC9B,MAAM,CAAC,MAAM,CAAC;KACd,OAAO,CAAC;IACP,GAAG,oBAAoB;IACvB,cAAc,EAAE,EAAE;CACnB,CAAC;KACD,KAAK,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;IAC5B,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE;QACtC,GAAG,CAAC,SAAS,CAAC,6BAA6B,EAAE,GAAG,CAAC,CAAC;QAClD,GAAG,CAAC,SAAS,CAAC,8BAA8B,EAAE,gCAAgC,CAAC,CAAC;QAChF,GAAG,CAAC,SAAS,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC;QAC/C,GAAG,CAAC,SAAS,CACX,8BAA8B,EAC9B,kEAAkE,CACnE,CAAC;QACF,IAAI,GAAG,CAAC,MAAM,KAAK,SAAS,EAAE;YAC5B,GAAG,CAAC,GAAG,EAAE,CAAC;YACV,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;SAC1B;KACF;IACD,OAAO,gBAAgB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AACpC,CAAC,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/passport",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce customers authentication (passport) API",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -10,7 +10,21 @@ export const passport = functions
10
10
  .region(region)
11
11
  .runWith({
12
12
  ...httpsFunctionOptions,
13
- memory: '256MB',
14
13
  timeoutSeconds: 30,
15
14
  })
16
- .https.onRequest(servePassportApi);
15
+ .https.onRequest((req, res) => {
16
+ if (!process.env.PASSPORT_DISABLE_CORS) {
17
+ res.setHeader('Access-Control-Allow-Origin', '*');
18
+ res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PATCH, PUT, OPTIONS');
19
+ res.setHeader('Access-Control-Max-Age', '600');
20
+ res.setHeader(
21
+ 'Access-Control-Allow-Headers',
22
+ 'Authorization, Content-Type, X-Store-ID, X-My-ID, X-Access-Token',
23
+ );
24
+ if (req.method === 'OPTIONS') {
25
+ res.end();
26
+ return Promise.resolve();
27
+ }
28
+ }
29
+ return servePassportApi(req, res);
30
+ });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/ssr",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce storefront SSR",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -30,7 +30,6 @@
30
30
  "@cloudcommerce/firebase": "workspace:*",
31
31
  "@cloudcommerce/i18n": "workspace:*",
32
32
  "@ecomplus/utils": "1.5.0-rc.5",
33
- "@headlessui/vue": "^1.7.16",
34
33
  "@vueuse/core": "10.5.0",
35
34
  "astro": "2.10.15",
36
35
  "astro-capo": "^0.0.1",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/storefront",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce storefront with Astro",
6
6
  "bin": {
7
7
  "storefront": "./scripts/build-prod.sh"
@@ -37,7 +37,6 @@
37
37
  "@cloudcommerce/i18n": "workspace:*",
38
38
  "@ecomplus/utils": "1.5.0-rc.5",
39
39
  "@fastify/deepmerge": "^1.3.0",
40
- "@headlessui/vue": "^1.7.16",
41
40
  "@iconify-json/fa6-brands": "^1.1.13",
42
41
  "@iconify-json/heroicons": "^1.1.13",
43
42
  "@iconify-json/logos": "^1.1.37",
@@ -11,9 +11,9 @@
11
11
  --transition: .15s ease-in-out;
12
12
  --transition-slow: .25s ease-in-out;
13
13
  --transition-slower: .45s ease-in-out;
14
- --rgb-on-dark: 255, 255, 255;
14
+ --rgb-on-dark: 255 255 255;
15
15
  --c-on-dark: rgb(var(--rgb-on-dark));
16
- --rgb-on-light: 0, 0, 0;
16
+ --rgb-on-light: 0 0 0;
17
17
  --c-on-light: rgb(var(--rgb-on-light));
18
18
  --c-background: #fff;
19
19
  --c-on-background: theme('colors.base.800');
@@ -67,10 +67,11 @@ html {
67
67
  }
68
68
 
69
69
  :focus-visible {
70
- outline-color: var(--c-outline, rgba(var(--rgb-secondary), .1));
70
+ outline-color: var(--c-outline, rgb(var(--rgb-secondary) / .1));
71
71
  }
72
72
  ::selection {
73
- background-color: var(--c-selection-background, rgba(var(--rgb-secondary), .15));
73
+ background-color: var(--c-selection-background, rgb(var(--rgb-secondary-950) / .7));
74
+ color: var(--c-selection-foreground, #fff);
74
75
  }
75
76
  ::marker {
76
77
  color: var(--c-primary);
@@ -1,7 +1,7 @@
1
1
  [data-tooltip] {
2
2
  position: relative;
3
3
  cursor: help;
4
- --background-color: var(--c-tooltip-background, rgba(44, 44, 44, 0.85));
4
+ --background-color: var(--c-tooltip-background, rgb(44 44 44 / 0.85));
5
5
  --color: var(--c-tooltip-foreground, var(--c-on-dark));
6
6
  --border-color: transparent transparent var(--background-color) transparent;
7
7
  }
@@ -48,7 +48,7 @@ if (!import.meta.env.SSR) {
48
48
  };
49
49
 
50
50
  const appScript = document.createElement('script');
51
- appScript.src = 'https://cdn.jsdelivr.net/npm/@ecomplus/storefront-app@2.0.0-beta.187/dist/lib/js/app.js';
51
+ appScript.src = 'https://cdn.jsdelivr.net/npm/@ecomplus/storefront-app@2.0.0-beta.188/dist/lib/js/app.js';
52
52
  appScript.onload = onLoad;
53
53
  document.body.appendChild(appScript);
54
54
  }
@@ -2,7 +2,7 @@
2
2
  "name": "@cloudcommerce/test-base",
3
3
  "private": true,
4
4
  "type": "module",
5
- "version": "0.32.0",
5
+ "version": "0.33.0",
6
6
  "description": "E-Com Plus Cloud Commerce basic setup for testing",
7
7
  "main": "lib/index.js",
8
8
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/types",
3
3
  "type": "module",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "description": "E-Com Plus Cloud Commerce reusable type definitions",
6
6
  "main": "index.ts",
7
7
  "repository": {