@thefittingroom/shop-ui 0.0.4 → 0.0.5

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/.env.dev CHANGED
@@ -1,3 +1,2 @@
1
- NODE_ENV=dev
2
1
  LANGUAGE_URL=https://assets.dev.thefittingroom.xyz/shop-sdk/${GITHUB_SHA_7}/languages
3
2
  ASSETS_URL=https://assets.dev.thefittingroom.xyz/shop-sdk/assets
package/.env.prod CHANGED
@@ -1,3 +1,2 @@
1
- NODE_ENV=prod
2
1
  LANGUAGE_URL=https://assets.p.thefittingroom.xyz/shop-sdk/${GITHUB_REF}/languages
3
2
  ASSETS_URL=https://assets.p.thefittingroom.xyz/shop-sdk/assets
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * thefittingroom v0.0.4 (2023-07-19T15:30:35.007Z)
2
+ * thefittingroom v0.0.5 (2023-07-19T15:33:11.693Z)
3
3
  * Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
4
4
  */
5
5
  /*!
@@ -36178,7 +36178,7 @@ class FittingRoom {
36178
36178
  this.shopId = shopId;
36179
36179
  this.hooks = hooks;
36180
36180
  this.nav = new FittingRoomNav(modalDivId, this.signIn.bind(this), this.forgotPassword.bind(this), this.submitTel.bind(this));
36181
- this.tfrShop = initShop(Number(this.shopId), "prod");
36181
+ this.tfrShop = initShop(Number(this.shopId), process.env.NODE_ENV);
36182
36182
  }
36183
36183
  get sku() {
36184
36184
  return this.nav.sku;