@threekit-tools/treble 0.0.78 → 0.0.79

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.
@@ -1,3 +1,4 @@
1
+ import threekitAPI from '../api';
1
2
  import { IThreekitPlayer, IThreekitPrivatePlayer, IConfiguration, ISetConfiguration, IThreekitPrivateConfigurator } from '../types';
2
3
  import { IWishlist } from './Wishlist';
3
4
  import Snapshots from './Snapshots';
@@ -13,6 +14,7 @@ interface IEmailShareCredentials {
13
14
  templateId: string;
14
15
  }
15
16
  declare class Treble {
17
+ _api: typeof threekitAPI;
16
18
  _player: IThreekitPrivatePlayer;
17
19
  wishlist: IWishlist;
18
20
  private _initialConfiguration;
@@ -121,6 +121,7 @@ var Treble = /** @class */ (function () {
121
121
  return api_1.default.server.sendEmail(data);
122
122
  };
123
123
  // Threekit API
124
+ this._api = api_1.default;
124
125
  this.wishlist = (0, Wishlist_1.default)(orgId);
125
126
  this._snapshots = new Snapshots_1.default();
126
127
  this.takeSnapshots = this._snapshots.takeSnapshots;
@@ -211,8 +211,6 @@ var initPlayer = function (config) {
211
211
  attributes = getState().attributes;
212
212
  previousAttributes = Object.values(attributes);
213
213
  updatedAttributes = window.threekit.configurator.getDisplayAttributes();
214
- if (window.threekit.treble._debugMode)
215
- (0, utils_1.runDebugger)();
216
214
  dispatch((0, attributes_1.setAttributes)(updatedAttributes));
217
215
  return [4 /*yield*/, ((_a = EVENTS.postConfigurationChange) === null || _a === void 0 ? void 0 : _a.call(EVENTS, updatedAttributes, {}, previousAttributes))];
218
216
  case 1:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threekit-tools/treble",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
4
4
  "author": "Amaan Saeed",
5
5
  "license": "MIT",
6
6
  "files": [