nuxt-file-storage 0.2.2 → 0.2.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/README.md CHANGED
@@ -112,7 +112,7 @@ export default defineEventHandler(async (event) => {
112
112
 
113
113
  await storeFileLocally(
114
114
  file.content, // the stringified version of the file
115
- file.name, // the name of the file
115
+ 8, // you can add a name for the file or length of Unique ID that will be automatically generated!
116
116
  '/userFiles' // the folder the file will be stored in
117
117
  )
118
118
 
@@ -157,4 +157,4 @@ npm run dev
157
157
  [license-src]: https://img.shields.io/npm/l/nuxt-file-storage.svg?style=flat&colorA=18181B&colorB=28CF8D
158
158
  [license-href]: https://npmjs.com/package/nuxt-file-storage
159
159
  [nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
160
- [nuxt-href]: https://nuxt.com
160
+ [nuxt-href]: https://nuxt.com/modules/nuxt-file-storage
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-file-storage",
3
3
  "configKey": "fileStorage",
4
- "version": "0.2.2"
4
+ "version": "0.2.3"
5
5
  }
package/dist/module.mjs CHANGED
@@ -7,6 +7,7 @@ const module = defineNuxtModule({
7
7
  configKey: "fileStorage"
8
8
  },
9
9
  //? Default configuration options of the Nuxt module
10
+ //! no defaults for now
10
11
  // defaults: {
11
12
  // mount: 'userFiles',
12
13
  // },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-file-storage",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Easy solution to store files in your nuxt apps. Be able to upload files from the frontend and recieve them from the backend to then save the files in your project.",
5
5
  "repository": "NyllRE/nuxt-file-storage",
6
6
  "license": "MIT",