@ninetailed/experience.js 2.0.0-beta.39 → 2.0.0-beta.41

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
@@ -3026,7 +3026,8 @@ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
3026
3026
  class Ninetailed {
3027
3027
  constructor({
3028
3028
  clientId,
3029
- environment
3029
+ environment,
3030
+ preview
3030
3031
  }, {
3031
3032
  plugins,
3032
3033
  url,
@@ -3111,7 +3112,8 @@ class Ninetailed {
3111
3112
  url,
3112
3113
  profile,
3113
3114
  locale,
3114
- requestTimeout
3115
+ requestTimeout,
3116
+ preview
3115
3117
  })]
3116
3118
  }); // put in private method
3117
3119
 
package/index.umd.js CHANGED
@@ -2817,7 +2817,8 @@
2817
2817
  var _this = this;
2818
2818
 
2819
2819
  var clientId = _a.clientId,
2820
- environment = _a.environment;
2820
+ environment = _a.environment,
2821
+ preview = _a.preview;
2821
2822
 
2822
2823
  var _c = _b === void 0 ? {} : _b,
2823
2824
  plugins = _c.plugins,
@@ -2902,7 +2903,8 @@
2902
2903
  url: url,
2903
2904
  profile: profile,
2904
2905
  locale: locale,
2905
- requestTimeout: requestTimeout
2906
+ requestTimeout: requestTimeout,
2907
+ preview: preview
2906
2908
  })], false)
2907
2909
  }); // put in private method
2908
2910
 
@@ -62,7 +62,7 @@ export declare class Ninetailed implements NinetailedInstance {
62
62
  private readonly instance;
63
63
  private _profileState;
64
64
  readonly plugins: AnalyticsPlugin[];
65
- constructor({ clientId, environment, }: {
65
+ constructor({ clientId, environment, preview }: {
66
66
  clientId: string;
67
67
  environment?: string;
68
68
  preview?: boolean;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ninetailed/experience.js",
3
- "version": "2.0.0-beta.39",
3
+ "version": "2.0.0-beta.41",
4
4
  "main": "./index.umd.js",
5
5
  "module": "./index.esm.js",
6
6
  "typings": "./index.d.ts",
7
7
  "dependencies": {
8
8
  "analytics": "^0.8.0",
9
- "@ninetailed/experience.js-shared": "2.0.0-beta.39",
9
+ "@ninetailed/experience.js-shared": "2.0.0-beta.41",
10
10
  "uuid": "^8.3.2",
11
11
  "ts-toolbelt": "^9.6.0",
12
12
  "locale-enum": "^1.1.1",