cloudcommerce 2.29.8 → 2.29.10

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 CHANGED
@@ -2,6 +2,34 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [2.29.10](https://github.com/ecomplus/cloud-commerce/compare/v2.29.9...v2.29.10) (2024-11-12)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **discounts:** Updating with latest discounts v2 from https://github.com/ecomplus/discounts-v2 ([9c02c48](https://github.com/ecomplus/cloud-commerce/commit/9c02c483ffbf75df1f52e18f0c100254eb0d379f))
11
+ * **storefront:** Prevent errors with undefined `globalThis.astroAsset` ([ffe452f](https://github.com/ecomplus/cloud-commerce/commit/ffe452f25cded2fa0c474022f3b6f1eb78466269))
12
+
13
+ ## [2.29.9](https://github.com/ecomplus/cloud-commerce/compare/v2.29.8...v2.29.9) (2024-11-12)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **braspag:** Always using Braspag API on webhooks (webhook are from Braspag only) ([acaefc7](https://github.com/ecomplus/cloud-commerce/commit/acaefc7c9dd9c6b3cde9e37a85cafa9f99ebe21a))
19
+ * **deps:** Fix imports to `firebase-functions/v1` ([bdde25d](https://github.com/ecomplus/cloud-commerce/commit/bdde25de512f515e037d544098fb2368bbaab116))
20
+ * **deps:** Update firebase-functions to v6 ([#463](https://github.com/ecomplus/cloud-commerce/issues/463)) ([0d89b7a](https://github.com/ecomplus/cloud-commerce/commit/0d89b7ac3341939636ff533293656c1a53f0f93a))
21
+ * **deps:** Update non-major dependencies ([#482](https://github.com/ecomplus/cloud-commerce/issues/482)) ([caf74d5](https://github.com/ecomplus/cloud-commerce/commit/caf74d5a4f3926b427fce2f8fcde4986307a0a3a))
22
+ * **deps:** Update non-major dependencies ([#485](https://github.com/ecomplus/cloud-commerce/issues/485)) ([5678593](https://github.com/ecomplus/cloud-commerce/commit/567859370f350bd1448eb9d8792998befd5c9678))
23
+ * **firebase:** Update config `modulesFunctionOptions` to 120s (2 min) default timeout ([83760d6](https://github.com/ecomplus/cloud-commerce/commit/83760d6747b0eac7c0e6e6b2da86ec43ab14808d))
24
+ * **modules:** Timeout on all module executions ([9169f7d](https://github.com/ecomplus/cloud-commerce/commit/9169f7db2407a3f084842287b55591a6b294fe5c))
25
+ * **pagaleve:** Properly awaiting create transaction request to Pagaleve API ([5c1ecca](https://github.com/ecomplus/cloud-commerce/commit/5c1eccad29634db6f9c5ab3469461d7773fd4080))
26
+ * **ssr:** Fix SWR working returned cache-control with CDN TTL set ([246d43a](https://github.com/ecomplus/cloud-commerce/commit/246d43a224e729a032369727034c114b291d0701))
27
+ * **ssr:** Reducing SSR Cloud Function max concurrency to 60 executions ([2e44107](https://github.com/ecomplus/cloud-commerce/commit/2e441071d9836bdd90b3e27c22057d19afa3e67e))
28
+ * **ssr:** Update SWR worker to ensure no soft stale on Cloudflare CDN cache ([b993b78](https://github.com/ecomplus/cloud-commerce/commit/b993b78009e15d8abfe77cb9974b0bd1b4acbbfb))
29
+ * **storefront:** Bump Astro to latest v4.16.10 ([4e24c67](https://github.com/ecomplus/cloud-commerce/commit/4e24c670cc216b28951ae222a08f3d0c0f12df51))
30
+ * **storefront:** Reseting global `astroAsset.staticImages` to ensure final paths from public dir ([aa94d4e](https://github.com/ecomplus/cloud-commerce/commit/aa94d4ec533083adabb36103181b0e226461ce0d))
31
+ * **tiny-erp:** Removing special chars from order notes on export ([794ba72](https://github.com/ecomplus/cloud-commerce/commit/794ba724b633a9182fe77232e9078d5e07af559d))
32
+
5
33
  ## [2.29.8](https://github.com/ecomplus/cloud-commerce/compare/v2.29.7...v2.29.8) (2024-11-01)
6
34
 
7
35
 
package/action.yml CHANGED
@@ -100,8 +100,8 @@ inputs:
100
100
  description: 'App: Tiktok pixel ID'
101
101
  tiktok-access-token:
102
102
  description: 'App: Tiktok access token'
103
- public-dotenv:
104
- description: 'Raw `public.env` file content to set additional public env vars'
103
+ custom-dotenv:
104
+ description: 'Raw `.env` file content to set additional env vars'
105
105
 
106
106
  outputs: {}
107
107
 
@@ -142,11 +142,11 @@ runs:
142
142
  ${{ steps.npm-paths.outputs.LIB_PATH }}
143
143
  ${{ steps.npm-paths.outputs.BIN_PATH }}
144
144
  ~/.npm-global/bin
145
- key: ${{ runner.os }}-npm-g-firebase-tools-13.22.0
145
+ key: ${{ runner.os }}-npm-g-firebase-tools-13.24.1
146
146
 
147
147
  - if: github.event_name == 'push' && steps.npm-g-cache.outputs.cache-hit != 'true'
148
148
  shell: bash
149
- run: npm i --location=global firebase-tools@13.22.0
149
+ run: npm i --location=global firebase-tools@13.24.1
150
150
 
151
151
  - if: github.event_name == 'push'
152
152
  uses: dorny/paths-filter@v3.0.2
@@ -297,7 +297,7 @@ runs:
297
297
  PAGARMEV5_PUBLIC_KEY: ${{ inputs.pagarmev5-public-key }}
298
298
  TIKTOK_ACCESS_TOKEN: ${{ inputs.tiktok-access-token }}
299
299
  TIKTOK_PIXEL_ID: ${{ inputs.tiktok-pixel-id }}
300
- PUBLIC_DOTENV: ${{ inputs.public-dotenv }}
300
+ CUSTOM_DOTENV: ${{ inputs.custom-dotenv }}
301
301
  run: |
302
302
  export GAC_FILENAME=".gac-$RANDOM.json"
303
303
  echo $FIREBASE_SERVICE_ACCOUNT > $GAC_FILENAME
@@ -347,8 +347,8 @@ runs:
347
347
  TIKTOK_ACCESS_TOKEN=$TIKTOK_ACCESS_TOKEN
348
348
  TIKTOK_PIXEL_ID=$TIKTOK_PIXEL_ID
349
349
  " > functions/.env
350
- if [[ -n "$PUBLIC_DOTENV" ]]; then
351
- echo "$PUBLIC_DOTENV" >> functions/.env
350
+ if [[ -n "$CUSTOM_DOTENV" ]]; then
351
+ echo "$CUSTOM_DOTENV" >> functions/.env
352
352
  fi
353
353
  if [ -z "$DEPLOY_CODEBASE" ]; then
354
354
  BUNNYNET_API_KEY=$BUNNYNET_API_KEY \
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "2.29.8",
4
+ "version": "2.29.10",
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>",
@@ -28,7 +28,7 @@
28
28
  "@commitlint/cli": "^19.5.0",
29
29
  "@commitlint/config-conventional": "^19.5.0",
30
30
  "@commitlint/rules": "^19.5.0",
31
- "@types/node": "^18.19.59",
31
+ "@types/node": "^18.19.64",
32
32
  "commit-and-tag-version": "^12.5.0",
33
33
  "dotenv": "^16.4.5",
34
34
  "eslint": "^8.57.1",
@@ -39,10 +39,10 @@
39
39
  "turbo": "^2.2.3",
40
40
  "typescript": "~5.6.3",
41
41
  "uglify-js": "^3.19.3",
42
- "vite": "^5.4.10",
43
- "vitest": "^2.1.3",
44
- "zx": "^8.1.9",
45
- "@cloudcommerce/eslint": "2.29.8"
42
+ "vite": "^5.4.11",
43
+ "vitest": "^2.1.4",
44
+ "zx": "^8.2.1",
45
+ "@cloudcommerce/eslint": "2.29.10"
46
46
  },
47
47
  "packageManager": "pnpm@8.15.7",
48
48
  "scripts": {