stripe-hs 0.2.0.0 → 0.2.1.0
raw patch · 2 files changed
+5/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Stripe.Client: ConnectionError :: SomeException -> ClientError
+ Stripe.Client: CustomerId :: Text -> CustomerId
+ Stripe.Client: DecodeFailure :: Text -> Response -> ClientError
+ Stripe.Client: EventId :: Text -> EventId
+ Stripe.Client: FailureResponse :: RequestF () (BaseUrl, ByteString) -> Response -> ClientError
+ Stripe.Client: InvalidContentTypeHeader :: Response -> ClientError
+ Stripe.Client: UnsupportedContentType :: MediaType -> Response -> ClientError
+ Stripe.Client: [unCustomerId] :: CustomerId -> Text
+ Stripe.Client: [unEventId] :: EventId -> Text
+ Stripe.Client: data ClientError
+ Stripe.Client: newtype CustomerId
+ Stripe.Client: newtype EventId
Files
- src/Stripe/Client.hs +3/−3
- stripe-hs.cabal +2/−2
src/Stripe/Client.hs view
@@ -2,12 +2,12 @@ {-# LANGUAGE CPP #-} module Stripe.Client ( -- * Basics- ApiKey, StripeClient, makeStripeClient+ ApiKey, StripeClient, makeStripeClient, ClientError(..) -- * Helper types , TimeStamp(..), StripeList(..) -- * Customers , createCustomer, retrieveCustomer, updateCustomer, listCustomers- , Customer(..), CustomerCreate(..), CustomerUpdate(..)+ , CustomerId(..), Customer(..), CustomerCreate(..), CustomerUpdate(..) -- * Product catalog , ProductId(..), PriceId(..), Product(..), Price(..), PriceRecurring(..) , ProductCreate(..), PriceCreate(..), PriceCreateRecurring(..)@@ -24,7 +24,7 @@ , createCheckoutSession, retrieveCheckoutSession -- * Events , retrieveEvent, listEvents- , Event(..), EventData(..)+ , EventId(..), Event(..), EventData(..) ) where
stripe-hs.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 4b82770025cbf946f65cc037f6aeb6f5634f2070cbbe49073a237fea81b0f94c+-- hash: 4019c187792644a71d436254a7f82084129aa53d02bd6af7b098b805c7ce4a38 name: stripe-hs-version: 0.2.0.0+version: 0.2.1.0 synopsis: Unofficial Stripe client description: Unofficial Stripe client category: Web