@fy-stack/app-construct 0.0.140 → 0.0.141

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.
@@ -9,7 +9,7 @@ function lambdaApi(func, path) {
9
9
  authType: lambda.FunctionUrlAuthType.NONE,
10
10
  });
11
11
  func.addEnvironment('BASE_PATH', path);
12
- const integration = new aws_apigatewayv2_integrations_1.HttpUrlIntegration('AppIntegration', apiUrl.url);
12
+ const integration = new aws_apigatewayv2_integrations_1.HttpUrlIntegration('AppIntegration', apiUrl.url + '{proxy}');
13
13
  return {
14
14
  [path]: integration,
15
15
  [`${path}/{proxy+}`]: integration,
@@ -6,7 +6,7 @@ function lambdaAttach(func, attachable) {
6
6
  Object.assign(params, ...Object.entries(attachable)
7
7
  .map(([key, val]) => {
8
8
  return Object.fromEntries(Object.entries(val?.attachable() ?? {})
9
- .map(([subKey, subVal]) => [`${key}_${subKey}`, subVal]));
9
+ .map(([subKey, subVal]) => [`${key}_${subKey}`.toUpperCase(), subVal]));
10
10
  }));
11
11
  for (const i in params) {
12
12
  func.addEnvironment(i, params[i]);
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@fy-stack/app-construct",
3
- "version": "0.0.140",
3
+ "version": "0.0.141",
4
4
  "repository": "https://github.com/festusyuma/fy-stack",
5
5
  "dependencies": {
6
- "@fy-stack/types": "0.0.140",
6
+ "@fy-stack/types": "0.0.141",
7
7
  "tslib": "^2.3.0",
8
8
  "zod": "^3.24.1"
9
9
  },