cloudcommerce 0.40.3 → 0.40.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/action.yml +4 -0
- package/package.json +5 -5
- package/packages/api/package.json +1 -1
- package/packages/apps/affilate-program/package.json +1 -1
- package/packages/apps/correios/package.json +2 -2
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +2 -2
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/emails/package.json +1 -1
- package/packages/apps/fb-conversions/package.json +2 -2
- package/packages/apps/flash-courier/package.json +2 -2
- package/packages/apps/frenet/lib/frenet-events.js +1 -1
- package/packages/apps/frenet/lib/frenet-events.js.map +1 -1
- package/packages/apps/frenet/package.json +2 -2
- package/packages/apps/frenet/src/frenet-events.ts +1 -1
- package/packages/apps/galaxpay/package.json +2 -2
- package/packages/apps/google-analytics/package.json +2 -2
- package/packages/apps/jadlog/package.json +2 -2
- package/packages/apps/loyalty-points/lib/loyalty-points-events.js +1 -1
- package/packages/apps/loyalty-points/lib/loyalty-points-events.js.map +1 -1
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/loyalty-points/src/loyalty-points-events.ts +1 -1
- package/packages/apps/mandae/package.json +2 -2
- package/packages/apps/melhor-envio/lib/melhor-envio-events.js +1 -1
- package/packages/apps/melhor-envio/lib/melhor-envio-events.js.map +1 -1
- package/packages/apps/melhor-envio/package.json +2 -2
- package/packages/apps/melhor-envio/src/melhor-envio-events.ts +1 -1
- package/packages/apps/mercadopago/package.json +2 -2
- package/packages/apps/pagarme/package.json +2 -2
- package/packages/apps/pagarme-v5/package.json +2 -2
- package/packages/apps/paghiper/package.json +2 -2
- package/packages/apps/pix/package.json +2 -2
- package/packages/apps/tiny-erp/package.json +2 -2
- package/packages/apps/webhooks/package.json +2 -2
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +3 -3
- package/packages/eslint/package.json +2 -2
- package/packages/events/lib/firebase.js +2 -0
- package/packages/events/lib/firebase.js.map +1 -1
- package/packages/events/package.json +2 -1
- package/packages/events/src/firebase.ts +2 -0
- package/packages/feeds/package.json +1 -1
- package/packages/firebase/lib/helpers/firestore.d.ts +2 -0
- package/packages/firebase/lib/helpers/firestore.js +24 -0
- package/packages/firebase/lib/helpers/firestore.js.map +1 -0
- package/packages/firebase/package.json +2 -1
- package/packages/firebase/src/helpers/firestore.ts +31 -0
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +2 -2
- package/packages/passport/package.json +1 -1
- package/packages/ssr/events.js +1 -0
- package/packages/ssr/lib/firebase.js +1 -1
- package/packages/ssr/lib/firebase.js.map +1 -1
- package/packages/ssr/lib/index.js +1 -1
- package/packages/ssr/lib/index.js.map +1 -1
- package/packages/ssr/lib/lib/analytics/send-to-ga4.js.map +1 -0
- package/packages/ssr/lib/lib/analytics/send-to-meta.js.map +1 -0
- package/packages/ssr/lib/lib/analytics/send-to-tiktok.js.map +1 -0
- package/packages/ssr/lib/{analytics-events.js → lib/analytics-events.js} +4 -3
- package/packages/ssr/lib/lib/analytics-events.js.map +1 -0
- package/packages/ssr/lib/lib/cron-ssr-save-views.js +57 -0
- package/packages/ssr/lib/lib/cron-ssr-save-views.js.map +1 -0
- package/packages/ssr/lib/{firebase → lib}/serve-storefront.js +1 -1
- package/packages/ssr/lib/lib/serve-storefront.js.map +1 -0
- package/packages/ssr/lib/ssr-events.js +18 -0
- package/packages/ssr/lib/ssr-events.js.map +1 -0
- package/packages/ssr/package.json +6 -5
- package/packages/ssr/src/firebase.ts +1 -1
- package/packages/ssr/src/index.ts +1 -1
- package/packages/ssr/src/{analytics-events.ts → lib/analytics-events.ts} +4 -3
- package/packages/ssr/src/lib/cron-ssr-save-views.ts +56 -0
- package/packages/ssr/src/{firebase → lib}/serve-storefront.ts +2 -2
- package/packages/ssr/src/ssr-events.ts +17 -0
- package/packages/storefront/package.json +8 -8
- package/packages/storefront/src/lib/composables/use-product-shelf.ts +3 -1
- package/packages/storefront/src/lib/layouts/use-page-main.ts +14 -4
- package/packages/storefront/src/lib/state/use-analytics.ts +5 -2
- package/packages/test-base/package.json +1 -1
- package/packages/types/package.json +1 -1
- package/packages/ssr/lib/analytics/send-to-ga4.js.map +0 -1
- package/packages/ssr/lib/analytics/send-to-meta.js.map +0 -1
- package/packages/ssr/lib/analytics/send-to-tiktok.js.map +0 -1
- package/packages/ssr/lib/analytics-events.js.map +0 -1
- package/packages/ssr/lib/firebase/serve-storefront.js.map +0 -1
- /package/packages/ssr/lib/{analytics → lib/analytics}/send-to-ga4.js +0 -0
- /package/packages/ssr/lib/{analytics → lib/analytics}/send-to-meta.js +0 -0
- /package/packages/ssr/lib/{analytics → lib/analytics}/send-to-tiktok.js +0 -0
- /package/packages/ssr/src/{analytics → lib/analytics}/send-to-ga4.ts +0 -0
- /package/packages/ssr/src/{analytics → lib/analytics}/send-to-meta.ts +0 -0
- /package/packages/ssr/src/{analytics → lib/analytics}/send-to-tiktok.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
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.40.5](https://github.com/ecomplus/cloud-commerce/compare/v0.40.4...v0.40.5) (2024-01-01)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **firebase:** New pkg export "lib/helpers/firestore" with `deleteQueryBatch` method ([6ae31ba](https://github.com/ecomplus/cloud-commerce/commit/6ae31ba2b3f477db9fc94bb92cfa30890520f860))
|
|
11
|
+
* **ssr:** Counting search term views on Firestore ([f5b9f86](https://github.com/ecomplus/cloud-commerce/commit/f5b9f8607bf42d188881e3f9e425750391c4f671))
|
|
12
|
+
* **ssr:** Setup scheduled function to save product views and delete old (90d) page views ([02f352f](https://github.com/ecomplus/cloud-commerce/commit/02f352f39e2d4c67ec35826d1f20a14a74ad8a0c))
|
|
13
|
+
* **ssr:** Supporting bunny.net with Perma-Cache with on-demand purge ([b232642](https://github.com/ecomplus/cloud-commerce/commit/b2326424ea6ec077a4910f3f4b022e9ce946e898))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **apps:** Syntax fix for many apps cron setup ([d5fd1a3](https://github.com/ecomplus/cloud-commerce/commit/d5fd1a32f392df7e09920e2dc1590557552f0576))
|
|
19
|
+
* **deps:** Update non-major dependencies ([#297](https://github.com/ecomplus/cloud-commerce/issues/297)) ([282d078](https://github.com/ecomplus/cloud-commerce/commit/282d078e19a1e4266531f77e0bcd7525cb81b913))
|
|
20
|
+
* **ssr:** Properly storing product views from analytcis (gtag) events ([cb84f5b](https://github.com/ecomplus/cloud-commerce/commit/cb84f5bc5cf06b5f0fd109e372c505028b0c6ca5))
|
|
21
|
+
* **storefront:** Bump Vue to v3.4.3 ([c4e806d](https://github.com/ecomplus/cloud-commerce/commit/c4e806ddea9764536fec0ee88c91fd1ae6369014))
|
|
22
|
+
* **storefront:** Ensure related products fetch on SSR only ([75e8090](https://github.com/ecomplus/cloud-commerce/commit/75e80900ae7015562ba2d4803dd093642d17fbcf))
|
|
23
|
+
* **storefront:** Properly send analytics `view_search_results` on SSRed search page ([a276136](https://github.com/ecomplus/cloud-commerce/commit/a2761361de6596cb3df3cef1ef33685e951ffd6d))
|
|
24
|
+
|
|
25
|
+
### [0.40.4](https://github.com/ecomplus/cloud-commerce/compare/v0.40.3...v0.40.4) (2023-12-29)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **storefront:** Bump Vue to v3.4.0 and fix Vue/Vite semver to prevent mismtach with Astro ([0b640cb](https://github.com/ecomplus/cloud-commerce/commit/0b640cb5f3432b1a6d60130bd2f019c465b0e21f))
|
|
31
|
+
|
|
5
32
|
### [0.40.3](https://github.com/ecomplus/cloud-commerce/compare/v0.40.2...v0.40.3) (2023-12-29)
|
|
6
33
|
|
|
7
34
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"turbo": "^1.11.2",
|
|
28
28
|
"typescript": "~5.2.2",
|
|
29
29
|
"uglify-js": "^3.17.4",
|
|
30
|
-
"vite": "5.0.10",
|
|
31
|
-
"vitest": "^1.1.
|
|
30
|
+
"vite": "^5.0.10",
|
|
31
|
+
"vitest": "^1.1.1",
|
|
32
32
|
"zx": "^7.2.3",
|
|
33
|
-
"@cloudcommerce/eslint": "0.40.
|
|
33
|
+
"@cloudcommerce/eslint": "0.40.5"
|
|
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/app-correios",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.40.
|
|
4
|
+
"version": "0.40.5",
|
|
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.
|
|
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-datafrete",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.40.
|
|
4
|
+
"version": "0.40.5",
|
|
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.
|
|
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-fb-conversions",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.40.
|
|
4
|
+
"version": "0.40.5",
|
|
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": "^
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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;
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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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CAAC;WACzC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EACzD;QACA,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC;QAC5C,OAAO,IAAI,CAAC;KACb;IACD,MAAM,CAAC,IAAI,CAAC,aAAa,UAAU,KAAK,MAAM,GAAG,CAAC,CAAC;IAEnD,OAAO,wBAAwB,CAAC,MAAgB,EAAE,YAAY,CAAC,CAAC;AAClE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,YAAY,EAAE,uBAAuB,CACnC,eAAe,EACf,cAAc,CACf;IAED,aAAa,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM;SAC3C,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,gCAAgC,IAAI,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-mandae",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.40.
|
|
4
|
+
"version": "0.40.5",
|
|
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.
|
|
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,iDAAiD;AACjD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,MAAM,MAAM,oCAAoC,CAAC;AACxD,OAAO,EACL,uBAAuB,GAExB,MAAM,4CAA4C,CAAC;AACpD,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,mBAAmB,MAAM,gCAAgC,CAAC;AAEjE,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,iBAAiB,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,MAAM;SACjF,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,IAAI,YAAY,CAAC;SACxE,KAAK,CAAC,GAAG,EAAE;QACV,OAAO,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"melhor-envio-events.js","sourceRoot":"","sources":["../src/melhor-envio-events.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,MAAM,MAAM,oCAAoC,CAAC;AACxD,OAAO,EACL,uBAAuB,GAExB,MAAM,4CAA4C,CAAC;AACpD,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,mBAAmB,MAAM,gCAAgC,CAAC;AAEjE,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,iBAAiB,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,MAAM;SACjF,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,IAAI,YAAY,CAAC;SACxE,KAAK,CAAC,GAAG,EAAE;QACV,OAAO,mBAAmB,EAAE,CAAC;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
|
+
"version": "0.40.5",
|
|
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.
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
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/emails",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.40.
|
|
4
|
+
"version": "0.40.5",
|
|
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.
|
|
26
|
+
"axios": "^1.6.3",
|
|
27
27
|
"ejs": "^3.1.9",
|
|
28
|
-
"nodemailer": "^6.9.
|
|
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
|
+
"version": "0.40.5",
|
|
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.
|
|
27
|
+
"eslint-plugin-tailwindcss": "3.13.1",
|
|
28
28
|
"eslint-plugin-vue": "^9.19.2"
|
|
29
29
|
}
|
|
30
30
|
}
|