@digitraffic/common 2025.1.16-2 → 2025.1.20-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.
@@ -40,8 +40,6 @@ export class DbStack extends Stack {
40
40
  this.clusterIdentifier = cluster.clusterIdentifier;
41
41
  }
42
42
  if (configuration.clusterImport) {
43
- createParameter(this, "cluster.reader", configuration.clusterImport.clusterReadEndpoint);
44
- createParameter(this, "cluster.writer", configuration.clusterImport.clusterWriteEndpoint);
45
43
  // If clusterIdentifier is provided we use it and otherwise we try to parse it from
46
44
  // from clusterWriteEndpoint name that is normally formed stackenv-stackenvxxx-xxx.cluster-xxx.region.rds.amazonaws.com
47
45
  // and part before .cluster is clusterIdentifier.
@@ -60,6 +58,9 @@ export class DbStack extends Stack {
60
58
  " Either 'configuration.clusterImport.clusterReadEndpoint' didn't contain '.cluster' or " +
61
59
  "configuration.clusterImport.clusterIdentifier was not defined to override default value.");
62
60
  }
61
+ createParameter(this, "cluster.reader", configuration.clusterImport.clusterReadEndpoint);
62
+ createParameter(this, "cluster.writer", configuration.clusterImport.clusterWriteEndpoint);
63
+ createParameter(this, "cluster.identifier", this.clusterIdentifier);
63
64
  }
64
65
  }
65
66
  createParameterGroups(customVersions, workmem) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitraffic/common",
3
- "version": "2025.1.16-2",
3
+ "version": "2025.1.20-1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "repository": {
@@ -132,7 +132,7 @@
132
132
  "@aws-sdk/client-sns": "^3.721.0",
133
133
  "@aws-sdk/lib-storage": "^3.721.0",
134
134
  "@date-fns/tz": "1.2.0",
135
- "@digitraffic/eslint-config": "^3.0.1",
135
+ "@digitraffic/eslint-config": "^3.1.1",
136
136
  "@jest/globals": "^29.7.0",
137
137
  "@rushstack/eslint-config": "^3.7.1",
138
138
  "@rushstack/heft": "^0.68.11",
@@ -174,7 +174,7 @@
174
174
  "prettier": "^3.4.2",
175
175
  "rimraf": "^6.0.1",
176
176
  "ts-jest": "^29.2.5",
177
- "typescript": "~5.5.4",
177
+ "typescript": "~5.6.3",
178
178
  "velocityjs": "^2.0.6",
179
179
  "zod": "~3.24.1"
180
180
  },