@jrmc/adonis-attachment 2.4.0 → 2.4.1

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.
@@ -103,7 +103,7 @@ export class Attachment extends AttachmentBase {
103
103
  originalName: this.originalName,
104
104
  size: this.size,
105
105
  extname: this.extname,
106
- mimetype: this.mimeType,
106
+ mimeType: this.mimeType,
107
107
  meta: this.meta,
108
108
  };
109
109
  if (this.variants) {
@@ -111,7 +111,7 @@ export class Attachment extends AttachmentBase {
111
111
  data[v.key] = {
112
112
  name: v.name,
113
113
  extname: v.extname,
114
- mimetype: v.mimeType,
114
+ mimeType: v.mimeType,
115
115
  meta: v.meta,
116
116
  size: v.size,
117
117
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jrmc/adonis-attachment",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "type": "module",
5
5
  "description": "Turn any field on your Lucid model to an attachment data type",
6
6
  "engines": {