@tapni/auth 0.0.166 → 0.0.168

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "0.0.166",
3
+ "version": "0.0.168",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
package/src/store/auth.js CHANGED
@@ -460,8 +460,10 @@ export default {
460
460
  }
461
461
  });
462
462
  } else {
463
- if (state.display === "redirect" || state.display === "npm") {
464
- return router.push('/');
463
+ if (state.display === "redirect") {
464
+ return router.push('/welcome');
465
+ } else if (state.display === "npm") {
466
+ EventBus.$emit("ssoEvent", { name: "redirect", data: "/welcome" });
465
467
  }
466
468
  }
467
469
  },