@ninetailed/experience.js 3.0.0-beta.42 → 3.0.0-beta.43
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 +1 -1
- package/index.js +1 -1
- package/package.json +3 -3
package/index.cjs
CHANGED
|
@@ -4074,7 +4074,7 @@ const isExperienceMatch = ({
|
|
|
4074
4074
|
profile
|
|
4075
4075
|
}) => {
|
|
4076
4076
|
const trafficRandom = getTrafficRandom(profile, experience);
|
|
4077
|
-
console.log('has no audience', experience.id, !experience.audience)
|
|
4077
|
+
/*console.log('has no audience', experience.id, !experience.audience);*/
|
|
4078
4078
|
experience_jsShared.logger.info(`The traffic random factor for experience ${experience.id} is ${trafficRandom}. It's traffic allocation is set to ${experience.trafficAllocation}.`);
|
|
4079
4079
|
const isInTrafficRange = experience.trafficAllocation > trafficRandom;
|
|
4080
4080
|
const matchesAudience = !experience.audience || includes__default["default"](profile.audiences, experience.audience.id);
|
package/index.js
CHANGED
|
@@ -4061,7 +4061,7 @@ const isExperienceMatch = ({
|
|
|
4061
4061
|
profile
|
|
4062
4062
|
}) => {
|
|
4063
4063
|
const trafficRandom = getTrafficRandom(profile, experience);
|
|
4064
|
-
console.log('has no audience', experience.id, !experience.audience)
|
|
4064
|
+
/*console.log('has no audience', experience.id, !experience.audience);*/
|
|
4065
4065
|
logger.info(`The traffic random factor for experience ${experience.id} is ${trafficRandom}. It's traffic allocation is set to ${experience.trafficAllocation}.`);
|
|
4066
4066
|
const isInTrafficRange = experience.trafficAllocation > trafficRandom;
|
|
4067
4067
|
const matchesAudience = !experience.audience || includes(profile.audiences, experience.audience.id);
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ninetailed/experience.js",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.43",
|
|
4
4
|
"module": "./index.js",
|
|
5
5
|
"main": "./index.cjs",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@ninetailed/experience.js-shared": "3.0.0-beta.
|
|
9
|
+
"@ninetailed/experience.js-shared": "3.0.0-beta.43",
|
|
10
10
|
"analytics": "0.8.1",
|
|
11
11
|
"lodash": "4.17.21",
|
|
12
12
|
"murmurhash-js": "1.0.0",
|
|
13
|
-
"@ninetailed/experience.js-plugin-analytics": "3.0.0-beta.
|
|
13
|
+
"@ninetailed/experience.js-plugin-analytics": "3.0.0-beta.43"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {}
|
|
16
16
|
}
|