@tapni/auth 0.0.14 → 0.0.15

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.14",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -31,15 +31,6 @@ export default {
31
31
  },
32
32
  },
33
33
  async created () {
34
- await this.initializeStorage({
35
- 'realm': '',
36
- 'token': '',
37
- 'refreshTokens': '',
38
- 'username': '',
39
- 'UserId': '',
40
- 'verifyEmail': '',
41
- 'subdomain': ''
42
- });
43
34
  },
44
35
  methods: {
45
36
  errorHandler(error) {
@@ -24,7 +24,7 @@
24
24
  />
25
25
  </i>
26
26
  </a>
27
- <h1 class="bold no-bottom center-text" style="margin-top: 63px;">
27
+ <h1 class="bold no-bottom center-text" style="margin-top: 63px;" @click="bum">
28
28
  {{ this.ssoLang[this.appLang].login }}
29
29
  </h1>
30
30
  <p class="half-bottom small-top center-text color-black"></p>
@@ -371,6 +371,18 @@ export default {
371
371
  createAccountModal() {
372
372
  EventBus.$emit('ssoEvent', {name: 'toggleAddAccountModalRegister', data: {}})
373
373
  },
374
+ async bum () {
375
+ this.storage.token = '321213';
376
+ await this.initializeStorage({
377
+ 'realm': '',
378
+ 'token': '',
379
+ 'refreshTokens': '',
380
+ 'username': '',
381
+ 'UserId': '',
382
+ 'verifyEmail': '',
383
+ 'subdomain': ''
384
+ });
385
+ }
374
386
  },
375
387
  watch: {
376
388
  emailOrUsername(nv) {