@jd-data-limited/easy-fm 3.2.0 → 3.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jd-data-limited/easy-fm",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "dependencies": {
5
5
  "@types/btoa": "^1.2.3",
6
6
  "@types/events": "^3.0.0",
@@ -168,7 +168,7 @@ export class Field {
168
168
  }
169
169
  return {
170
170
  data,
171
- mime: res.headers["content-type"]
171
+ mime: res.headers.get("content-type")
172
172
  };
173
173
  });
174
174
  }
@@ -177,7 +177,7 @@ export class Field<T extends FieldValue> {
177
177
 
178
178
  return {
179
179
  data,
180
- mime: res.headers["content-type"]
180
+ mime: res.headers.get("content-type")
181
181
  }
182
182
  }
183
183
  }