nuxt-directus-sdk 5.0.1 → 5.0.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-directus-sdk",
3
- "version": "5.0.1",
3
+ "version": "5.0.3",
4
4
  "configKey": "directus",
5
5
  "compatibility": {
6
6
  "nuxt": "^4.0.0"
package/dist/module.mjs CHANGED
@@ -6,7 +6,7 @@ import { generateTypes } from '../dist/runtime/types/index.js';
6
6
  import { useUrl } from '../dist/runtime/utils/index.js';
7
7
 
8
8
  const name = "nuxt-directus-sdk";
9
- const version = "5.0.1";
9
+ const version = "5.0.3";
10
10
 
11
11
  const configKey = "directus";
12
12
  const logger = useLogger("nuxt-directus-sdk");
@@ -13,7 +13,7 @@ export async function uploadDirectusFiles(files, query) {
13
13
  formData.set(key, value);
14
14
  });
15
15
  }
16
- formData.set("file", file);
16
+ formData.append("file", file);
17
17
  });
18
18
  return directus.request(uploadFiles(formData, query));
19
19
  }
package/package.json CHANGED
@@ -1,14 +1,30 @@
1
1
  {
2
2
  "name": "nuxt-directus-sdk",
3
3
  "type": "module",
4
- "version": "5.0.1",
5
- "description": "A Directus nuxt module that uses the Directus SDK",
4
+ "version": "5.0.3",
5
+ "description": "A Nuxt module for Directus with built-in authentication, realtime, file management, type generation, and visual editor support.",
6
6
  "author": "Matthew Rollinson <matt@rolley.io>",
7
7
  "license": "MIT",
8
+ "homepage": "https://nuxt-directus-sdk.rolley.io",
8
9
  "repository": {
9
10
  "type": "git",
10
11
  "url": "https://github.com/rolleyio/nuxt-directus-sdk"
11
12
  },
13
+ "bugs": {
14
+ "url": "https://github.com/rolleyio/nuxt-directus-sdk/issues"
15
+ },
16
+ "keywords": [
17
+ "nuxt",
18
+ "nuxt-module",
19
+ "directus",
20
+ "cms",
21
+ "headless-cms",
22
+ "sdk",
23
+ "ssr",
24
+ "realtime",
25
+ "authentication",
26
+ "visual-editor"
27
+ ],
12
28
  "exports": {
13
29
  ".": {
14
30
  "types": "./dist/module.d.mts",
@@ -28,6 +44,9 @@
28
44
  "files": [
29
45
  "dist"
30
46
  ],
47
+ "engines": {
48
+ "node": ">=18.0.0"
49
+ },
31
50
  "scripts": {
32
51
  "prepack": "nuxt-module-build build",
33
52
  "dev": "nuxi dev playground",