@tapni/auth 0.0.37 → 0.0.38

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.37",
3
+ "version": "0.0.38",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -283,7 +283,7 @@ export default {
283
283
  return console.log("Redirect URI not allowed");
284
284
  }
285
285
 
286
- location.href =
286
+ location.href = -
287
287
  this.redirect_uri +
288
288
  "?code=" +
289
289
  response.data.auth_code +
@@ -469,7 +469,6 @@ export default {
469
469
  }
470
470
  },
471
471
  getRefreshTokens() {
472
- console.log('getRefreshTokens', this.$storage, this.$storageApp);
473
472
  return this.$storage.refreshTokens.split(',');
474
473
  },
475
474
  setRefreshToken(token) {
@@ -484,7 +483,6 @@ export default {
484
483
  EventBus.$emit("ssoEvent", { name: "setRefreshToken", data: token });
485
484
  },
486
485
  setToken(token) {
487
- console.log('setup token')
488
486
  this.$storage.token = token;
489
487
  this.token = token;
490
488
  EventBus.$emit("ssoEvent", { name: "setToken", data: token });
@@ -199,9 +199,6 @@ export default {
199
199
  try {
200
200
  const fromBase64 = base64String => Uint8Array.from(atob(base64String), c => c.charCodeAt(0));
201
201
 
202
- //console.log("key: " + key);
203
- //console.log("iv: " + iv);
204
-
205
202
  data = data.replace(/ /g, '+');
206
203
 
207
204
  const encoder = new TextEncoder();
@@ -24,7 +24,7 @@
24
24
  />
25
25
  </i>
26
26
  </a>
27
- <h1 class="bold no-bottom center-text" style="margin-top: 63px;" @click="bum">
27
+ <h1 class="bold no-bottom center-text" style="margin-top: 63px;">
28
28
  {{ this.ssoLang[this.appLanguage].login }}
29
29
  </h1>
30
30
  <p class="half-bottom small-top center-text color-black"></p>
@@ -329,10 +329,6 @@ export default {
329
329
  }
330
330
  },
331
331
  methods: {
332
- bum () {
333
- console.log('lo', this.$storage);
334
- this.$storage.verifyEmail = '123123123';
335
- },
336
332
  async submit() {
337
333
  // if (this.captcha === '') return this._vm.errorHandler({ message: 'Please select recaptcha' });
338
334
  if (this.submitted) return;