@tapni/auth 0.0.5 → 0.0.7

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.5",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
package/src/App.vue CHANGED
@@ -123,8 +123,15 @@ export default {
123
123
  },
124
124
  methods: {
125
125
  async init () {
126
- const storage = await StorageService.getAll();
127
- await this.setStorage(storage)
126
+ await this.initializeStorage({
127
+ 'realm': '',
128
+ 'token': '',
129
+ 'refreshTokens': '',
130
+ 'username': '',
131
+ 'UserId': '',
132
+ 'verifyEmail': '',
133
+ 'subdomain': ''
134
+ });
128
135
 
129
136
  if (this.storage && this.storage.token && this.storage.refreshTokens) {
130
137
  this.setToken(this.storage.token);