gatsby-source-ghost
Advanced tools
Comparing version 3.5.1 to 4.0.0
const GhostContentAPI = require('@tryghost/content-api'); | ||
module.exports.configure = ({apiUrl, contentApiKey, version = `v2`}) => { | ||
module.exports.configure = ({apiUrl, contentApiKey, version = `v3`}) => { | ||
return new GhostContentAPI({ | ||
@@ -5,0 +5,0 @@ url: apiUrl, |
{ | ||
"name": "gatsby-source-ghost", | ||
"version": "3.5.1", | ||
"version": "4.0.0", | ||
"description": "Gatsby source plugin for building websites using the Ghost API as a data source.", | ||
@@ -24,3 +24,3 @@ "repository": "git@github.com:TryGhost/gatsby-source-ghost.git", | ||
"eslint-plugin-ghost": "0.5.0", | ||
"mocha": "6.2.1", | ||
"mocha": "6.2.2", | ||
"proxyquire": "2.1.3", | ||
@@ -31,3 +31,3 @@ "should": "13.2.3", | ||
"dependencies": { | ||
"@tryghost/content-api": "1.3.1", | ||
"@tryghost/content-api": "1.3.2", | ||
"bluebird": "3.7.1", | ||
@@ -34,0 +34,0 @@ "cheerio": "1.0.0-rc.3", |
@@ -26,3 +26,3 @@ # Gatsby Source Ghost | ||
contentApiKey: `<your content api key>`, | ||
version: `v2` // optional, defaults to "v2" | ||
version: `v3` // Ghost API version, optional, defaults to "v3". Pass in "v2" if your Ghost install is not on 3.0 yet. | ||
} | ||
@@ -29,0 +29,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26697
+ Added@tryghost/content-api@1.3.2(transitive)
- Removed@tryghost/content-api@1.3.1(transitive)
Updated@tryghost/content-api@1.3.2