@ttoss/cloud-auth 0.12.12 → 0.12.14
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/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ declare const PASSWORD_MINIMUM_LENGTH = 8;
|
|
|
4
4
|
|
|
5
5
|
declare const createAuthTemplate: {
|
|
6
6
|
({ autoVerifiedAttributes, identityPool, schema, usernameAttributes, }?: {
|
|
7
|
-
autoVerifiedAttributes?: Array<
|
|
7
|
+
autoVerifiedAttributes?: Array<"email" | "phone_number"> | null | false;
|
|
8
8
|
identityPool?: {
|
|
9
9
|
enabled?: boolean;
|
|
10
10
|
name?: string;
|
|
@@ -19,7 +19,7 @@ declare const createAuthTemplate: {
|
|
|
19
19
|
* https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html
|
|
20
20
|
*/
|
|
21
21
|
schema?: {
|
|
22
|
-
attributeDataType?:
|
|
22
|
+
attributeDataType?: "Boolean" | "DateTime" | "Number" | "String";
|
|
23
23
|
developerOnlyAttribute?: boolean;
|
|
24
24
|
mutable?: boolean;
|
|
25
25
|
name?: string;
|
|
@@ -33,7 +33,7 @@ declare const createAuthTemplate: {
|
|
|
33
33
|
minLength: string;
|
|
34
34
|
};
|
|
35
35
|
}[];
|
|
36
|
-
usernameAttributes?: Array<
|
|
36
|
+
usernameAttributes?: Array<"email" | "phone_number"> | null;
|
|
37
37
|
}): any;
|
|
38
38
|
CognitoUserPoolLogicalId: string;
|
|
39
39
|
CognitoUserPoolClientLogicalId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare const PASSWORD_MINIMUM_LENGTH = 8;
|
|
|
4
4
|
|
|
5
5
|
declare const createAuthTemplate: {
|
|
6
6
|
({ autoVerifiedAttributes, identityPool, schema, usernameAttributes, }?: {
|
|
7
|
-
autoVerifiedAttributes?: Array<
|
|
7
|
+
autoVerifiedAttributes?: Array<"email" | "phone_number"> | null | false;
|
|
8
8
|
identityPool?: {
|
|
9
9
|
enabled?: boolean;
|
|
10
10
|
name?: string;
|
|
@@ -19,7 +19,7 @@ declare const createAuthTemplate: {
|
|
|
19
19
|
* https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html
|
|
20
20
|
*/
|
|
21
21
|
schema?: {
|
|
22
|
-
attributeDataType?:
|
|
22
|
+
attributeDataType?: "Boolean" | "DateTime" | "Number" | "String";
|
|
23
23
|
developerOnlyAttribute?: boolean;
|
|
24
24
|
mutable?: boolean;
|
|
25
25
|
name?: string;
|
|
@@ -33,7 +33,7 @@ declare const createAuthTemplate: {
|
|
|
33
33
|
minLength: string;
|
|
34
34
|
};
|
|
35
35
|
}[];
|
|
36
|
-
usernameAttributes?: Array<
|
|
36
|
+
usernameAttributes?: Array<"email" | "phone_number"> | null;
|
|
37
37
|
}): any;
|
|
38
38
|
CognitoUserPoolLogicalId: string;
|
|
39
39
|
CognitoUserPoolClientLogicalId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/cloud-auth",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.14",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ttoss/ttoss.git",
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
],
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@ttoss/cloudformation": "^0.10.
|
|
22
|
+
"@ttoss/cloudformation": "^0.10.4"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/jest": "^29.5.12",
|
|
26
26
|
"jest": "^29.7.0",
|
|
27
|
-
"tsup": "^8.
|
|
28
|
-
"typescript": "~5.4
|
|
29
|
-
"@ttoss/config": "^1.32.
|
|
27
|
+
"tsup": "^8.2.4",
|
|
28
|
+
"typescript": "~5.5.4",
|
|
29
|
+
"@ttoss/config": "^1.32.7"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public",
|