packages feed

hissmetrics 0.1 → 0.1.1

raw patch · 2 files changed

+8/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Web.KISSmetrics: Alias :: SimpleText -> SimpleText -> CallType
+ Web.KISSmetrics: Automatic :: Timestamp
+ Web.KISSmetrics: Manual :: UTCTime -> Timestamp
+ Web.KISSmetrics: Record :: SimpleText -> SimpleText -> Timestamp -> [Property] -> CallType
+ Web.KISSmetrics: SetProps :: SimpleText -> Timestamp -> [Property] -> CallType
+ Web.KISSmetrics: call :: Manager -> APIKey -> CallType -> IO ()
+ Web.KISSmetrics: data CallType
+ Web.KISSmetrics: data Timestamp
+ Web.KISSmetrics: eventName :: CallType -> SimpleText
+ Web.KISSmetrics: identity :: CallType -> SimpleText
+ Web.KISSmetrics: identity' :: CallType -> SimpleText
+ Web.KISSmetrics: properties :: CallType -> [Property]
+ Web.KISSmetrics: timestamp :: CallType -> Timestamp
+ Web.KISSmetrics: type APIKey = Ascii
+ Web.KISSmetrics: type Property = (SimpleText, Text)
+ Web.KISSmetrics: type SimpleText = Ascii

Files

hissmetrics.cabal view
@@ -1,5 +1,5 @@ Name:                hissmetrics-Version:             0.1+Version:             0.1.1 Synopsis:            Unofficial API bindings to KISSmetrics. Homepage:            https://github.com/meteficha/hissmetrics License:             BSD3
src/Web/KISSmetrics.hs view
@@ -4,7 +4,12 @@ -- import qualified Web.KISSmetrics as KISSmetrics -- @ module Web.KISSmetrics-    (+    ( APIKey+    , SimpleText+    , Property+    , Timestamp(..)+    , CallType(..)+    , call     ) where  import Control.Arrow (second)@@ -31,7 +36,7 @@   -- | A KISSmetrics property.  The property names needs to follow--- the rules outlined on 'SimpleText'@'s@ documentation.  The+-- the rules outlined on 'SimpleText'@s@ documentation.  The -- property value, on the other hand, are only limited to 8 KiB -- and don't have any other restrictions. type Property = (SimpleText, Text)