@adobe/spacecat-shared-tokowaka-client 1.15.0 → 1.16.1

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
@@ -1,3 +1,19 @@
1
+ ## [@adobe/spacecat-shared-tokowaka-client-v1.16.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-tokowaka-client-v1.16.0...@adobe/spacecat-shared-tokowaka-client-v1.16.1) (2026-05-06)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **tokowaka-client:** do not set edgeDeployed on domain-wide covered suggestions ([#1584](https://github.com/adobe/spacecat-shared/issues/1584)) ([51df852](https://github.com/adobe/spacecat-shared/commit/51df85231c74e8013e9ef7659f67584cbf239645))
6
+
7
+ ### Reverts
8
+
9
+ * "feat: CM git clone also clones submodules ([#1583](https://github.com/adobe/spacecat-shared/issues/1583))" ([#1587](https://github.com/adobe/spacecat-shared/issues/1587)) ([2d9e34e](https://github.com/adobe/spacecat-shared/commit/2d9e34e68a0af6612891c61ec37e4304b7e9d912))
10
+
11
+ ## [@adobe/spacecat-shared-tokowaka-client-v1.16.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-tokowaka-client-v1.15.0...@adobe/spacecat-shared-tokowaka-client-v1.16.0) (2026-05-05)
12
+
13
+ ### Features
14
+
15
+ * CM git clone also clones submodules ([#1583](https://github.com/adobe/spacecat-shared/issues/1583)) ([a1e67c3](https://github.com/adobe/spacecat-shared/commit/a1e67c36f9fb01dd65b501a2a1791f18a7432465))
16
+
1
17
  ## [@adobe/spacecat-shared-tokowaka-client-v1.15.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-tokowaka-client-v1.14.0...@adobe/spacecat-shared-tokowaka-client-v1.15.0) (2026-05-04)
2
18
 
3
19
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-tokowaka-client",
3
- "version": "1.15.0",
3
+ "version": "1.16.1",
4
4
  "description": "Tokowaka Client for SpaceCat - Edge optimization config management",
5
5
  "type": "module",
6
6
  "engines": {
package/src/index.js CHANGED
@@ -1417,6 +1417,9 @@ class TokowakaClient {
1417
1417
  if (s.getData()?.isDomainWide === true) {
1418
1418
  return false;
1419
1419
  }
1420
+ if (s.getData()?.edgeDeployed) {
1421
+ return false;
1422
+ }
1420
1423
  const url = s.getData()?.url;
1421
1424
  return url && regexPatterns.some((r) => r.test(url));
1422
1425
  });
@@ -1427,7 +1430,6 @@ class TokowakaClient {
1427
1430
  await Promise.all(covered.map(async (cs) => {
1428
1431
  cs.setData({
1429
1432
  ...cs.getData(),
1430
- edgeDeployed: deploymentTimestamp,
1431
1433
  coveredByDomainWide: suggestion.getId(),
1432
1434
  });
1433
1435
  cs.setUpdatedBy(updatedBy);
@@ -1450,11 +1452,9 @@ class TokowakaClient {
1450
1452
  // Mark same-batch skipped suggestions individually so a single save failure
1451
1453
  // surfaces as a per-item failure rather than swallowing the whole batch.
1452
1454
  if (skippedInBatch.length > 0) {
1453
- const deploymentTimestamp = Date.now();
1454
1455
  const results = await Promise.allSettled(skippedInBatch.map(async (s) => {
1455
1456
  s.setData({
1456
1457
  ...s.getData(),
1457
- edgeDeployed: deploymentTimestamp,
1458
1458
  coveredByDomainWide: 'same-batch-deployment',
1459
1459
  skippedInDeployment: true,
1460
1460
  });