@xube/kit-aws-auth-infrastructure 0.0.65 → 0.0.66

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/dist/api/login.js CHANGED
@@ -16,7 +16,7 @@ class LoginAPI extends constructs_1.Construct {
16
16
  functionName: props.name,
17
17
  });
18
18
  props.authAPI.restAPI.root
19
- .addResource("/login")
19
+ .addResource("login")
20
20
  .addMethod(aws_lambda_1.HttpMethod.POST, new aws_apigateway_1.LambdaIntegration(this.loginFunction));
21
21
  }
22
22
  }
@@ -16,7 +16,7 @@ class SignUpAPI extends constructs_1.Construct {
16
16
  functionName: props.name,
17
17
  });
18
18
  props.authAPI.restAPI.root
19
- .addResource("/signup")
19
+ .addResource("signup")
20
20
  .addMethod(aws_lambda_1.HttpMethod.POST, new aws_apigateway_1.LambdaIntegration(this.signupFunction));
21
21
  }
22
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xube/kit-aws-auth-infrastructure",
3
- "version": "0.0.65",
3
+ "version": "0.0.66",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -17,15 +17,15 @@
17
17
  },
18
18
  "homepage": "https://github.com/XubeLtd/dev-kit#readme",
19
19
  "devDependencies": {
20
- "@xube/kit-build": "^0.0.65"
20
+ "@xube/kit-build": "^0.0.66"
21
21
  },
22
22
  "dependencies": {
23
- "@xube/kit-aws": "^0.0.65",
24
- "@xube/kit-aws-auth": "^0.0.65",
25
- "@xube/kit-aws-hooks": "^0.0.65",
26
- "@xube/kit-aws-infrastructure": "^0.0.65",
27
- "@xube/kit-constants": "^0.0.65",
28
- "@xube/kit-log": "^0.0.65",
23
+ "@xube/kit-aws": "^0.0.66",
24
+ "@xube/kit-aws-auth": "^0.0.66",
25
+ "@xube/kit-aws-hooks": "^0.0.66",
26
+ "@xube/kit-aws-infrastructure": "^0.0.66",
27
+ "@xube/kit-constants": "^0.0.66",
28
+ "@xube/kit-log": "^0.0.66",
29
29
  "aws-cdk-lib": "^2.100.0",
30
30
  "aws-lambda": "^1.0.7",
31
31
  "constructs": "^10.3.0"
package/src/api/login.ts CHANGED
@@ -29,7 +29,7 @@ export class LoginAPI extends Construct {
29
29
  });
30
30
 
31
31
  props.authAPI.restAPI.root
32
- .addResource("/login")
32
+ .addResource("login")
33
33
  .addMethod(HttpMethod.POST, new LambdaIntegration(this.loginFunction));
34
34
  }
35
35
  }
package/src/api/signup.ts CHANGED
@@ -29,7 +29,7 @@ export class SignUpAPI extends Construct {
29
29
  });
30
30
 
31
31
  props.authAPI.restAPI.root
32
- .addResource("/signup")
32
+ .addResource("signup")
33
33
  .addMethod(HttpMethod.POST, new LambdaIntegration(this.signupFunction));
34
34
  }
35
35
  }