@awsless/awsless 0.0.162 → 0.0.163
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/bin.js +2 -0
- package/dist/features/cognito-client-secret/bundle.zip +0 -0
- package/dist/features/delete-bucket/bundle.zip +0 -0
- package/dist/features/delete-hosted-zone/bundle.zip +0 -0
- package/dist/features/global-exports/bundle.zip +0 -0
- package/dist/features/invalidate-cache/bundle.zip +0 -0
- package/dist/features/upload-bucket-asset/bundle.zip +0 -0
- package/package.json +3 -3
package/dist/bin.js
CHANGED
|
@@ -1640,6 +1640,7 @@ var UserPool = class extends Resource {
|
|
|
1640
1640
|
properties() {
|
|
1641
1641
|
return {
|
|
1642
1642
|
UserPoolName: this.name,
|
|
1643
|
+
DeletionProtection: this.props.deletionProtection ? "ACTIVE" : "INACTIVE",
|
|
1643
1644
|
// UserPoolTags: [],
|
|
1644
1645
|
...this.props.username?.emailAlias ? {
|
|
1645
1646
|
AliasAttributes: ["email"],
|
|
@@ -1847,6 +1848,7 @@ var authPlugin = definePlugin({
|
|
|
1847
1848
|
}
|
|
1848
1849
|
const userPool = new UserPool(id, {
|
|
1849
1850
|
name: `${config2.app.name}-${id}`,
|
|
1851
|
+
deletionProtection: true,
|
|
1850
1852
|
allowUserRegistration: props.allowUserRegistration,
|
|
1851
1853
|
username: props.username,
|
|
1852
1854
|
password: props.password,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/awsless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.163",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@awsless/lambda": "^0.0.18",
|
|
32
|
-
"@awsless/redis": "^0.0.
|
|
32
|
+
"@awsless/redis": "^0.0.11",
|
|
33
33
|
"@awsless/s3": "^0.0.10",
|
|
34
34
|
"@awsless/sns": "^0.0.7",
|
|
35
35
|
"@awsless/sqs": "^0.0.7",
|
|
36
|
-
"@awsless/validate": "^0.0.13",
|
|
37
36
|
"@awsless/ssm": "^0.0.7",
|
|
37
|
+
"@awsless/validate": "^0.0.13",
|
|
38
38
|
"@awsless/weak-cache": "^0.0.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|