@threekit-tools/treble 0.0.101 → 0.0.103

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.
@@ -22,7 +22,7 @@ declare class Treble {
22
22
  _player: IThreekitPrivatePlayer;
23
23
  wishlist: IWishlist;
24
24
  private _snapshots;
25
- takeSnapshots: (typeof snapshots)['takeSnapshots'];
25
+ takeSnapshots: typeof snapshots['takeSnapshots'];
26
26
  _debugMode: boolean;
27
27
  constructor({ player, orgId }: ITreble);
28
28
  createOrder: (order?: IOrder) => Promise<import("../http/orders").IOrderResponse>;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import type React from 'react';
2
2
  export interface IIconProps {
3
3
  color?: string;
4
4
  }
@@ -395,7 +395,7 @@ var launch = function (launchConfig) {
395
395
  if (!!window.threekitPlayer) return [3, 6];
396
396
  return [4, new Promise(function (resolve) {
397
397
  var script = document.createElement('script');
398
- script.src = "".concat(threekitDomain, "/app/js/threekit-player-bundle.js");
398
+ script.src = "".concat(threekitDomain, "/app/js/threekit-player-bundle.js?bearer_token=").concat(authToken);
399
399
  script.id = 'threekit-player-bundle';
400
400
  script.onload = function () { return resolve(); };
401
401
  document.head.appendChild(script);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threekit-tools/treble",
3
- "version": "0.0.101",
3
+ "version": "0.0.103",
4
4
  "author": "Amaan Saeed",
5
5
  "license": "MIT",
6
6
  "files": [