cloudcommerce 0.40.4 → 0.41.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 (102) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/action.yml +4 -0
  3. package/package.json +4 -4
  4. package/packages/api/package.json +1 -1
  5. package/packages/apps/affilate-program/package.json +1 -1
  6. package/packages/apps/correios/package.json +2 -2
  7. package/packages/apps/custom-payment/package.json +1 -1
  8. package/packages/apps/custom-shipping/package.json +1 -1
  9. package/packages/apps/datafrete/package.json +2 -2
  10. package/packages/apps/discounts/package.json +1 -1
  11. package/packages/apps/emails/package.json +1 -1
  12. package/packages/apps/fb-conversions/package.json +2 -2
  13. package/packages/apps/flash-courier/package.json +2 -2
  14. package/packages/apps/frenet/lib/frenet-events.js +1 -1
  15. package/packages/apps/frenet/lib/frenet-events.js.map +1 -1
  16. package/packages/apps/frenet/package.json +2 -2
  17. package/packages/apps/frenet/src/frenet-events.ts +1 -1
  18. package/packages/apps/galaxpay/package.json +2 -2
  19. package/packages/apps/google-analytics/package.json +2 -2
  20. package/packages/apps/jadlog/package.json +2 -2
  21. package/packages/apps/loyalty-points/lib/loyalty-points-events.js +1 -1
  22. package/packages/apps/loyalty-points/lib/loyalty-points-events.js.map +1 -1
  23. package/packages/apps/loyalty-points/package.json +1 -1
  24. package/packages/apps/loyalty-points/src/loyalty-points-events.ts +1 -1
  25. package/packages/apps/mandae/package.json +2 -2
  26. package/packages/apps/melhor-envio/lib/melhor-envio-events.js +1 -1
  27. package/packages/apps/melhor-envio/lib/melhor-envio-events.js.map +1 -1
  28. package/packages/apps/melhor-envio/package.json +2 -2
  29. package/packages/apps/melhor-envio/src/melhor-envio-events.ts +1 -1
  30. package/packages/apps/mercadopago/package.json +2 -2
  31. package/packages/apps/pagarme/package.json +2 -2
  32. package/packages/apps/pagarme-v5/package.json +2 -2
  33. package/packages/apps/paghiper/package.json +2 -2
  34. package/packages/apps/pix/package.json +2 -2
  35. package/packages/apps/tiny-erp/package.json +2 -2
  36. package/packages/apps/webhooks/package.json +2 -2
  37. package/packages/cli/package.json +1 -1
  38. package/packages/config/package.json +1 -1
  39. package/packages/emails/package.json +3 -3
  40. package/packages/eslint/package.json +2 -2
  41. package/packages/eslint/storefront.eslintrc.cjs +2 -0
  42. package/packages/events/lib/firebase.js +2 -0
  43. package/packages/events/lib/firebase.js.map +1 -1
  44. package/packages/events/package.json +2 -1
  45. package/packages/events/src/firebase.ts +2 -0
  46. package/packages/feeds/package.json +1 -1
  47. package/packages/firebase/lib/helpers/firestore.d.ts +2 -0
  48. package/packages/firebase/lib/helpers/firestore.js +24 -0
  49. package/packages/firebase/lib/helpers/firestore.js.map +1 -0
  50. package/packages/firebase/package.json +2 -1
  51. package/packages/firebase/src/helpers/firestore.ts +31 -0
  52. package/packages/i18n/package.json +1 -1
  53. package/packages/modules/package.json +2 -2
  54. package/packages/passport/package.json +1 -1
  55. package/packages/ssr/events.js +1 -0
  56. package/packages/ssr/lib/firebase.js +1 -1
  57. package/packages/ssr/lib/firebase.js.map +1 -1
  58. package/packages/ssr/lib/index.js +1 -1
  59. package/packages/ssr/lib/index.js.map +1 -1
  60. package/packages/ssr/lib/lib/analytics/send-to-ga4.js.map +1 -0
  61. package/packages/ssr/lib/lib/analytics/send-to-meta.js.map +1 -0
  62. package/packages/ssr/lib/lib/analytics/send-to-tiktok.js.map +1 -0
  63. package/packages/ssr/lib/{analytics-events.js → lib/analytics-events.js} +4 -3
  64. package/packages/ssr/lib/lib/analytics-events.js.map +1 -0
  65. package/packages/ssr/lib/lib/cron-ssr-save-views.js +57 -0
  66. package/packages/ssr/lib/lib/cron-ssr-save-views.js.map +1 -0
  67. package/packages/ssr/lib/{firebase → lib}/serve-storefront.js +1 -1
  68. package/packages/ssr/lib/lib/serve-storefront.js.map +1 -0
  69. package/packages/ssr/lib/ssr-events.js +18 -0
  70. package/packages/ssr/lib/ssr-events.js.map +1 -0
  71. package/packages/ssr/package.json +5 -4
  72. package/packages/ssr/src/firebase.ts +1 -1
  73. package/packages/ssr/src/index.ts +1 -1
  74. package/packages/ssr/src/{analytics-events.ts → lib/analytics-events.ts} +4 -3
  75. package/packages/ssr/src/lib/cron-ssr-save-views.ts +56 -0
  76. package/packages/ssr/src/{firebase → lib}/serve-storefront.ts +2 -2
  77. package/packages/ssr/src/ssr-events.ts +17 -0
  78. package/packages/storefront/astro.config.mjs +3 -0
  79. package/packages/storefront/config/storefront.cms.js +14 -7
  80. package/packages/storefront/config/storefront.config.mjs +14 -1
  81. package/packages/storefront/package.json +8 -7
  82. package/packages/storefront/scripts/build-prod.sh +1 -0
  83. package/packages/storefront/src/lib/components/AccountLink.vue +9 -3
  84. package/packages/storefront/src/lib/composables/use-product-shelf.ts +3 -1
  85. package/packages/storefront/src/lib/content.d.ts +2 -2
  86. package/packages/storefront/src/lib/layouts/BaseHead.astro +1 -0
  87. package/packages/storefront/src/lib/layouts/use-page-main.ts +48 -20
  88. package/packages/storefront/src/lib/ssr-context.ts +1 -3
  89. package/packages/storefront/src/lib/state/use-analytics.ts +5 -2
  90. package/packages/test-base/package.json +1 -1
  91. package/packages/types/package.json +1 -1
  92. package/packages/ssr/lib/analytics/send-to-ga4.js.map +0 -1
  93. package/packages/ssr/lib/analytics/send-to-meta.js.map +0 -1
  94. package/packages/ssr/lib/analytics/send-to-tiktok.js.map +0 -1
  95. package/packages/ssr/lib/analytics-events.js.map +0 -1
  96. package/packages/ssr/lib/firebase/serve-storefront.js.map +0 -1
  97. /package/packages/ssr/lib/{analytics → lib/analytics}/send-to-ga4.js +0 -0
  98. /package/packages/ssr/lib/{analytics → lib/analytics}/send-to-meta.js +0 -0
  99. /package/packages/ssr/lib/{analytics → lib/analytics}/send-to-tiktok.js +0 -0
  100. /package/packages/ssr/src/{analytics → lib/analytics}/send-to-ga4.ts +0 -0
  101. /package/packages/ssr/src/{analytics → lib/analytics}/send-to-meta.ts +0 -0
  102. /package/packages/ssr/src/{analytics → lib/analytics}/send-to-tiktok.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,46 @@
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.41.0](https://github.com/ecomplus/cloud-commerce/compare/v0.40.5...v0.41.0) (2024-01-04)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * **storefront:** Changed expected page content schema for content entry (with markdown)
11
+
12
+ ### Features
13
+
14
+ * **storefront:** Adding support to .md files with frontmatter on (CMS) content ([1681506](https://github.com/ecomplus/cloud-commerce/commit/1681506c695c011956d209a11d982551ae42a7e1))
15
+ * **storefront:** New section `content-entry` on page main composable ([5469278](https://github.com/ecomplus/cloud-commerce/commit/54692789aaa1f5c84a6648ee98585d6dd5911360))
16
+ * **storefront:** Set `BUILD_MINIMAL` env on first build sted ([f5c464f](https://github.com/ecomplus/cloud-commerce/commit/f5c464f9bddb66dbd464be5c810bf17ba86d62ee))
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **deps:** Revert Vue semver to ^3.4.0 ([4b06a30](https://github.com/ecomplus/cloud-commerce/commit/4b06a30de5891b6124ea6d1f3a75989be811da45))
22
+ * **storefront:** Fixiing `ContentData` (may be null) and `PageContent` typedefs ([44ab06c](https://github.com/ecomplus/cloud-commerce/commit/44ab06c92e016f9c477f2dda83b7faf158aec1d2))
23
+ * **storefront:** Prevent hydration mismatch with `<AccountLink>` and (client-only) location ([eb57285](https://github.com/ecomplus/cloud-commerce/commit/eb57285f84f84cac59bb9417a8db1c7be6ca503d))
24
+
25
+ ### [0.40.5](https://github.com/ecomplus/cloud-commerce/compare/v0.40.4...v0.40.5) (2024-01-01)
26
+
27
+
28
+ ### Features
29
+
30
+ * **firebase:** New pkg export "lib/helpers/firestore" with `deleteQueryBatch` method ([6ae31ba](https://github.com/ecomplus/cloud-commerce/commit/6ae31ba2b3f477db9fc94bb92cfa30890520f860))
31
+ * **ssr:** Counting search term views on Firestore ([f5b9f86](https://github.com/ecomplus/cloud-commerce/commit/f5b9f8607bf42d188881e3f9e425750391c4f671))
32
+ * **ssr:** Setup scheduled function to save product views and delete old (90d) page views ([02f352f](https://github.com/ecomplus/cloud-commerce/commit/02f352f39e2d4c67ec35826d1f20a14a74ad8a0c))
33
+ * **ssr:** Supporting bunny.net with Perma-Cache with on-demand purge ([b232642](https://github.com/ecomplus/cloud-commerce/commit/b2326424ea6ec077a4910f3f4b022e9ce946e898))
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * **apps:** Syntax fix for many apps cron setup ([d5fd1a3](https://github.com/ecomplus/cloud-commerce/commit/d5fd1a32f392df7e09920e2dc1590557552f0576))
39
+ * **deps:** Update non-major dependencies ([#297](https://github.com/ecomplus/cloud-commerce/issues/297)) ([282d078](https://github.com/ecomplus/cloud-commerce/commit/282d078e19a1e4266531f77e0bcd7525cb81b913))
40
+ * **ssr:** Properly storing product views from analytcis (gtag) events ([cb84f5b](https://github.com/ecomplus/cloud-commerce/commit/cb84f5bc5cf06b5f0fd109e372c505028b0c6ca5))
41
+ * **storefront:** Bump Vue to v3.4.3 ([c4e806d](https://github.com/ecomplus/cloud-commerce/commit/c4e806ddea9764536fec0ee88c91fd1ae6369014))
42
+ * **storefront:** Ensure related products fetch on SSR only ([75e8090](https://github.com/ecomplus/cloud-commerce/commit/75e80900ae7015562ba2d4803dd093642d17fbcf))
43
+ * **storefront:** Properly send analytics `view_search_results` on SSRed search page ([a276136](https://github.com/ecomplus/cloud-commerce/commit/a2761361de6596cb3df3cef1ef33685e951ffd6d))
44
+
5
45
  ### [0.40.4](https://github.com/ecomplus/cloud-commerce/compare/v0.40.3...v0.40.4) (2023-12-29)
6
46
 
7
47
 
package/action.yml CHANGED
@@ -32,6 +32,8 @@ inputs:
32
32
  description: 'Emails: SMTP username'
33
33
  smpt-pass:
34
34
  description: 'Emails: SMTP password'
35
+ bunnynet-api-key:
36
+ description: 'bunny.net API key (additional CDN layer)'
35
37
  sendgrid-api-key:
36
38
  description: 'App: SendGrid API key'
37
39
  tinyerp-token:
@@ -234,6 +236,7 @@ runs:
234
236
  SMTP_PORT: ${{ inputs.smpt-port }}
235
237
  SMTP_USER: ${{ inputs.smpt-user }}
236
238
  SMTP_PASS: ${{ inputs.smpt-pass }}
239
+ BUNNYNET_API_KEY: ${{ inputs.bunnynet-api-key }}
237
240
  SENDGRID_API_KEY: ${{ inputs.sendgrid-api-key }}
238
241
  TINYERP_TOKEN: ${{ inputs.tinyerp-token }}
239
242
  GALAXPAY_PARTNER_ID: ${{ inputs.galaxpay-partner-id }}
@@ -280,6 +283,7 @@ runs:
280
283
  SMTP_PORT=$SMTP_PORT
281
284
  SMTP_USER=$SMTP_USER
282
285
  SMTP_PASS=$SMTP_PASS
286
+ BUNNYNET_API_KEY=$BUNNYNET_API_KEY
283
287
  SENDGRID_API_KEY=$SENDGRID_API_KEY
284
288
  TINYERP_TOKEN=$TINYERP_TOKEN
285
289
  GALAXPAY_PARTNER_ID=$GALAXPAY_PARTNER_ID
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.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>",
@@ -19,7 +19,7 @@
19
19
  "@commitlint/cli": "^18.4.3",
20
20
  "@commitlint/config-conventional": "^18.4.3",
21
21
  "@commitlint/rules": "^18.4.3",
22
- "@types/node": "^18.19.3",
22
+ "@types/node": "^18.19.4",
23
23
  "eslint": "^8.56.0",
24
24
  "husky": "^8.0.3",
25
25
  "standard-version": "^9.5.0",
@@ -28,9 +28,9 @@
28
28
  "typescript": "~5.2.2",
29
29
  "uglify-js": "^3.17.4",
30
30
  "vite": "^5.0.10",
31
- "vitest": "^1.1.0",
31
+ "vitest": "^1.1.1",
32
32
  "zx": "^7.2.3",
33
- "@cloudcommerce/eslint": "0.40.4"
33
+ "@cloudcommerce/eslint": "0.41.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.40.4",
4
+ "version": "0.41.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.40.4",
4
+ "version": "0.41.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.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Correios shipping calculation",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -27,7 +27,7 @@
27
27
  "@cloudcommerce/api": "workspace:*",
28
28
  "@cloudcommerce/firebase": "workspace:*",
29
29
  "@google-cloud/pubsub": "^4.1.0",
30
- "axios": "^1.6.2",
30
+ "axios": "^1.6.3",
31
31
  "firebase-admin": "^11.11.1",
32
32
  "firebase-functions": "^4.5.0"
33
33
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-custom-payment",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.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.40.4",
4
+ "version": "0.41.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.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Datafrete shipping gateway ",
6
6
  "main": "lib/datafrete.js",
7
7
  "exports": {
@@ -26,7 +26,7 @@
26
26
  "@cloudcommerce/api": "workspace:*",
27
27
  "@cloudcommerce/firebase": "workspace:*",
28
28
  "@ecomplus/utils": "1.5.0-rc.6",
29
- "axios": "^1.6.2",
29
+ "axios": "^1.6.3",
30
30
  "firebase-admin": "^11.11.1",
31
31
  "firebase-functions": "^4.5.0"
32
32
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-discounts",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.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.40.4",
4
+ "version": "0.41.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.40.4",
4
+ "version": "0.41.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": {
@@ -28,6 +28,6 @@
28
28
  "devDependencies": {
29
29
  "@cloudcommerce/types": "workspace:*",
30
30
  "@firebase/app-types": "^0.9.0",
31
- "@types/facebook-nodejs-business-sdk": "^15.0.5"
31
+ "@types/facebook-nodejs-business-sdk": "^18.0.0"
32
32
  }
33
33
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-flash-courier",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Flash Courier",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@cloudcommerce/api": "workspace:*",
27
27
  "@cloudcommerce/firebase": "workspace:*",
28
- "axios": "^1.6.2",
28
+ "axios": "^1.6.3",
29
29
  "firebase-functions": "^4.5.0"
30
30
  },
31
31
  "devDependencies": {
@@ -12,7 +12,7 @@ export const frenet = {
12
12
  cronTrackingCodes: functions.region(region).pubsub
13
13
  .schedule(process.env.CRONTAB_FRENET_TRACKING_CODES || '19 * * * *')
14
14
  .onRun(() => {
15
- return handleTrackingCodes;
15
+ return handleTrackingCodes();
16
16
  }),
17
17
  onStoreEvent: createAppEventsFunction('frenet', handleApiEvent),
18
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"frenet-events.js","sourceRoot":"","sources":["../src/frenet-events.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,EACL,uBAAuB,GAExB,MAAM,4CAA4C,CAAC;AACpD,OAAO,MAAM,MAAM,oCAAoC,CAAC;AACxD,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,mBAAmB,MAAM,gCAAgC,CAAC;AACjE,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAE9D,MAAM,EAAE,oBAAoB,EAAE,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,CAAC,GAAG,EAAE,CAAC;AAE1D,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,iBAAiB,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM;SAC/C,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,IAAI,YAAY,CAAC;SACnE,KAAK,CAAC,GAAG,EAAE;QACV,OAAO,mBAAmB,CAAC;IAC7B,CAAC,CAAC;IAEJ,YAAY,EAAE,uBAAuB,CACnC,QAAQ,EACR,cAAiC,CAClC;CACF,CAAC"}
1
+ {"version":3,"file":"frenet-events.js","sourceRoot":"","sources":["../src/frenet-events.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,EACL,uBAAuB,GAExB,MAAM,4CAA4C,CAAC;AACpD,OAAO,MAAM,MAAM,oCAAoC,CAAC;AACxD,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,mBAAmB,MAAM,gCAAgC,CAAC;AACjE,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAE9D,MAAM,EAAE,oBAAoB,EAAE,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,CAAC,GAAG,EAAE,CAAC;AAE1D,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,iBAAiB,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM;SAC/C,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,IAAI,YAAY,CAAC;SACnE,KAAK,CAAC,GAAG,EAAE;QACV,OAAO,mBAAmB,EAAE,CAAC;IAC/B,CAAC,CAAC;IAEJ,YAAY,EAAE,uBAAuB,CACnC,QAAQ,EACR,cAAiC,CAClC;CACF,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-frenet",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Frenet shipping calculation",
6
6
  "main": "lib/frenet.js",
7
7
  "exports": {
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@cloudcommerce/api": "workspace:*",
28
28
  "@cloudcommerce/firebase": "workspace:*",
29
- "axios": "^1.6.2",
29
+ "axios": "^1.6.3",
30
30
  "firebase-admin": "^11.11.1",
31
31
  "firebase-functions": "^4.5.0"
32
32
  },
@@ -15,7 +15,7 @@ export const frenet = {
15
15
  cronTrackingCodes: functions.region(region).pubsub
16
16
  .schedule(process.env.CRONTAB_FRENET_TRACKING_CODES || '19 * * * *')
17
17
  .onRun(() => {
18
- return handleTrackingCodes;
18
+ return handleTrackingCodes();
19
19
  }),
20
20
 
21
21
  onStoreEvent: createAppEventsFunction(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-galaxpay",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.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": {
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@cloudcommerce/api": "workspace:*",
27
27
  "@cloudcommerce/firebase": "workspace:*",
28
- "axios": "^1.6.2",
28
+ "axios": "^1.6.3",
29
29
  "firebase-admin": "^11.11.1",
30
30
  "firebase-functions": "^4.5.0"
31
31
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-google-analytics",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.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": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@cloudcommerce/api": "workspace:*",
23
23
  "@cloudcommerce/firebase": "workspace:*",
24
- "axios": "^1.6.2",
24
+ "axios": "^1.6.3",
25
25
  "firebase-admin": "^11.11.1",
26
26
  "firebase-functions": "^4.5.0"
27
27
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-jadlog",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Jadlog shipping calculation",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@cloudcommerce/api": "workspace:*",
23
- "axios": "^1.6.2"
23
+ "axios": "^1.6.3"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@cloudcommerce/types": "workspace:*"
@@ -31,7 +31,7 @@ export const loyaltypoints = {
31
31
  cronAddPoints: functions.region(region).pubsub
32
32
  .schedule(process.env.CRONTAB_LOYALTYPOINTS_ADD_POINTS || '28 * * * *')
33
33
  .onRun(() => {
34
- return addPoints;
34
+ return addPoints();
35
35
  }),
36
36
  };
37
37
  // # sourceMappingURL=loyalty-points-events.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loyalty-points-events.js","sourceRoot":"","sources":["../src/loyalty-points-events.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,OAAO,kCAAkC,CAAC;AAE1C,OAAO,EACL,uBAAuB,GAExB,MAAM,4CAA4C,CAAC;AACpD,OAAO,MAAM,MAAM,2BAA2B,CAAC;AAC/C,OAAO,MAAM,MAAM,oCAAoC,CAAC;AACxD,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,wBAAwB,MAAM,6CAA6C,CAAC;AACnF,OAAO,SAAS,MAAM,iCAAiC,CAAC;AAExD,MAAM,EAAE,oBAAoB,EAAE,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,CAAC,GAAG,EAAE,CAAC;AAE1D,MAAM,cAAc,GAAoB,KAAK,EAAE,EAC7C,MAAM,EACN,QAAQ,EACR,MAAM,EACN,GAAG,GACJ,EAAE,EAAE;IACH,MAAM,UAAU,GAAG,QAAQ,CAAC,WAAW,CAAC;IACxC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC/D,MAAM,GAAG,GAAG,GAAG,MAAM,IAAI,UAAU,EAAE,CAAC;IACtC,MAAM,OAAO,GAAG,EAAE,GAAG,GAAG,CAAC,IAAI,EAAE,GAAG,GAAG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AI,YAAY,CAAC;SACtE,KAAK,CAAC,GAAG,EAAE;QACV,OAAO,SAAS,EAAE,CAAC;IACrB,CAAC,CAAC;CACL,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-loyalty-points",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.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": {
@@ -47,6 +47,6 @@ export const loyaltypoints = {
47
47
  cronAddPoints: functions.region(region).pubsub
48
48
  .schedule(process.env.CRONTAB_LOYALTYPOINTS_ADD_POINTS || '28 * * * *')
49
49
  .onRun(() => {
50
- return addPoints;
50
+ return addPoints();
51
51
  }),
52
52
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-mandae",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Mandaê shipping intermediator",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@cloudcommerce/api": "workspace:*",
23
23
  "@ecomplus/utils": "1.5.0-rc.6",
24
- "axios": "^1.6.2",
24
+ "axios": "^1.6.3",
25
25
  "firebase-functions": "^4.5.0"
26
26
  },
27
27
  "devDependencies": {
@@ -10,7 +10,7 @@ export const melhorenvio = {
10
10
  cronTrackingCodes: functions.region(config.get().httpsFunctionOptions.region).pubsub
11
11
  .schedule(process.env.CRONTAB_MELHORENVIO_TRACKING_CODES || '19 * * * *')
12
12
  .onRun(() => {
13
- return handleTrackingCodes;
13
+ return handleTrackingCodes();
14
14
  }),
15
15
  onStoreEvent: createAppEventsFunction('melhorEnvio', handleApiEvent),
16
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"melhor-envio-events.js","sourceRoot":"","sources":["../src/melhor-envio-events.ts"],"names":[],"mappings":"AAAA,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IAC/B,CAAC,CAAC;IAEJ,YAAY,EAAE,uBAAuB,CACnC,aAAa,EACb,cAAiC,CAClC;CACF,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-melhor-envio",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Melhor Envio",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@cloudcommerce/api": "workspace:*",
27
27
  "@cloudcommerce/firebase": "workspace:*",
28
- "axios": "^1.6.2",
28
+ "axios": "^1.6.3",
29
29
  "firebase-admin": "^11.11.1",
30
30
  "firebase-functions": "^4.5.0"
31
31
  },
@@ -13,7 +13,7 @@ export const melhorenvio = {
13
13
  cronTrackingCodes: functions.region(config.get().httpsFunctionOptions.region).pubsub
14
14
  .schedule(process.env.CRONTAB_MELHORENVIO_TRACKING_CODES || '19 * * * *')
15
15
  .onRun(() => {
16
- return handleTrackingCodes;
16
+ return handleTrackingCodes();
17
17
  }),
18
18
 
19
19
  onStoreEvent: createAppEventsFunction(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-mercadopago",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Mercado Pago",
6
6
  "main": "lib/mercadopago.js",
7
7
  "exports": {
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@cloudcommerce/api": "workspace:*",
28
28
  "@cloudcommerce/firebase": "workspace:*",
29
- "axios": "^1.6.2",
29
+ "axios": "^1.6.3",
30
30
  "firebase-admin": "^11.11.1",
31
31
  "firebase-functions": "^4.5.0"
32
32
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pagarme",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pagar.me",
6
6
  "main": "lib/pagarme.js",
7
7
  "exports": {
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@cloudcommerce/api": "workspace:*",
27
27
  "@cloudcommerce/firebase": "workspace:*",
28
- "axios": "^1.6.2",
28
+ "axios": "^1.6.3",
29
29
  "firebase-admin": "^11.11.1",
30
30
  "firebase-functions": "^4.5.0",
31
31
  "pagarme": "^4.33.1",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pagarme-v5",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.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": {
@@ -27,7 +27,7 @@
27
27
  "@cloudcommerce/api": "workspace:*",
28
28
  "@cloudcommerce/firebase": "workspace:*",
29
29
  "@ecomplus/utils": "1.5.0-rc.6",
30
- "axios": "^1.6.2",
30
+ "axios": "^1.6.3",
31
31
  "firebase-admin": "^11.11.1",
32
32
  "firebase-functions": "^4.5.0"
33
33
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-paghiper",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate PagHiper",
6
6
  "main": "lib/paghiper.js",
7
7
  "exports": {
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@cloudcommerce/api": "workspace:*",
27
27
  "@cloudcommerce/firebase": "workspace:*",
28
- "axios": "^1.6.2",
28
+ "axios": "^1.6.3",
29
29
  "firebase-admin": "^11.11.1",
30
30
  "firebase-functions": "^4.5.0"
31
31
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pix",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pix API (Bacen)",
6
6
  "main": "lib/pix.js",
7
7
  "exports": {
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@cloudcommerce/api": "workspace:*",
27
27
  "@cloudcommerce/firebase": "workspace:*",
28
- "axios": "^1.6.2",
28
+ "axios": "^1.6.3",
29
29
  "firebase-admin": "^11.11.1",
30
30
  "firebase-functions": "^4.5.0"
31
31
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-tiny-erp",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Tiny ERP",
6
6
  "main": "lib/tiny-erp.js",
7
7
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "@cloudcommerce/api": "workspace:*",
23
23
  "@cloudcommerce/firebase": "workspace:*",
24
24
  "@ecomplus/utils": "1.5.0-rc.6",
25
- "axios": "^1.6.2",
25
+ "axios": "^1.6.3",
26
26
  "firebase-admin": "^11.11.1",
27
27
  "firebase-functions": "^4.5.0",
28
28
  "form-data": "4.0.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-webhooks",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for general order webhooks",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@cloudcommerce/api": "workspace:*",
23
23
  "@cloudcommerce/firebase": "workspace:*",
24
- "axios": "^1.6.2",
24
+ "axios": "^1.6.3",
25
25
  "firebase-admin": "^11.11.1",
26
26
  "firebase-functions": "^4.5.0"
27
27
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.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.40.4",
4
+ "version": "0.41.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.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce email sender",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@cloudcommerce/firebase": "workspace:*",
26
- "axios": "^1.6.2",
26
+ "axios": "^1.6.3",
27
27
  "ejs": "^3.1.9",
28
- "nodemailer": "^6.9.7"
28
+ "nodemailer": "^6.9.8"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@cloudcommerce/types": "workspace:*",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/eslint",
3
3
  "type": "module",
4
- "version": "0.40.4",
4
+ "version": "0.41.0",
5
5
  "description": "E-Com Plus Cloud Commerce ESLint config",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "eslint": "^8.56.0",
25
25
  "eslint-config-airbnb-base": "^15.0.0",
26
26
  "eslint-plugin-import": "^2.29.1",
27
- "eslint-plugin-tailwindcss": "3.13.0",
27
+ "eslint-plugin-tailwindcss": "3.13.1",
28
28
  "eslint-plugin-vue": "^9.19.2"
29
29
  }
30
30
  }