@ninetailed/experience.js-gatsby 7.12.1 → 7.13.0-beta.1

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.
package/Tracker.js CHANGED
@@ -8,7 +8,6 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
8
8
 
9
9
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
10
 
11
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
12
11
  const usePrevious = value => {
13
12
  const ref = React.useRef();
14
13
  React.useEffect(() => {
package/gatsby-browser.js CHANGED
@@ -20,7 +20,6 @@ const createFunctionBody = serializedFunction => {
20
20
  return '"use strict";\n return ' + serializedFunction + ';';
21
21
  };
22
22
  const deserializeFunction = serializedFunction => {
23
- // eslint-disable-next-line no-new-func
24
23
  return new Function(createFunctionBody(serializedFunction))();
25
24
  };
26
25
  const deserializePluginOptionFunctions = options => {
@@ -37,9 +36,7 @@ const deserializePluginOptionFunctions = options => {
37
36
  };
38
37
 
39
38
  let ninetailed;
40
- const isSerializedPreviewPlugin = (
41
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
42
- options) => {
39
+ const isSerializedPreviewPlugin = options => {
43
40
  return !!(options && options.customOptions && options.serializedFunctionNames && options.customOptions.serializedFunctionNames);
44
41
  };
45
42
  const WrapRootElement = ({
package/gatsby-ssr.js CHANGED
@@ -13,9 +13,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
14
14
 
15
15
  const wrapRootElement = (args, options) => {
16
- const resolvedPlugins = loaders_ninetailedPlugins.plugins.map(
17
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
18
- ({
16
+ const resolvedPlugins = loaders_ninetailedPlugins.plugins.map(({
19
17
  PluginCtor,
20
18
  options
21
19
  }) => new PluginCtor(options));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ninetailed/experience.js-gatsby",
3
- "version": "7.12.1",
3
+ "version": "7.13.0-beta.1",
4
4
  "keywords": [
5
5
  "gatsby",
6
6
  "gatsby-plugin",
@@ -16,9 +16,9 @@
16
16
  "@nx/react": "16.6.0"
17
17
  },
18
18
  "dependencies": {
19
- "@ninetailed/experience.js": "7.12.1",
20
- "@ninetailed/experience.js-react": "7.12.1",
21
- "@ninetailed/experience.js-plugin-analytics": "7.12.1",
19
+ "@ninetailed/experience.js": "7.13.0-beta.1",
20
+ "@ninetailed/experience.js-react": "7.13.0-beta.1",
21
+ "@ninetailed/experience.js-plugin-analytics": "7.13.0-beta.1",
22
22
  "gatsby-plugin-utils": "3.19.0",
23
23
  "lodash": "4.17.21"
24
24
  },