@thefittingroom/shop-ui 0.0.15 → 0.1.0

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/dist/esm/tfr.d.ts CHANGED
@@ -12,9 +12,10 @@ export interface TfrHooks {
12
12
  export declare class FittingRoom {
13
13
  private readonly shopId;
14
14
  private readonly hooks;
15
+ private readonly tryOnEnabled;
15
16
  readonly nav: FittingRoomNav;
16
17
  private readonly tfrShop;
17
- constructor(shopId: string | number, modalDivId: string, hooks?: TfrHooks, _env?: string);
18
+ constructor(shopId: string | number, modalDivId: string, hooks?: TfrHooks, tryOnEnabled?: boolean, _env?: string);
18
19
  get sku(): string;
19
20
  get shop(): TfrShop;
20
21
  onInit(): Promise<boolean>;
@@ -22,9 +23,11 @@ export declare class FittingRoom {
22
23
  close(): void;
23
24
  signOut(): Promise<void>;
24
25
  signIn(username: string, password: string, validationError: (message: string) => void): Promise<void>;
26
+ setBrandUserId(brandUserId: string | number): void;
25
27
  submitTel(tel: string): Promise<void>;
26
28
  forgotPassword(email: string): Promise<void>;
27
29
  passwordReset(code: string, newPassword: string): Promise<void>;
28
30
  getRecommendedSizeString(styleId: string): Promise<string>;
31
+ onSignInClick(): void;
29
32
  tryOn(): Promise<void>;
30
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thefittingroom/shop-ui",
3
- "version": "0.0.15",
3
+ "version": "0.1.0",
4
4
  "description": "the fitting room UI library",
5
5
  "type": "module",
6
6
  "main": "./dist/esm/index.js",
@@ -32,6 +32,6 @@
32
32
  "typescript": "^4.0.2"
33
33
  },
34
34
  "dependencies": {
35
- "@thefittingroom/sdk": "0.0.10"
35
+ "@thefittingroom/sdk": "0.0.11"
36
36
  }
37
37
  }