@ninetailed/experience.js 1.3.1 → 1.3.3

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.esm.js CHANGED
@@ -4274,9 +4274,9 @@ const selectVariant = (baseline, variants, {
4274
4274
  id: 'baseline'
4275
4275
  }
4276
4276
  }, baseline),
4277
- audience: {
4277
+ audience: Object.assign(Object.assign({}, variant.audience), {
4278
4278
  id: variant.audience.id
4279
- },
4279
+ }),
4280
4280
  isPersonalized: false,
4281
4281
  error: null
4282
4282
  };
@@ -4285,9 +4285,9 @@ const selectVariant = (baseline, variants, {
4285
4285
  return {
4286
4286
  loading: false,
4287
4287
  variant,
4288
- audience: {
4288
+ audience: Object.assign(Object.assign({}, variant.audience), {
4289
4289
  id: variant.audience.id
4290
- },
4290
+ }),
4291
4291
  isPersonalized: true,
4292
4292
  error: null
4293
4293
  };
package/index.umd.js CHANGED
@@ -4047,9 +4047,9 @@
4047
4047
  id: 'baseline'
4048
4048
  }
4049
4049
  }, baseline),
4050
- audience: {
4050
+ audience: __assign(__assign({}, variant.audience), {
4051
4051
  id: variant.audience.id
4052
- },
4052
+ }),
4053
4053
  isPersonalized: false,
4054
4054
  error: null
4055
4055
  };
@@ -4058,9 +4058,9 @@
4058
4058
  return {
4059
4059
  loading: false,
4060
4060
  variant: variant,
4061
- audience: {
4061
+ audience: __assign(__assign({}, variant.audience), {
4062
4062
  id: variant.audience.id
4063
- },
4063
+ }),
4064
4064
  isPersonalized: true,
4065
4065
  error: null
4066
4066
  };
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@ninetailed/experience.js",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "main": "./index.umd.js",
5
5
  "module": "./index.esm.js",
6
6
  "typings": "./index.d.ts",
7
7
  "dependencies": {
8
- "@ninetailed/experience.js-shared": "1.3.1",
8
+ "@ninetailed/experience.js-shared": "1.3.3",
9
9
  "uuid": "^8.3.2",
10
10
  "ts-toolbelt": "^9.6.0",
11
11
  "locale-enum": "^1.1.1",