@d-mok/quasar-app-extension-quasar-axe 2.1.13 → 2.1.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": "@d-mok/quasar-app-extension-quasar-axe",
3
- "version": "2.1.13",
3
+ "version": "2.1.15",
4
4
  "description": "A Quasar App Extension",
5
5
  "author": "d-mok <49301824+d-mok@users.noreply.github.com>",
6
6
  "license": "MIT",
@@ -59,7 +59,7 @@ export class MySupabaseClient extends SupabaseClient {
59
59
  setInterval(() => {
60
60
  if (this.session === null) this.signIn()
61
61
  }, 1000)
62
- waitFor(
62
+ await waitFor(
63
63
  () => this.session !== null,
64
64
  '[Wait for SignIn] waiting...',
65
65
  '[Wait for SignIn] DONE!'
@@ -67,7 +67,9 @@ export class MySupabaseClient extends SupabaseClient {
67
67
  }
68
68
  }
69
69
 
70
- export let supabase = new MySupabaseClient()
70
+ export let supabase: MySupabaseClient
71
+ if (SUPABASE_URL !== '' && SUPABASE_KEY !== '')
72
+ supabase = new MySupabaseClient()
71
73
 
72
74
  export function HANDLE_ERROR<T>(
73
75
  data: T[] | T | null,