@tapni/auth 0.0.21 → 0.0.23

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.21",
3
+ "version": "0.0.23",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
package/src/main.js CHANGED
@@ -4,8 +4,6 @@ import "./styles/style.css";
4
4
  import { createApp } from 'vue'
5
5
  import RootApp from './App.vue'
6
6
  import router from './router'
7
- import GlobalMixin from './mixins/global.mixin'
8
- // import {StorageMixin} from "@tapni/capacitor-reactive-localstorage-vue3";
9
7
  import VueCookies from 'vue-cookies'
10
8
  import { App } from '@capacitor/app';
11
9
  import { Browser } from '@capacitor/browser';
@@ -17,12 +15,6 @@ app.config.productionTip = false
17
15
  // Cookies
18
16
  app.use(VueCookies)
19
17
 
20
- // Global Mixin
21
- app.mixin(GlobalMixin);
22
-
23
- // Reactive Storage
24
- // app.mixin(StorageMixin);
25
-
26
18
  app.use(router)
27
19
 
28
20
  app.mount('#app')
@@ -18,8 +18,9 @@ import tr from "../store/locales/tr.js";
18
18
  import cn from "../store/locales/cn.js";
19
19
  import kr from "../store/locales/kr.js";
20
20
  import { StorageMixin } from '@tapni/capacitor-reactive-localstorage-vue3'
21
+ import GlobalMixin from './global.mixin'
21
22
  export default {
22
- mixins: [StorageMixin],
23
+ mixins: [StorageMixin, GlobalMixin],
23
24
  data() {
24
25
  return {
25
26
  appLanguage: "en",
@@ -475,6 +476,7 @@ export default {
475
476
  }
476
477
  },
477
478
  getRefreshTokens() {
479
+ console.log('getRefreshTokens', this.storage, this.storageApp);
478
480
  return this.storage.refreshTokens.split(',');
479
481
  },
480
482
  setRefreshToken(token) {