@thefittingroom/shop-ui 0.0.7 → 0.0.8

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/README.md CHANGED
@@ -26,7 +26,7 @@ const shopId: number = 9001
26
26
  const hooks: TfrHooks = {
27
27
  onLoading: () => {},
28
28
  onLoadingComplete: () => {},
29
- onAvatarReady: (frames: string[]) => {},
29
+ onVtoReady: (frames: string[]) => {},
30
30
  onError: () => {},
31
31
  onLogin: () => {},
32
32
  onLogout: () => {},
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * thefittingroom v0.0.7 (2023-07-19T19:26:21.510Z)
2
+ * thefittingroom v0.0.8 (2023-07-26T17:22:58.790Z)
3
3
  * Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
4
4
  */
5
5
  /*!
@@ -36286,8 +36286,8 @@ class FittingRoom {
36286
36286
  this.hooks.onLoading();
36287
36287
  const frames = await this.tfrShop.tryOn(this.sku);
36288
36288
  this.nav.close();
36289
- if (this.hooks.onAvatarReady)
36290
- this.hooks.onAvatarReady(frames);
36289
+ if (this.hooks.onVtoReady)
36290
+ this.hooks.onVtoReady(frames);
36291
36291
  }
36292
36292
  catch (error) {
36293
36293
  if (error instanceof errors.AvatarNotCreatedError)