@aws-amplify/data-schema 1.25.4 → 1.25.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/data-schema",
3
- "version": "1.25.4",
3
+ "version": "1.25.5",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -774,9 +774,7 @@ function calculateAuth(authorization: Authorization<any, any, any>[]) {
774
774
  }
775
775
 
776
776
  if (rule.provider) {
777
- // identityPool maps to iam in the transform
778
- const provider = rule.provider === 'identityPool' ? 'iam' : rule.provider;
779
- ruleParts.push(`provider: ${provider}`);
777
+ ruleParts.push(`provider: ${rule.provider}`);
780
778
  }
781
779
 
782
780
  if (rule.operations) {