@tapni/auth 0.0.73 → 0.0.74

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.73",
3
+ "version": "0.0.74",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -510,12 +510,13 @@ export default {
510
510
 
511
511
  this.$storage.refreshTokens = refreshTokens.join(",");
512
512
 
513
+ EventBus.$emit("setStorage", this.$storage);
513
514
  EventBus.$emit("ssoEvent", { name: "setRefreshToken", data: token });
514
515
  },
515
516
  setToken(token) {
516
517
  this.$storage.token = token;
517
518
  this.token = token;
518
- EventBus.$emit("ssoEvent", { name: "setToken", data: token });
519
+ EventBus.$emit("setStorage", this.$storage);
519
520
  },
520
521
  setUserID(userID) {
521
522
  this.$storage.UserId = userID;