@ninetailed/experience.js 7.18.5 → 7.18.6
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.js +1 -0
- package/index.esm.js +1 -0
- package/package.json +3 -3
package/index.cjs.js
CHANGED
|
@@ -916,6 +916,7 @@ class Ninetailed {
|
|
|
916
916
|
}));
|
|
917
917
|
});
|
|
918
918
|
this.trackVariableComponentView = properties => {
|
|
919
|
+
// TODO: it would be better to use a safe parse. this can throw and we want to handle that accordingly
|
|
919
920
|
const validatedVariable = experience_jsShared.allowVariableTypeSchema.parse(properties.variable);
|
|
920
921
|
return this.instance.dispatch(Object.assign(Object.assign({}, properties), {
|
|
921
922
|
type: experience_jsPluginAnalytics.HAS_SEEN_VARIABLE,
|
package/index.esm.js
CHANGED
|
@@ -906,6 +906,7 @@ class Ninetailed {
|
|
|
906
906
|
}));
|
|
907
907
|
};
|
|
908
908
|
this.trackVariableComponentView = properties => {
|
|
909
|
+
// TODO: it would be better to use a safe parse. this can throw and we want to handle that accordingly
|
|
909
910
|
const validatedVariable = allowVariableTypeSchema.parse(properties.variable);
|
|
910
911
|
return this.instance.dispatch(Object.assign({}, properties, {
|
|
911
912
|
type: HAS_SEEN_VARIABLE,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ninetailed/experience.js",
|
|
3
|
-
"version": "7.18.
|
|
3
|
+
"version": "7.18.6",
|
|
4
4
|
"description": "Ninetailed SDK for javascript",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"directory": "packages/sdks/javascript"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@ninetailed/experience.js-plugin-analytics": "7.18.
|
|
13
|
-
"@ninetailed/experience.js-shared": "7.18.
|
|
12
|
+
"@ninetailed/experience.js-plugin-analytics": "7.18.6",
|
|
13
|
+
"@ninetailed/experience.js-shared": "7.18.6",
|
|
14
14
|
"analytics": "0.8.1",
|
|
15
15
|
"uuid": "9.0.0"
|
|
16
16
|
},
|