wirejs-deploy-amplify-basic 0.0.42 → 0.0.44
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/README.md
ADDED
|
@@ -20,6 +20,15 @@ const backend = defineBackend({
|
|
|
20
20
|
/**
|
|
21
21
|
* Amplify resource augmentations
|
|
22
22
|
*/
|
|
23
|
+
backend.auth.resources.cfnResources.cfnUserPool.policies = {
|
|
24
|
+
passwordPolicy: {
|
|
25
|
+
minimumLength: 8,
|
|
26
|
+
requireLowercase: false,
|
|
27
|
+
requireNumbers: false,
|
|
28
|
+
requireSymbols: false,
|
|
29
|
+
requireUppercase: false,
|
|
30
|
+
}
|
|
31
|
+
}
|
|
23
32
|
const userPoolClient = backend.auth.resources.cfnResources.cfnUserPoolClient;
|
|
24
33
|
userPoolClient.explicitAuthFlows = userPoolClient.explicitAuthFlows || [];
|
|
25
34
|
userPoolClient.explicitAuthFlows.push(
|
|
@@ -461,7 +461,7 @@ export class AuthenticationService extends AuthenticationServiceBase {
|
|
|
461
461
|
user: undefined,
|
|
462
462
|
});
|
|
463
463
|
return {
|
|
464
|
-
...this.getMachineState(cookies),
|
|
464
|
+
...await this.getMachineState(cookies),
|
|
465
465
|
message: `Password set. Please try signing in with your new password.`
|
|
466
466
|
};
|
|
467
467
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wirejs-deploy-amplify-basic",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.44",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"recursive-copy": "^2.0.14",
|
|
31
31
|
"rimraf": "^6.0.1",
|
|
32
32
|
"wirejs-dom": "^1.0.38",
|
|
33
|
-
"wirejs-resources": "^0.1.
|
|
33
|
+
"wirejs-resources": "^0.1.12"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@aws-amplify/backend": "^1.14.0",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"amplify-hosting-assets/*",
|
|
45
45
|
"dist/*",
|
|
46
46
|
"build.js",
|
|
47
|
-
"package.json"
|
|
47
|
+
"package.json",
|
|
48
|
+
"README.md"
|
|
48
49
|
]
|
|
49
|
-
}
|
|
50
|
+
}
|