nuxt-ui-elements 0.1.28 → 0.1.29

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": "nuxt-ui-elements",
3
3
  "configKey": "uiElements",
4
- "version": "0.1.28",
4
+ "version": "0.1.29",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -1,4 +1,4 @@
1
- type PathHttpHeaders = import("@azure/storage-file-datalake").PathHttpHeaders;
1
+ import { type PathHttpHeaders } from "@azure/storage-file-datalake";
2
2
  export interface AzureDataLakeOptions {
3
3
  /**
4
4
  * Static SAS URL for Azure Data Lake Storage
@@ -42,4 +42,3 @@ export interface AzureUploadResult {
42
42
  blobPath: string;
43
43
  }
44
44
  export declare const PluginAzureDataLake: (options: AzureDataLakeOptions) => import("../../types.js").Plugin<any, Record<string, never>>;
45
- export {};
@@ -1,7 +1,7 @@
1
1
  import { ref } from "vue";
2
+ import { DataLakeDirectoryClient } from "@azure/storage-file-datalake";
2
3
  import { defineUploaderPlugin } from "../../types.js";
3
4
  export const PluginAzureDataLake = defineUploaderPlugin((options) => {
4
- let DataLakeDirectoryClient;
5
5
  const sasURL = ref(options.sasURL || "");
6
6
  let refreshPromise = null;
7
7
  const directoryCheckedCache = /* @__PURE__ */ new Set();
@@ -24,10 +24,6 @@ export const PluginAzureDataLake = defineUploaderPlugin((options) => {
24
24
  }
25
25
  };
26
26
  const getFileClient = async (blobName) => {
27
- if (!DataLakeDirectoryClient) {
28
- const module = await import("@azure/storage-file-datalake");
29
- DataLakeDirectoryClient = module.DataLakeDirectoryClient;
30
- }
31
27
  if (options.getSASUrl && isTokenExpired(sasURL.value)) {
32
28
  if (!refreshPromise) {
33
29
  refreshPromise = options.getSASUrl().then((url) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-ui-elements",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "description": "A collection of beautiful, animated UI components for Nuxt applications",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/genu/nuxt-ui-elements.git",
@@ -42,7 +42,7 @@
42
42
  "@nuxt/test-utils": "^3.23.0",
43
43
  "@types/culori": "^4.0.1",
44
44
  "@types/node": "latest",
45
- "@vitest/coverage-v8": "^4.0.16",
45
+ "@vitest/coverage-v8": "^4.0.17",
46
46
  "changelogen": "^0.6.2",
47
47
  "eslint": "^9.39.2",
48
48
  "eslint-config-prettier": "10.1.8",
@@ -50,7 +50,7 @@
50
50
  "nuxt": "^4.2.2",
51
51
  "prettier": "^3.7.4",
52
52
  "typescript": "~5.9.3",
53
- "vitest": "^4.0.16",
53
+ "vitest": "^4.0.17",
54
54
  "vue-tsc": "^3.2.2"
55
55
  },
56
56
  "peerDependencies": {