@xcelsior/support-api 1.0.1 → 1.0.3
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/package.json +3 -3
- package/stacks/SupportStack.ts +7 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xcelsior/support-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"packages/**",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"typescript": "^5.3.3",
|
|
30
30
|
"@tsconfig/node18": "^18.2.2",
|
|
31
31
|
"@types/node": "^20.11.16",
|
|
32
|
-
"@xcelsior/aws": "1.0.
|
|
32
|
+
"@xcelsior/aws": "1.0.6",
|
|
33
33
|
"@xcelsior/lambda-http": "1.0.5",
|
|
34
34
|
"@xcelsior/monitoring": "1.0.4",
|
|
35
|
-
"@xcelsior/email": "1.0.
|
|
35
|
+
"@xcelsior/email": "1.0.3",
|
|
36
36
|
"@xcelsior/support-client": "1.0.7"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
package/stacks/SupportStack.ts
CHANGED
|
@@ -38,10 +38,9 @@ export function SupportStack({ stack }: StackContext) {
|
|
|
38
38
|
: {};
|
|
39
39
|
|
|
40
40
|
const domainName = process.env.API_DOMAIN_NAME! || 'xcelsior.co';
|
|
41
|
-
const apiSubdomain =
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
: `${stack.stage}-support.api.${domainName}`;
|
|
41
|
+
const apiSubdomain = ['production', 'prod'].includes(stack.stage)
|
|
42
|
+
? `support.api.${domainName}`
|
|
43
|
+
: `${stack.stage}-support.api.${domainName}`;
|
|
45
44
|
|
|
46
45
|
const ticketSearchIndexName =
|
|
47
46
|
process.env.TICKETS_SEARCH_INDEX ?? `${stack.stage}-support-tickets`;
|
|
@@ -191,7 +190,7 @@ export function SupportStack({ stack }: StackContext) {
|
|
|
191
190
|
nodejs: {
|
|
192
191
|
esbuild: { minify: true },
|
|
193
192
|
},
|
|
194
|
-
runtime: '
|
|
193
|
+
runtime: 'nodejs22.x',
|
|
195
194
|
tracing: 'active',
|
|
196
195
|
...vpcConfig,
|
|
197
196
|
});
|
|
@@ -219,7 +218,7 @@ export function SupportStack({ stack }: StackContext) {
|
|
|
219
218
|
nodejs: {
|
|
220
219
|
esbuild: { minify: true },
|
|
221
220
|
},
|
|
222
|
-
runtime: '
|
|
221
|
+
runtime: 'nodejs22.x',
|
|
223
222
|
tracing: 'active',
|
|
224
223
|
...vpcConfig,
|
|
225
224
|
},
|
|
@@ -236,7 +235,7 @@ export function SupportStack({ stack }: StackContext) {
|
|
|
236
235
|
nodejs: {
|
|
237
236
|
esbuild: { minify: true },
|
|
238
237
|
},
|
|
239
|
-
runtime: '
|
|
238
|
+
runtime: 'nodejs22.x',
|
|
240
239
|
tracing: 'active',
|
|
241
240
|
...vpcConfig,
|
|
242
241
|
},
|
|
@@ -257,7 +256,7 @@ export function SupportStack({ stack }: StackContext) {
|
|
|
257
256
|
nodejs: {
|
|
258
257
|
esbuild: { minify: true },
|
|
259
258
|
},
|
|
260
|
-
runtime: '
|
|
259
|
+
runtime: 'nodejs22.x',
|
|
261
260
|
tracing: 'active',
|
|
262
261
|
...vpcConfig,
|
|
263
262
|
},
|