@helia/http 0.9.0-ce74026 → 0.9.0-db7d091
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 +4 -4
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/package.json +5 -5
- package/src/index.ts +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
* fs.cat(CID.parse('bafyFoo'))
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
|
-
import { type HeliaInit } from '@helia/
|
|
45
|
+
import { type HeliaInit } from '@helia/utils';
|
|
46
46
|
import type { Helia } from '@helia/interface';
|
|
47
47
|
export * from '@helia/interface';
|
|
48
48
|
export interface HeliaHTTPInit extends HeliaInit {
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAIH,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAGlE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAI7C,cAAc,kBAAkB,CAAA;AAEhC,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED;;;GAGG;AACH,wBAAsB,eAAe,CAAE,IAAI,GAAE,OAAO,CAAC,aAAa,CAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAqBxF"}
|
package/dist/src/index.js
CHANGED
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
45
|
import { trustlessGateway } from '@helia/block-brokers';
|
|
46
|
-
import { Helia as HeliaClass } from '@helia/core';
|
|
47
46
|
import { delegatedHTTPRouting } from '@helia/routers';
|
|
47
|
+
import { Helia as HeliaClass } from '@helia/utils';
|
|
48
48
|
import { MemoryBlockstore } from 'blockstore-core';
|
|
49
49
|
import { MemoryDatastore } from 'datastore-core';
|
|
50
50
|
// re-export interface types so people don't have to depend on @helia/interface
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,EAAE,KAAK,IAAI,UAAU,EAAkB,MAAM,cAAc,CAAA;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAGhD,+EAA+E;AAC/E,wBAAwB;AACxB,cAAc,kBAAkB,CAAA;AAShC;;;GAGG;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;SACnD;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": "0.9.0-
|
|
3
|
+
"version": "0.9.0-db7d091",
|
|
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",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"test:electron-main": "aegir test -t electron-main"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@helia/block-brokers": "1.0.0-
|
|
57
|
-
"@helia/
|
|
58
|
-
"@helia/
|
|
59
|
-
"@helia/
|
|
56
|
+
"@helia/block-brokers": "1.0.0-db7d091",
|
|
57
|
+
"@helia/interface": "3.0.1-db7d091",
|
|
58
|
+
"@helia/routers": "0.0.0-db7d091",
|
|
59
|
+
"@helia/utils": "0.0.0-db7d091",
|
|
60
60
|
"blockstore-core": "^4.3.8",
|
|
61
61
|
"datastore-core": "^9.2.6"
|
|
62
62
|
},
|
package/src/index.ts
CHANGED
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
*/
|
|
45
45
|
|
|
46
46
|
import { trustlessGateway } from '@helia/block-brokers'
|
|
47
|
-
import { Helia as HeliaClass, type HeliaInit } from '@helia/core'
|
|
48
47
|
import { delegatedHTTPRouting } from '@helia/routers'
|
|
48
|
+
import { Helia as HeliaClass, type HeliaInit } from '@helia/utils'
|
|
49
49
|
import { MemoryBlockstore } from 'blockstore-core'
|
|
50
50
|
import { MemoryDatastore } from 'datastore-core'
|
|
51
51
|
import type { Helia } from '@helia/interface'
|