packages feed

mixpanel-client 0.1.0.0 → 0.1.1

raw patch · 3 files changed

+11/−11 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ MixPanel: instance GHC.Exception.Type.Exception MixPanel.MixPanelError
+ MixPanel: instance GHC.Show.Show MixPanel.MixPanelError

Files

ChangeLog.md view
@@ -7,6 +7,13 @@  ## [Unreleased] -## [0.1.1] - 2018-08-25+## [0.1.1] - 2018-11-28++### Changes++- ditch hpack @domenkozar+- add Show instance for MixpanelError++## [0.1.0.0] - 2018-08-25  - Intial release @domenkozar
mixpanel-client.cabal view
@@ -1,11 +1,5 @@--- This file has been generated from package.yaml by hpack version 0.28.2.------ see: https://github.com/sol/hpack------ hash: 491a6eeca6a6f94f2fbd7939dffe3bdf350c15ec0a7287c81ade08416e93c4a6- name:           mixpanel-client-version:        0.1.0.0+version:        0.1.1 synopsis:       Mixpanel client homepage:       https://github.com/domenkozar/mixpanel-client#readme bug-reports:    https://github.com/domenkozar/mixpanel-client/issues@@ -31,8 +25,6 @@       MixPanel.Types.Core       MixPanel.Types.EngageData       MixPanel.Types.TrackData-  other-modules:-      Paths_mixpanel_client   hs-source-dirs:       src   default-extensions: OverloadedStrings LambdaCase DeriveGeneric DeriveFunctor DeriveAnyClass RecordWildCards@@ -57,7 +49,6 @@   other-modules:       Spec       TypesSpec-      Paths_mixpanel_client   hs-source-dirs:       test   default-extensions: OverloadedStrings LambdaCase DeriveGeneric DeriveFunctor DeriveAnyClass RecordWildCards
src/MixPanel.hs view
@@ -15,6 +15,7 @@   , HTTP.newManager   ) where +import           Control.Exception              ( Exception ) import           Data.Aeson                     ( Object, (.=) ) import           Data.Text                      ( Text ) import           GHC.Exts                       ( fromList )@@ -40,6 +41,7 @@ data MixPanelError   = ServantError ServantError   | Error Text+  deriving (Show, Exception)  data Env = Env   { authtoken :: AuthToken