@helia/http 2.1.0 → 2.1.1-e3522f5
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/index.min.js +3 -3
- package/dist/index.min.js.map +3 -3
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js.map +1 -1
- package/package.json +7 -7
- package/src/index.ts +2 -1
- package/dist/typedoc-urls.json +0 -8
package/dist/src/index.d.ts
CHANGED
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
* fs.cat(CID.parse('bafyFoo'))
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
|
-
import { type HeliaInit } from '@helia/utils';
|
|
47
46
|
import type { Helia } from '@helia/interface';
|
|
47
|
+
import type { HeliaInit } from '@helia/utils';
|
|
48
48
|
export * from '@helia/interface';
|
|
49
49
|
export interface HeliaHTTPInit extends HeliaInit {
|
|
50
50
|
/**
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAOH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAI7C,cAAc,kBAAkB,CAAA;AAEhC,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED;;;GAGG;AACH,wBAAsB,aAAa,CAAE,IAAI,GAAE,OAAO,CAAC,aAAa,CAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAgB9F;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAE,IAAI,GAAE,OAAO,CAAC,aAAa,CAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAsBxF"}
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACzE,OAAO,EAAE,KAAK,IAAI,UAAU,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACzE,OAAO,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAIhD,+EAA+E;AAC/E,wBAAwB;AACxB,cAAc,kBAAkB,CAAA;AAShC;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAE,OAA+B,EAAE;IACpE,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,IAAI,eAAe,EAAE,CAAA;IACzD,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,IAAI,gBAAgB,EAAE,CAAA;IAE5D,OAAO;QACL,GAAG,IAAI;QACP,SAAS;QACT,UAAU;QACV,YAAY,EAAE,IAAI,CAAC,YAAY,IAAI;YACjC,gBAAgB,EAAE;SACnB;QACD,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI;YACvB,oBAAoB,CAAC,4BAA4B,CAAC;YAClD,kBAAkB,EAAE;SACrB;KACF,CAAA;AACH,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CAAE,OAA+B,EAAE;IACtE,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,IAAI,eAAe,EAAE,CAAA;IACzD,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,IAAI,gBAAgB,EAAE,CAAA;IAE5D,MAAM,KAAK,GAAG,IAAI,UAAU,CAAC;QAC3B,GAAG,IAAI;QACP,SAAS;QACT,UAAU;QACV,YAAY,EAAE,IAAI,CAAC,YAAY,IAAI;YACjC,gBAAgB,EAAE;SACnB;QACD,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI;YACvB,oBAAoB,CAAC,4BAA4B,CAAC;YAClD,kBAAkB,EAAE;SACrB;KACF,CAAC,CAAA;IAEF,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,EAAE,CAAC;QACzB,MAAM,KAAK,CAAC,KAAK,EAAE,CAAA;IACrB,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helia/http",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1-e3522f5",
|
|
4
4
|
"description": "A lightweight implementation of IPFS over HTTP in JavaScript",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/ipfs/helia/tree/main/packages/http#readme",
|
|
@@ -54,19 +54,19 @@
|
|
|
54
54
|
"test:electron-main": "aegir test -t electron-main"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@helia/block-brokers": "
|
|
58
|
-
"@helia/interface": "
|
|
59
|
-
"@helia/routers": "
|
|
60
|
-
"@helia/utils": "
|
|
57
|
+
"@helia/block-brokers": "4.2.1-e3522f5",
|
|
58
|
+
"@helia/interface": "5.3.1-e3522f5",
|
|
59
|
+
"@helia/routers": "3.1.1-e3522f5",
|
|
60
|
+
"@helia/utils": "1.3.1-e3522f5",
|
|
61
61
|
"blockstore-core": "^5.0.2",
|
|
62
62
|
"datastore-core": "^10.0.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@libp2p/interface": "^2.2.1",
|
|
66
|
-
"aegir": "^
|
|
66
|
+
"aegir": "^46.0.1",
|
|
67
67
|
"interface-datastore": "^8.3.1",
|
|
68
68
|
"multiformats": "^13.3.1",
|
|
69
|
-
"sinon": "^
|
|
69
|
+
"sinon": "^20.0.0",
|
|
70
70
|
"sinon-ts": "^2.0.0"
|
|
71
71
|
},
|
|
72
72
|
"sideEffects": false
|
package/src/index.ts
CHANGED
|
@@ -46,10 +46,11 @@
|
|
|
46
46
|
|
|
47
47
|
import { trustlessGateway } from '@helia/block-brokers'
|
|
48
48
|
import { delegatedHTTPRouting, httpGatewayRouting } from '@helia/routers'
|
|
49
|
-
import { Helia as HeliaClass
|
|
49
|
+
import { Helia as HeliaClass } from '@helia/utils'
|
|
50
50
|
import { MemoryBlockstore } from 'blockstore-core'
|
|
51
51
|
import { MemoryDatastore } from 'datastore-core'
|
|
52
52
|
import type { Helia } from '@helia/interface'
|
|
53
|
+
import type { HeliaInit } from '@helia/utils'
|
|
53
54
|
|
|
54
55
|
// re-export interface types so people don't have to depend on @helia/interface
|
|
55
56
|
// if they don't want to
|
package/dist/typedoc-urls.json
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"HeliaHTTPInit": "https://ipfs.github.io/helia/interfaces/_helia_http.HeliaHTTPInit.html",
|
|
3
|
-
".:HeliaHTTPInit": "https://ipfs.github.io/helia/interfaces/_helia_http.HeliaHTTPInit.html",
|
|
4
|
-
"createHeliaHTTP": "https://ipfs.github.io/helia/functions/_helia_http.createHeliaHTTP.html",
|
|
5
|
-
".:createHeliaHTTP": "https://ipfs.github.io/helia/functions/_helia_http.createHeliaHTTP.html",
|
|
6
|
-
"heliaDefaults": "https://ipfs.github.io/helia/functions/_helia_http.heliaDefaults.html",
|
|
7
|
-
".:heliaDefaults": "https://ipfs.github.io/helia/functions/_helia_http.heliaDefaults.html"
|
|
8
|
-
}
|