@tapni/auth 0.0.119 → 0.0.121
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/dist/.vite/manifest.json +6 -6
- package/dist/{Account-HviGmWOw.js → Account-J0z1Zat6.js} +1 -1
- package/dist/{QR-lJ0KyGvG.js → QR-zoSiF1uz.js} +1 -1
- package/dist/TapniAuth.es.js +3 -2
- package/dist/TapniAuth.umd.js +17 -17
- package/dist/{install-Ii2MI8ry.js → install-V51PR5HP.js} +3731 -2924
- package/package.json +1 -1
- package/src/App.vue +2 -0
- package/src/install.js +7 -1
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -96,8 +96,10 @@ import {EventBus} from "./store/event-bus.js";
|
|
|
96
96
|
import AuthMixin from "@/mixins/auth.mixin.js";
|
|
97
97
|
import Language from "@/components/Language.vue";
|
|
98
98
|
import ReactiveStorage from '@tapni/capacitor-reactive-localstorage-vue3'
|
|
99
|
+
import store from './store/store.js';
|
|
99
100
|
|
|
100
101
|
export default {
|
|
102
|
+
store,
|
|
101
103
|
name: 'TapniAuth',
|
|
102
104
|
mixins: [ReactiveStorage, AuthMixin],
|
|
103
105
|
data () {
|
package/src/install.js
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
|
+
import Vue from 'vue'; // Import Vue
|
|
1
2
|
import App from "./App.vue";
|
|
2
|
-
import
|
|
3
|
+
import store from './store/store.js';
|
|
4
|
+
import AuthMixin from './mixins/auth.mixin.js';
|
|
5
|
+
|
|
6
|
+
// Register Vuex globally
|
|
7
|
+
Vue.use(store);
|
|
3
8
|
|
|
4
9
|
// Export the component by default
|
|
5
10
|
export default {
|
|
6
11
|
TapniAuth: App,
|
|
7
12
|
AuthMixin: AuthMixin,
|
|
8
13
|
install: (app, options) => {
|
|
14
|
+
// Register the component
|
|
9
15
|
app.component('TapniAuth', App);
|
|
10
16
|
}
|
|
11
17
|
};
|