@hostlink/nuxt-light 1.55.2 → 1.56.0

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "light",
3
3
  "configKey": "light",
4
- "version": "1.55.2",
4
+ "version": "1.56.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -3,7 +3,7 @@ import { useI18n } from "vue-i18n";
3
3
  import { ref, watch, computed } from "vue";
4
4
  import { useQuasar, format } from "quasar";
5
5
  import { q, m, useLight } from "#imports";
6
- import { getApiClient } from "@hostlink/light";
6
+ import { getApiClient, getGrantedRights } from "@hostlink/light";
7
7
  const api = getApiClient();
8
8
  import { getDrive, listDrives } from "@hostlink/light";
9
9
  const { humanStorageSize } = format;
@@ -387,7 +387,7 @@ const reloadStorage = async () => {
387
387
  label.value = null;
388
388
  await loadItems();
389
389
  };
390
- const permission = await api.auth.granted([
390
+ const permission = await getGrantedRights([
391
391
  "fs.folder.create",
392
392
  "fs.folder.delete",
393
393
  "fs.folder.rename",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/nuxt-light",
3
- "version": "1.55.2",
3
+ "version": "1.56.0",
4
4
  "description": "HostLink Nuxt Light Framework",
5
5
  "repository": {
6
6
  "type": "git",