diff --git a/apiary-purescript.cabal b/apiary-purescript.cabal
--- a/apiary-purescript.cabal
+++ b/apiary-purescript.cabal
@@ -1,5 +1,5 @@
 name:                apiary-purescript
-version:             0.17.0
+version:             0.17.1
 synopsis:            purescript compiler for apiary web framework.
 description:
   example: <https://github.com/philopon/apiary/blob/master/examples/pureScript.hs>
@@ -22,7 +22,7 @@
   build-depends:       base                 >=4.6   && <4.8
                      , template-haskell
                      , apiary               >=0.17  && <0.18
-                     , purescript           >=0.5.5 && <0.6
+                     , purescript           >=0.5.6 && <0.5.7
 
                      , filepath             >=1.3   && <1.4
                      , utf8-string          >=0.3   && <0.4
diff --git a/src/Web/Apiary/PureScript/Internal.hs b/src/Web/Apiary/PureScript/Internal.hs
--- a/src/Web/Apiary/PureScript/Internal.hs
+++ b/src/Web/Apiary/PureScript/Internal.hs
@@ -50,7 +50,7 @@
     , preludePath       :: FilePath
     , development       :: Bool
     , initialCompiles   :: [FilePath]
-    , pureScriptOptions :: P.Options
+    , pureScriptOptions :: P.Options P.Compile
     }
 
 instance Default PureScriptConfig where
@@ -60,10 +60,8 @@
         defaultPreludePath
         False
         []
-        P.defaultOptions
-        { P.optionsMain             = Just "Main"
-        , P.optionsBrowserNamespace = Just "PS"
-        }
+        P.defaultCompileOptions
+        { P.optionsMain             = Just "Main" }
 
 data PureScript = PureScript
     { pscConfig :: PureScriptConfig
