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