graphql-auth-transformer
Advanced tools
Comparing version 1.0.27 to 1.1.0-alpha.0a106b94
@@ -202,3 +202,2 @@ "use strict"; | ||
return new cognito_1.default.UserPool({ | ||
AliasAttributes: ['email'], | ||
UserPoolName: cloudform_1.Fn.Ref(graphql_transformer_common_1.ResourceConstants.PARAMETERS.AuthCognitoUserPoolName), | ||
@@ -215,2 +214,9 @@ Policies: { | ||
}, | ||
Schema: [ | ||
{ | ||
Name: 'email', | ||
Required: true, | ||
Mutable: true | ||
} | ||
], | ||
AutoVerifiedAttributes: ['email'] | ||
@@ -217,0 +223,0 @@ }).condition(graphql_transformer_common_1.ResourceConstants.CONDITIONS.AuthShouldCreateUserPool); |
{ | ||
"name": "graphql-auth-transformer", | ||
"version": "1.0.27", | ||
"version": "1.1.0-alpha.0a106b94", | ||
"description": "Implements the @auth directive for the appsync model transform.", | ||
@@ -21,5 +21,5 @@ "main": "lib/index.js", | ||
"graphql": "^0.13.2", | ||
"graphql-mapping-template": "^1.0.27", | ||
"graphql-transformer-common": "^1.0.27", | ||
"graphql-transformer-core": "^1.0.27" | ||
"graphql-mapping-template": "^1.1.0-alpha.0a106b94", | ||
"graphql-transformer-common": "^1.1.0-alpha.0a106b94", | ||
"graphql-transformer-core": "^1.1.0-alpha.0a106b94" | ||
}, | ||
@@ -30,4 +30,4 @@ "devDependencies": { | ||
"@types/node": "^10.3.4", | ||
"graphql-appsync-transformer": "^1.0.27", | ||
"graphql-dynamodb-transformer": "^1.0.27", | ||
"graphql-appsync-transformer": "^1.1.0-alpha.0a106b94", | ||
"graphql-dynamodb-transformer": "^1.1.0-alpha.0a106b94", | ||
"jest": "^23.1.0", | ||
@@ -52,4 +52,3 @@ "ts-jest": "^22.4.6", | ||
] | ||
}, | ||
"gitHead": "c90740936a898d3975a7a99d5827c9d357be0efe" | ||
} | ||
} |
@@ -135,3 +135,2 @@ import Template from 'cloudform/types/template' | ||
return new Cognito.UserPool({ | ||
AliasAttributes: ['email'], | ||
UserPoolName: Fn.Ref(ResourceConstants.PARAMETERS.AuthCognitoUserPoolName), | ||
@@ -148,2 +147,9 @@ Policies: { | ||
}, | ||
Schema: [ | ||
{ | ||
Name: 'email', | ||
Required: true, | ||
Mutable: true | ||
} | ||
], | ||
AutoVerifiedAttributes: ['email'] | ||
@@ -150,0 +156,0 @@ }).condition(ResourceConstants.CONDITIONS.AuthShouldCreateUserPool) |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1705
125165
19
2
+ Addedgraphql-mapping-template@1.1.0-alpha.faff0c3c(transitive)
+ Addedgraphql-transformer-common@1.1.0-alpha.faff0c3c(transitive)
+ Addedgraphql-transformer-core@1.1.0-alpha.faff0c3c(transitive)
- Removedgraphql-mapping-template@1.0.33(transitive)
- Removedgraphql-transformer-common@1.0.35(transitive)
- Removedgraphql-transformer-core@1.0.33(transitive)