@helia/car 4.1.2 → 4.1.3-5a911c69
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 +1 -1
- package/dist/index.min.js.map +3 -3
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +2 -2
- package/dist/typedoc-urls.json +0 -20
package/dist/src/index.d.ts
CHANGED
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
* ```
|
|
77
77
|
*/
|
|
78
78
|
import type { CodecLoader } from '@helia/interface';
|
|
79
|
-
import type { PutManyBlocksProgressEvents, GetBlockProgressEvents } from '@helia/interface/blocks';
|
|
79
|
+
import type { PutManyBlocksProgressEvents, GetBlockProgressEvents, ProviderOptions } from '@helia/interface/blocks';
|
|
80
80
|
import type { CarWriter, CarReader } from '@ipld/car';
|
|
81
81
|
import type { AbortOptions, ComponentLogger } from '@libp2p/interface';
|
|
82
82
|
import type { Filter } from '@libp2p/utils/filters';
|
|
@@ -119,7 +119,7 @@ export interface ExportStrategy {
|
|
|
119
119
|
}
|
|
120
120
|
export * from './export-strategies/index.js';
|
|
121
121
|
export * from './traversal-strategies/index.js';
|
|
122
|
-
export interface ExportCarOptions extends AbortOptions, ProgressOptions<GetBlockProgressEvents
|
|
122
|
+
export interface ExportCarOptions extends AbortOptions, ProgressOptions<GetBlockProgressEvents>, ProviderOptions {
|
|
123
123
|
/**
|
|
124
124
|
* If true, the blockstore will not do any network requests.
|
|
125
125
|
*
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,k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AG,EAAE,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,IAAI,EAAE,SAAS,CAAC,CAAA;CACnG;AAED;;GAEG;AACH,wBAAgB,GAAG,CAAE,KAAK,EAAE,aAAa,EAAE,IAAI,GAAE,GAAQ,GAAG,GAAG,CAE9D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helia/car",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3-5a911c69",
|
|
4
4
|
"description": "Import/export car files from Helia",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/ipfs/helia/tree/main/packages/car#readme",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"test:electron-main": "aegir test -t electron-main"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@helia/interface": "
|
|
57
|
+
"@helia/interface": "5.4.0-5a911c69",
|
|
58
58
|
"@ipld/car": "^5.3.3",
|
|
59
59
|
"@ipld/dag-pb": "^4.1.3",
|
|
60
60
|
"@libp2p/interface": "^2.2.1",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"progress-events": "^1.0.1"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@helia/mfs": "
|
|
73
|
-
"@helia/unixfs": "
|
|
72
|
+
"@helia/mfs": "5.0.4-5a911c69",
|
|
73
|
+
"@helia/unixfs": "5.0.4-5a911c69",
|
|
74
74
|
"@ipld/dag-cbor": "^9.2.2",
|
|
75
75
|
"@libp2p/logger": "^5.1.15",
|
|
76
76
|
"aegir": "^47.0.7",
|
package/src/index.ts
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
|
|
79
79
|
import { Car as CarClass } from './car.js'
|
|
80
80
|
import type { CodecLoader } from '@helia/interface'
|
|
81
|
-
import type { PutManyBlocksProgressEvents, GetBlockProgressEvents } from '@helia/interface/blocks'
|
|
81
|
+
import type { PutManyBlocksProgressEvents, GetBlockProgressEvents, ProviderOptions } from '@helia/interface/blocks'
|
|
82
82
|
import type { CarWriter, CarReader } from '@ipld/car'
|
|
83
83
|
import type { AbortOptions, ComponentLogger } from '@libp2p/interface'
|
|
84
84
|
import type { Filter } from '@libp2p/utils/filters'
|
|
@@ -127,7 +127,7 @@ export interface ExportStrategy {
|
|
|
127
127
|
export * from './export-strategies/index.js'
|
|
128
128
|
export * from './traversal-strategies/index.js'
|
|
129
129
|
|
|
130
|
-
export interface ExportCarOptions extends AbortOptions, ProgressOptions<GetBlockProgressEvents
|
|
130
|
+
export interface ExportCarOptions extends AbortOptions, ProgressOptions<GetBlockProgressEvents>, ProviderOptions {
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
133
|
* If true, the blockstore will not do any network requests.
|
package/dist/typedoc-urls.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"BlockExporter": "https://ipfs.github.io/helia/classes/_helia_car.BlockExporter.html",
|
|
3
|
-
"CIDPath": "https://ipfs.github.io/helia/classes/_helia_car.CIDPath.html",
|
|
4
|
-
"GraphSearch": "https://ipfs.github.io/helia/classes/_helia_car.GraphSearch.html",
|
|
5
|
-
"SubgraphExporter": "https://ipfs.github.io/helia/classes/_helia_car.SubgraphExporter.html",
|
|
6
|
-
"UnixFSExporter": "https://ipfs.github.io/helia/classes/_helia_car.UnixFSExporter.html",
|
|
7
|
-
"UnixFSPath": "https://ipfs.github.io/helia/classes/_helia_car.UnixFSPath.html",
|
|
8
|
-
"Car": "https://ipfs.github.io/helia/interfaces/_helia_car.Car.html",
|
|
9
|
-
".:Car": "https://ipfs.github.io/helia/interfaces/_helia_car.Car.html",
|
|
10
|
-
"CarComponents": "https://ipfs.github.io/helia/interfaces/_helia_car.CarComponents.html",
|
|
11
|
-
".:CarComponents": "https://ipfs.github.io/helia/interfaces/_helia_car.CarComponents.html",
|
|
12
|
-
"ExportCarOptions": "https://ipfs.github.io/helia/interfaces/_helia_car.ExportCarOptions.html",
|
|
13
|
-
".:ExportCarOptions": "https://ipfs.github.io/helia/interfaces/_helia_car.ExportCarOptions.html",
|
|
14
|
-
"ExportStrategy": "https://ipfs.github.io/helia/interfaces/_helia_car.ExportStrategy.html",
|
|
15
|
-
".:ExportStrategy": "https://ipfs.github.io/helia/interfaces/_helia_car.ExportStrategy.html",
|
|
16
|
-
"TraversalStrategy": "https://ipfs.github.io/helia/interfaces/_helia_car.TraversalStrategy.html",
|
|
17
|
-
".:TraversalStrategy": "https://ipfs.github.io/helia/interfaces/_helia_car.TraversalStrategy.html",
|
|
18
|
-
"car": "https://ipfs.github.io/helia/functions/_helia_car.car.html",
|
|
19
|
-
".:car": "https://ipfs.github.io/helia/functions/_helia_car.car.html"
|
|
20
|
-
}
|