@hotwax/dxp-components 1.3.2 → 1.3.3

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.
@@ -49,7 +49,7 @@ var _default = (0, _vue.defineComponent)({
49
49
  },
50
50
  oms: appOms
51
51
  });
52
- _index.loginContext.confirmSessionEnd('dev-oms').then(isConfirmed => {
52
+ _index.loginContext.confirmSessionEnd(appOms).then(isConfirmed => {
53
53
  isConfirmed ? this.handleUserFlow(token, oms, expirationTime) : this.router.push('/');
54
54
  });
55
55
  } else {
@@ -47,6 +47,4 @@ export declare const useAuthStore: import("pinia").StoreDefinition<"userAuth", {
47
47
  };
48
48
  oms: string;
49
49
  }>) => boolean | "";
50
- }, {
51
- authenticate(): Promise<void>;
52
- }>;
50
+ }, {}>;
package/lib/store/auth.js CHANGED
@@ -28,17 +28,6 @@ const useAuthStore = (0, _pinia.defineStore)('userAuth', {
28
28
  return state.token.value && !isTokenExpired;
29
29
  }
30
30
  },
31
- actions: {
32
- // TODO will be done once backend support is there
33
- async authenticate() {
34
- // try {
35
- // // authenticate through cookies
36
- // return this.token
37
- // } catch (error) {
38
- // console.log(error)
39
- // }
40
- }
41
- },
42
31
  persist: true
43
32
  });
44
33
  exports.useAuthStore = useAuthStore;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotwax/dxp-components",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",