@ninetailed/experience.js-gatsby 4.2.2-beta.0 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/gatsby-node.js +1 -1
  2. package/package.json +3 -3
package/gatsby-node.js CHANGED
@@ -68,7 +68,7 @@ const createPages = ({
68
68
  const {
69
69
  setPluginStatus
70
70
  } = actions;
71
- if (!ninetailedPreviewPlugin.options.customOptions) {
71
+ if (typeof ninetailedPreviewPlugin.options !== 'object' || typeof ninetailedPreviewPlugin.options.customOptions !== 'object') {
72
72
  throw new Error('CustomOptions not found. CustomOptions are mandatory and need to be set in the preview plugin options.');
73
73
  }
74
74
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ninetailed/experience.js-gatsby",
3
- "version": "4.2.2-beta.0",
3
+ "version": "4.2.2",
4
4
  "keywords": [
5
5
  "gatsby",
6
6
  "gatsby-plugin",
@@ -18,8 +18,8 @@
18
18
  "type": "commonjs",
19
19
  "types": "./index.d.ts",
20
20
  "dependencies": {
21
- "@ninetailed/experience.js": "4.2.2-beta.0",
22
- "@ninetailed/experience.js-react": "4.2.2-beta.0",
21
+ "@ninetailed/experience.js": "4.2.2",
22
+ "@ninetailed/experience.js-react": "4.2.2",
23
23
  "gatsby-plugin-utils": "3.19.0"
24
24
  }
25
25
  }