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
@@ -0,0 +1,3 @@
1
+ Experimental.
2
+
3
+ If this package interests you, contact the author.
@@ -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(
@@ -1,3 +1,3 @@
1
1
  {
2
- "type": "module"
2
+ "type": "module"
3
3
  }
@@ -3,6 +3,6 @@
3
3
  "dependencies": {
4
4
  "jsdom": "^25.0.1",
5
5
  "wirejs-dom": "^1.0.38",
6
- "wirejs-resources": "^0.1.11"
6
+ "wirejs-resources": "^0.1.12"
7
7
  }
8
8
  }
@@ -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.42",
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.11"
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
+ }