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