hypercore-fetch 9.1.0 → 9.2.0

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.
Files changed (2) hide show
  1. package/index.js +5 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -40,6 +40,11 @@ async function DEFAULT_RENDER_INDEX (url, files, fetch) {
40
40
  `
41
41
  }
42
42
 
43
+ // Support gemini files
44
+ mime.define({
45
+ 'text/gemini': ['gmi', 'gemini']
46
+ }, true)
47
+
43
48
  export default async function makeHyperFetch ({
44
49
  sdk,
45
50
  writable = false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore-fetch",
3
- "version": "9.1.0",
3
+ "version": "9.2.0",
4
4
  "description": "Implementation of Fetch that uses the Dat SDK for loading p2p content",
5
5
  "type": "module",
6
6
  "main": "index.js",