line-bot-sdk 0.6.0 → 0.7.0
raw patch · 2 files changed
+66/−64 lines, 2 filesdep ~aesondep ~basedep ~base64-bytestring
Dependency ranges changed: aeson, base, base64-bytestring, bytestring, cryptohash-sha256, deepseq, http-api-data, http-client, http-media, http-types, servant, servant-client, servant-client-core, servant-server, text, transformers, wai, wai-extra, warp
Files
- line-bot-sdk.cabal +58/−56
- src/Line/Bot/Internal/Endpoints.hs +8/−8
line-bot-sdk.cabal view
@@ -1,5 +1,5 @@ name: line-bot-sdk-version: 0.6.0+version: 0.7.0 synopsis: Haskell SDK for LINE Messaging API homepage: https://github.com/moleike/line-bot-sdk#readme bug-reports: https://github.com/moleike/line-bot-sdk/issues@@ -36,29 +36,29 @@ other-modules: Paths_line_bot_sdk autogen-modules: Paths_line_bot_sdk - build-depends: base >= 4.7 && < 5- , aeson >= 1.4.2 && < 1.5- , bytestring >= 0.10.8 && < 0.11- , scientific >= 0.3.6 && < 0.4- , text >= 1.2.3 && < 1.3- , transformers >= 0.5.5 && < 0.6- , time >= 1.9.3 && < 1.10- , base64-bytestring >= 1.0.0 && < 1.1- , cryptohash-sha256 >= 0.11.101 && < 0.12- , http-client >= 0.5.14 && < 0.7- , http-types >= 0.12.2 && < 0.13- , http-media- , http-api-data >= 0.4 && < 0.5- , http-client-tls >= 0.3.5 && < 0.4- , servant >= 0.16.2 && < 0.17- , string-conversions >= 0.4.0 && < 0.5- , servant-client >= 0.16.0.1 && < 0.17- , servant-client-core >= 0.16 && < 0.17- , servant-server >= 0.16.2 && < 0.17- , wai >= 3.2.2 && < 3.3- , mtl >= 2.2.2 && < 2.3- , deepseq >= 1.4.2.0 && < 1.5-+ build-depends:+ aeson >= 1.5.6 && < 1.6,+ base >= 4.14.1 && < 4.15,+ bytestring >= 0.10.12 && < 0.11,+ deepseq >= 1.4.4 && < 1.5,+ scientific >= 0.3.6 && < 0.4,+ text >= 1.2.4 && < 1.3,+ transformers >= 0.5.6 && < 0.6,+ time >= 1.9.3 && < 1.10,+ mtl >= 2.2.2 && < 2.3,+ base64-bytestring >= 1.1.0 && < 1.2,+ cryptohash-sha256 >= 0.11.102 && < 0.12,+ http-api-data >= 0.4.1.1 && < 0.5,+ http-types >= 0.12.3 && < 0.13,+ http-client >= 0.6.4 && < 0.7,+ http-client-tls >= 0.3.5 && < 0.4,+ http-media >= 0.8.0 && < 0.9,+ servant >= 0.18.2 && < 0.19,+ string-conversions >= 0.4.0 && < 0.5,+ servant-client >= 0.18.2 && < 0.19,+ servant-client-core >= 0.18.2 && < 0.19,+ servant-server >= 0.18.2 && < 0.19,+ wai >= 3.2.3 && < 3.3 default-language: Haskell2010 @@ -66,14 +66,15 @@ hs-source-dirs: examples main-is: Echo.hs ghc-options: -threaded -rtsopts -with-rtsopts=-N- build-depends: base >= 4.7 && < 5- , line-bot-sdk- , servant >= 0.16.2 && < 0.17- , servant-server >= 0.16.2 && < 0.17- , transformers >= 0.5.5 && < 0.6- , wai >= 3.2.2 && < 3.3- , wai-extra >= 3.0.25 && < 3.1- , warp >= 3.3.12 && < 3.4+ build-depends:+ line-bot-sdk,+ base,+ servant,+ servant-server,+ transformers,+ wai,+ wai-extra >= 3.1.6 && < 3.2,+ warp >= 3.3.14 && < 3.4 default-language: Haskell2010 @@ -83,30 +84,31 @@ other-modules: Line.Bot.WebhookSpec , Line.Bot.ClientSpec main-is: Spec.hs- build-depends: base- , line-bot-sdk- , base64-bytestring- , cryptohash-sha256- , text- , bytestring- , hspec- , hspec-wai- , hspec-expectations- , http-types- , http-client- , http-client-tls- , aeson- , transformers- , aeson-qq- , servant >= 0.15- , servant-server >= 0.15- , servant-client >= 0.15- , servant-client-core >= 0.15- , wai- , warp- , free- , time - , deepseq+ build-depends:+ base,+ line-bot-sdk,+ base64-bytestring,+ cryptohash-sha256,+ text,+ bytestring,+ hspec,+ hspec-wai,+ hspec-expectations,+ http-types,+ http-client,+ http-client-tls,+ aeson,+ transformers,+ aeson-qq,+ servant,+ servant-server,+ servant-client,+ servant-client-core,+ wai,+ warp,+ free,+ time ,+ deepseq ghc-options: -threaded -rtsopts -with-rtsopts=-N default-language: Haskell2010
src/Line/Bot/Internal/Endpoints.hs view
@@ -41,7 +41,7 @@ "v2":> "bot" :> "group" :> Capture "groupId" (Id 'Group) :> "leave"- :> PostNoContent '[JSON] NoContent+ :> PostNoContent type GetGroupMemberUserIds' a = "v2":> "bot" :> "group"@@ -66,7 +66,7 @@ "v2":> "bot" :> "room" :> Capture "roomId" (Id 'Room) :> "leave"- :> PostNoContent '[JSON] NoContent+ :> PostNoContent type GetRoomMemberUserIds' a = "v2":> "bot" :> "room"@@ -82,7 +82,7 @@ "v2":> "bot" :> "message" :> "reply" :> ReqBody '[JSON] a- :> PostNoContent '[JSON] NoContent+ :> PostNoContent type ReplyMessage = ReplyMessage' ReplyMessageBody @@ -90,7 +90,7 @@ "v2":> "bot" :> "message" :> "push" :> ReqBody '[JSON] a- :> PostNoContent '[JSON] NoContent+ :> PostNoContent type PushMessage = PushMessage' PushMessageBody @@ -98,7 +98,7 @@ "v2":> "bot" :> "message" :> "multicast" :> ReqBody '[JSON] a- :> PostNoContent '[JSON] NoContent+ :> PostNoContent type MulticastMessage = MulticastMessage' MulticastMessageBody @@ -106,7 +106,7 @@ "v2":> "bot" :> "message" :> "broadcast" :> ReqBody '[JSON] a- :> PostNoContent '[JSON] NoContent+ :> PostNoContent type BroadcastMessage = BroadcastMessage' BroadcastMessageBody @@ -188,7 +188,7 @@ type CreateRichMenu' a b = "v2" :> "bot" :> "richmenu" :> ReqBody '[JSON] a- :> PostNoContent '[JSON] b+ :> Post '[JSON] b type CreateRichMenu = CreateRichMenu' RichMenu RichMenuId @@ -225,6 +225,6 @@ type SetDefaultRichMenu' a = "v2":> "bot" :> "user" :> "all" :> "richmenu" :> Capture "richMenuId" a- :> PostNoContent '[JSON] NoContent+ :> PostNoContent type SetDefaultRichMenu = SetDefaultRichMenu' RichMenuId