@ninetailed/experience.js-react 6.4.0-beta.8 → 6.4.0

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/index.cjs CHANGED
@@ -1115,9 +1115,7 @@ const NinetailedProvider = props => {
1115
1115
  plugins = [],
1116
1116
  onLog,
1117
1117
  onError,
1118
- buildClientContext,
1119
- componentViewTrackingThreshold,
1120
- storage
1118
+ componentViewTrackingThreshold
1121
1119
  } = props;
1122
1120
  return new experience_js.Ninetailed({
1123
1121
  clientId,
@@ -1131,9 +1129,7 @@ const NinetailedProvider = props => {
1131
1129
  requestTimeout,
1132
1130
  onLog,
1133
1131
  onError,
1134
- buildClientContext,
1135
- componentViewTrackingThreshold,
1136
- storage
1132
+ componentViewTrackingThreshold
1137
1133
  });
1138
1134
  }, []);
1139
1135
  const {
package/index.js CHANGED
@@ -1107,9 +1107,7 @@ const NinetailedProvider = props => {
1107
1107
  plugins = [],
1108
1108
  onLog,
1109
1109
  onError,
1110
- buildClientContext,
1111
- componentViewTrackingThreshold,
1112
- storage
1110
+ componentViewTrackingThreshold
1113
1111
  } = props;
1114
1112
  return new Ninetailed({
1115
1113
  clientId,
@@ -1123,9 +1121,7 @@ const NinetailedProvider = props => {
1123
1121
  requestTimeout,
1124
1122
  onLog,
1125
1123
  onError,
1126
- buildClientContext,
1127
- componentViewTrackingThreshold,
1128
- storage
1124
+ componentViewTrackingThreshold
1129
1125
  });
1130
1126
  }, []);
1131
1127
  const {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { Ninetailed, NinetailedPlugin, Storage } from '@ninetailed/experience.js';
3
- import { Profile, Locale, OnErrorHandler, OnLogHandler, NinetailedRequestContext } from '@ninetailed/experience.js-shared';
2
+ import { Ninetailed, NinetailedPlugin } from '@ninetailed/experience.js';
3
+ import { Profile, Locale, OnErrorHandler, OnLogHandler } from '@ninetailed/experience.js-shared';
4
4
  export type NinetailedProviderInstantiationProps = {
5
5
  clientId: string;
6
6
  environment?: string;
@@ -13,8 +13,6 @@ export type NinetailedProviderInstantiationProps = {
13
13
  onLog?: OnLogHandler;
14
14
  onError?: OnErrorHandler;
15
15
  componentViewTrackingThreshold?: number;
16
- buildClientContext?: () => NinetailedRequestContext;
17
- storage?: Storage;
18
16
  };
19
17
  export type NinetailedProviderProps = NinetailedProviderInstantiationProps | {
20
18
  ninetailed: Ninetailed;
package/package.json CHANGED
@@ -1,18 +1,20 @@
1
1
  {
2
2
  "name": "@ninetailed/experience.js-react",
3
- "version": "6.4.0-beta.8",
3
+ "version": "6.4.0",
4
4
  "peerDependencies": {
5
5
  "react": ">=16.8.0"
6
6
  },
7
- "module": "./index.js",
8
- "main": "./index.cjs",
9
- "type": "module",
10
- "types": "./index.d.ts",
11
7
  "dependencies": {
12
- "@ninetailed/experience.js": "6.4.0-beta.8",
8
+ "@analytics/google-analytics": "0.5.3",
9
+ "react-visibility-sensor": "5.1.1",
10
+ "@ninetailed/experience.js": "6.4.0",
13
11
  "react-is": "18.2.0",
14
- "@ninetailed/experience.js-shared": "6.4.0-beta.8",
12
+ "@ninetailed/experience.js-shared": "6.4.0",
15
13
  "radash": "10.9.0",
16
14
  "react-intersection-observer": "8.34.0"
17
- }
15
+ },
16
+ "module": "./index.js",
17
+ "main": "./index.cjs",
18
+ "type": "module",
19
+ "types": "./index.d.ts"
18
20
  }