@abi-software/flatmapvuer 0.6.1-auth.3 → 0.6.1-auth.5

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": "@abi-software/flatmapvuer",
3
- "version": "0.6.1-auth.3",
3
+ "version": "0.6.1-auth.5",
4
4
  "license": "Apache-2.0",
5
5
  "files": [
6
6
  "dist/*",
@@ -306,6 +306,7 @@ export default {
306
306
  `${this.flatmapAPI}annotator`
307
307
  )
308
308
  }
309
+ console.log("🚀 ~ flatmapvuer userToken ~ state:", this.userApiKey)
309
310
  this.$annotator.authenticate(this.userApiKey).then((userData) => {
310
311
  if (userData.name && userData.email) {
311
312
  this.authenticated = true
package/src/main.js CHANGED
@@ -6,4 +6,4 @@ const pinia = createPinia()
6
6
  const app = createApp(App)
7
7
 
8
8
  app.use(pinia)
9
- app.mount('#app')
9
+ app.mount('#app')
@@ -5,17 +5,10 @@ export const useMainStore = defineStore('main', {
5
5
  userProfile: {
6
6
  token: ''
7
7
  },
8
- marker: 'flatmapvuer marker'
9
8
  }),
10
9
  getters: {
11
10
  userToken(state) {
12
11
  return state.userProfile.token
13
12
  },
14
13
  },
15
- actions: {
16
-
17
- },
18
- persist: {
19
-
20
- }
21
14
  })