packages feed

amazonka-cognito-sync 0.1.3 → 0.1.4

raw patch · 2 files changed

+8/−8 lines, 2 filesdep ~amazonka-corePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core

API changes (from Hackage documentation)

Files

amazonka-cognito-sync.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-cognito-sync-version:               0.1.3+version:               0.1.4 synopsis:              Amazon Cognito Sync SDK. homepage:              https://github.com/brendanhay/amazonka license:               OtherLicense@@ -58,5 +58,5 @@     other-modules:      build-depends:-          amazonka-core == 0.1.3.*+          amazonka-core == 0.1.4.*         , base          >= 4.7     && < 5
gen/Network/AWS/CognitoSync/Types.hs view
@@ -209,11 +209,11 @@ instance Hashable Platform  instance FromText Platform where-    parser = takeText >>= \case-        "ADM"          -> pure Adm-        "APNS"         -> pure Apns-        "APNS_SANDBOX" -> pure ApnsSandbox-        "GCM"          -> pure Gcm+    parser = takeLowerText >>= \case+        "adm"          -> pure Adm+        "apns"         -> pure Apns+        "apns_sandbox" -> pure ApnsSandbox+        "gcm"          -> pure Gcm         e              -> fail $             "Failure parsing Platform from " ++ show e @@ -335,7 +335,7 @@ instance Hashable Operation  instance FromText Operation where-    parser = takeText >>= \case+    parser = takeLowerText >>= \case         "remove"  -> pure Remove         "replace" -> pure Replace         e         -> fail $