Skip to content

Commit f069e97

Browse files
Merge pull request #6 from andys8/update-affjax
Update affjax to v11.0.0 (breaking changes)
2 parents 3bb4e5d + ded4e4a commit f069e97

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"dependencies": {
1515
"purescript-prelude": "^4.1.1",
16-
"purescript-affjax": "^10.1.0",
16+
"purescript-affjax": "^11.0.0",
1717
"purescript-simple-json": "^7.0.0"
1818
},
1919
"devDependencies": {

src/Simple/Ajax.purs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import Data.Either (Either(..))
2424
import Data.HTTP.Method (CustomMethod, Method(..))
2525
import Data.Maybe (Maybe(..))
2626
import Data.MediaType (MediaType(..))
27+
import Data.Time.Duration (Milliseconds)
2728
import Data.Tuple (Tuple(..), snd)
2829
import Data.Variant (expand, inj)
2930
import Effect.Aff (Aff)
@@ -93,6 +94,7 @@ type RequestRow a = ( method :: Either Method CustomMethod
9394
, password :: Maybe String
9495
, withCredentials :: Boolean
9596
, responseFormat :: ResponseFormat a
97+
, timeout :: Maybe Milliseconds
9698
)
9799

98100
type SimpleRequestRow = ( headers :: Array RequestHeader

0 commit comments

Comments
 (0)