Major Changes
-
80bbd3a: Replace
axiosbycross-fetchBreaking Changes
-
The
configtype ofnhost.functions.call(url, data, config)is notAxiosRequestConfiganymore, and deprecates theuseAxios: falseoption. -
The
configtype ofnhost.graphql.request(document, [variables], config)is notAxiosRequestConfiganymore, and deprecates theuseAxios: falseoption.
-
Minor Changes
-
c9d2d31: Add new getters
nhost.graphql.httpUrlandnhost.graphql.wsUrlnhost.graphql.getUrl()is now deprecated. -
80bbd3a: Improve type inference of
nhost.graphql.requestThe method
nhost.graphql.requestis now set to infer result and variables types from typed document nodes. -
2949ff0: Introduce typed
nhost.graphql.queryandnhost.graphql.mutation