@xube/kit-aws-auth-infrastructure 0.0.64 → 0.0.65
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 +1 -1
- package/dist/api/signup.js +1 -1
- package/dist/auth-management.js +1 -1
- package/package.json +8 -8
- package/src/api/login.ts +1 -1
- package/src/api/signup.ts +1 -1
- package/src/auth-management.ts +1 -1
- package/src/functions/login.ts +0 -1
package/dist/api/login.js
CHANGED
|
@@ -11,7 +11,7 @@ class LoginAPI extends constructs_1.Construct {
|
|
|
11
11
|
constructor(scope, id, props) {
|
|
12
12
|
super(scope, id);
|
|
13
13
|
this.loginFunction = new aws_lambda_nodejs_1.NodejsFunction(scope, id + "-login", {
|
|
14
|
-
entry: (0, path_1.join)(__dirname, "../functions/login.
|
|
14
|
+
entry: (0, path_1.join)(__dirname, "../functions/login.js"),
|
|
15
15
|
runtime: aws_lambda_1.Runtime.NODEJS_18_X,
|
|
16
16
|
functionName: props.name,
|
|
17
17
|
});
|
package/dist/api/signup.js
CHANGED
|
@@ -11,7 +11,7 @@ class SignUpAPI extends constructs_1.Construct {
|
|
|
11
11
|
constructor(scope, id, props) {
|
|
12
12
|
super(scope, id);
|
|
13
13
|
this.signupFunction = new aws_lambda_nodejs_1.NodejsFunction(scope, id + "-signup", {
|
|
14
|
-
entry: (0, path_1.join)(__dirname, "../functions/signup.
|
|
14
|
+
entry: (0, path_1.join)(__dirname, "../functions/signup.js"),
|
|
15
15
|
runtime: aws_lambda_1.Runtime.NODEJS_18_X,
|
|
16
16
|
functionName: props.name,
|
|
17
17
|
});
|
package/dist/auth-management.js
CHANGED
|
@@ -17,7 +17,7 @@ class AuthManagement extends constructs_1.Construct {
|
|
|
17
17
|
constructor(scope, id, props) {
|
|
18
18
|
super(scope, id);
|
|
19
19
|
const presignup = new aws_lambda_nodejs_1.NodejsFunction(scope, id + "-pre-signup", {
|
|
20
|
-
entry: (0, path_1.join)(__dirname, "functions/pre-signup.
|
|
20
|
+
entry: (0, path_1.join)(__dirname, "functions/pre-signup.js"),
|
|
21
21
|
runtime: aws_lambda_1.Runtime.NODEJS_18_X,
|
|
22
22
|
functionName: props.name + "-pre-signup",
|
|
23
23
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xube/kit-aws-auth-infrastructure",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.65",
|
|
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.
|
|
20
|
+
"@xube/kit-build": "^0.0.65"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@xube/kit-aws": "^0.0.
|
|
24
|
-
"@xube/kit-aws-auth": "^0.0.
|
|
25
|
-
"@xube/kit-aws-hooks": "^0.0.
|
|
26
|
-
"@xube/kit-aws-infrastructure": "^0.0.
|
|
27
|
-
"@xube/kit-constants": "^0.0.
|
|
28
|
-
"@xube/kit-log": "^0.0.
|
|
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",
|
|
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
|
@@ -23,7 +23,7 @@ export class LoginAPI extends Construct {
|
|
|
23
23
|
super(scope, id);
|
|
24
24
|
|
|
25
25
|
this.loginFunction = new NodejsFunction(scope, id + "-login", {
|
|
26
|
-
entry: join(__dirname, "../functions/login.
|
|
26
|
+
entry: join(__dirname, "../functions/login.js"),
|
|
27
27
|
runtime: Runtime.NODEJS_18_X,
|
|
28
28
|
functionName: props.name,
|
|
29
29
|
});
|
package/src/api/signup.ts
CHANGED
|
@@ -23,7 +23,7 @@ export class SignUpAPI extends Construct {
|
|
|
23
23
|
super(scope, id);
|
|
24
24
|
|
|
25
25
|
this.signupFunction = new NodejsFunction(scope, id + "-signup", {
|
|
26
|
-
entry: join(__dirname, "../functions/signup.
|
|
26
|
+
entry: join(__dirname, "../functions/signup.js"),
|
|
27
27
|
runtime: Runtime.NODEJS_18_X,
|
|
28
28
|
functionName: props.name,
|
|
29
29
|
});
|
package/src/auth-management.ts
CHANGED
|
@@ -34,7 +34,7 @@ export class AuthManagement extends Construct {
|
|
|
34
34
|
scope,
|
|
35
35
|
id + "-pre-signup",
|
|
36
36
|
{
|
|
37
|
-
entry: join(__dirname, "functions/pre-signup.
|
|
37
|
+
entry: join(__dirname, "functions/pre-signup.js"),
|
|
38
38
|
runtime: Runtime.NODEJS_18_X,
|
|
39
39
|
functionName: props.name + "-pre-signup",
|
|
40
40
|
}
|