stripe-core 2.1.0 → 2.2.0
raw patch · 4 files changed
+7/−5 lines, 4 filesdep ~aeson
Dependency ranges changed: aeson
Files
- src/Web/Stripe/Charge.hs +1/−0
- src/Web/Stripe/Subscription.hs +1/−0
- src/Web/Stripe/Types.hs +2/−2
- stripe-core.cabal +3/−3
src/Web/Stripe/Charge.hs view
@@ -120,6 +120,7 @@ data CreateCharge type instance StripeReturn CreateCharge = Charge+instance StripeHasParam CreateCharge ExpandParams instance StripeHasParam CreateCharge CustomerId instance StripeHasParam CreateCharge NewCard instance StripeHasParam CreateCharge TokenId
src/Web/Stripe/Subscription.hs view
@@ -107,6 +107,7 @@ data CreateSubscription type instance StripeReturn CreateSubscription = Subscription instance StripeHasParam CreateSubscription CouponId+instance StripeHasParam CreateSubscription Prorate instance StripeHasParam CreateSubscription TrialEnd instance StripeHasParam CreateSubscription CardId instance StripeHasParam CreateSubscription Quantity
src/Web/Stripe/Types.hs view
@@ -128,7 +128,7 @@ , chargeCreated :: UTCTime , chargeLiveMode :: Bool , chargePaid :: Bool- , chargeAmount :: Int+ , chargeAmount :: Amount , chargeCurrency :: Currency , chargeRefunded :: Bool , chargeCreditCard :: Card@@ -157,7 +157,7 @@ <*> (fromSeconds <$> o .: "created") <*> o .: "livemode" <*> o .: "paid"- <*> o .: "amount"+ <*> (Amount <$> o .: "amount") <*> o .: "currency" <*> o .: "refunded" <*> o .: "card"
stripe-core.cabal view
@@ -1,5 +1,5 @@ name: stripe-core-version: 2.1.0+version: 2.2.0 synopsis: Stripe API for Haskell - Pure Core license: MIT license-file: LICENSE@@ -16,11 +16,11 @@ <<https://stripe.com/img/navigation/logo@2x.png>> . [Pure API Wrapper]- `stripe-core` provides a complete binding to the Stripe API. `stripe-core` provides pure wrappers around all the Stripe API objects and methods. `stripe-core` is pure and is not tied to any particular HTTP client library. End users will typically install the `stripe` package which pulls in the `stripe-http-streams` library to obtain a complete set of functionality.+ `stripe-core` provides a complete binding to the Stripe API. `stripe-core` provides pure wrappers around all the Stripe API objects and methods. `stripe-core` is pure and is not tied to any particular HTTP client library. End users will typically install the `stripe-haskell` package which pulls in the `stripe-http-streams` library to obtain a complete set of functionality. library hs-source-dirs: src- build-depends: aeson >= 0.8 && < 0.10 || == 0.11.*+ build-depends: aeson >= 0.8 && < 0.10 || >= 0.11 && < 1.1 , base >= 4.7 && < 5 , bytestring >= 0.10 && < 0.11 , mtl >= 2.1.2 && < 2.3