@cloudcommerce/cli 2.5.0 → 2.6.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.
@@ -1,5 +1,5 @@
1
1
 
2
2
 
3
- > @cloudcommerce/cli@2.4.3 build /home/leo/code/ecomplus/cloud-commerce/packages/cli
3
+ > @cloudcommerce/cli@2.5.1 build /home/leo/code/ecomplus/cloud-commerce/packages/cli
4
4
  > bash ../../scripts/build-lib.sh
5
5
 
@@ -115,10 +115,10 @@ ab_testing_data="
115
115
  \"Enabled\": true
116
116
  }"
117
117
 
118
- ab_testing_bypass_data="
118
+ ab_testing_ttl_data="
119
119
  {
120
120
  \"ActionType\": 3,
121
- \"ActionParameter1\": \"0\",
121
+ \"ActionParameter1\": \"120\",
122
122
  \"ActionParameter2\": \"\",
123
123
  \"Triggers\": [
124
124
  {
@@ -131,7 +131,7 @@ ab_testing_bypass_data="
131
131
  }
132
132
  ],
133
133
  \"TriggerMatchingType\": 1,
134
- \"Description\": \"A/B CDN cache bypass [$GIT_BRANCH]\",
134
+ \"Description\": \"A/B CDN short cache [$GIT_BRANCH]\",
135
135
  \"Enabled\": true
136
136
  }"
137
137
 
@@ -156,7 +156,7 @@ ab_testing_perma_bypass_data="
156
156
  }"
157
157
 
158
158
  configure_edge_rule "A/B testing [$GIT_BRANCH]" "$ab_testing_data"
159
- configure_edge_rule "A/B CDN cache bypass [$GIT_BRANCH]" "$ab_testing_bypass_data"
159
+ configure_edge_rule "A/B CDN short cache [$GIT_BRANCH]" "$ab_testing_ttl_data"
160
160
  configure_edge_rule "A/B perma-cache bypass [$GIT_BRANCH]" "$ab_testing_perma_bypass_data"
161
161
 
162
162
  curl --silent --request POST \
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "2.5.0",
4
+ "version": "2.6.0",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -29,7 +29,7 @@
29
29
  "md5": "^2.3.0",
30
30
  "typescript": "~5.2.2",
31
31
  "zx": "^7.2.3",
32
- "@cloudcommerce/api": "2.5.0"
32
+ "@cloudcommerce/api": "2.6.0"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "bash ../../scripts/build-lib.sh"