@helia/interface 5.3.1-e3522f5 → 5.3.2

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.
@@ -1,4 +1,4 @@
1
- import type { GetBlockProgressEvents } from './blocks';
1
+ import type { GetBlockProgressEvents } from './blocks.js';
2
2
  import type { AbortOptions } from '@libp2p/interface';
3
3
  import type { CID } from 'multiformats/cid';
4
4
  import type { ProgressEvent, ProgressOptions } from 'progress-events';
@@ -1 +1 @@
1
- {"version":3,"file":"pins.d.ts","sourceRoot":"","sources":["../../src/pins.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAErE,MAAM,MAAM,OAAO,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAA;AAEzD,MAAM,WAAW,GAAG;IAClB,GAAG,EAAE,GAAG,CAAA;IACR,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;CACpD;AAED,MAAM,MAAM,YAAY,GACtB,aAAa,CAAC,eAAe,EAAE,GAAG,CAAC,CAAA;AAErC,MAAM,WAAW,UAAW,SAAQ,YAAY,EAAE,eAAe,CAAC,YAAY,GAAG,sBAAsB,CAAC;IACtG;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;CACrD;AAED,MAAM,WAAW,SAAU,SAAQ,YAAY;CAE9C;AAED,MAAM,WAAW,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AAG,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;IAEnD;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAE/D;;;OAGG;IACH,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CAC9H"}
@@ -0,0 +1,76 @@
1
+ {
2
+ "InsufficientProvidersError": "https://ipfs.github.io/helia/classes/_helia_http.InsufficientProvidersError.html",
3
+ "NoRoutersAvailableError": "https://ipfs.github.io/helia/classes/_helia_http.NoRoutersAvailableError.html",
4
+ "UnknownCodecError": "https://ipfs.github.io/helia/classes/_helia_http.UnknownCodecError.html",
5
+ "UnknownHashAlgorithmError": "https://ipfs.github.io/helia/classes/_helia_http.UnknownHashAlgorithmError.html",
6
+ "AddOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.AddOptions.html",
7
+ "./pins:AddOptions": "https://ipfs.github.io/helia/interfaces/helia.AddOptions.html",
8
+ "BlockAnnounceOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.BlockAnnounceOptions.html",
9
+ "./blocks:BlockAnnounceOptions": "https://ipfs.github.io/helia/interfaces/helia.BlockAnnounceOptions.html",
10
+ "BlockBroker": "https://ipfs.github.io/helia/interfaces/_helia_http.BlockBroker.html",
11
+ "./blocks:BlockBroker": "https://ipfs.github.io/helia/interfaces/helia.BlockBroker.html",
12
+ "BlockRetrievalOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.BlockRetrievalOptions.html",
13
+ "./blocks:BlockRetrievalOptions": "https://ipfs.github.io/helia/interfaces/helia.BlockRetrievalOptions.html",
14
+ "Blocks": "https://ipfs.github.io/helia/interfaces/_helia_http.Blocks.html",
15
+ "./blocks:Blocks": "https://ipfs.github.io/helia/interfaces/helia.Blocks.html",
16
+ "CodecLoader": "https://ipfs.github.io/helia/interfaces/_helia_http.CodecLoader.html",
17
+ ".:CodecLoader": "https://ipfs.github.io/helia/interfaces/helia.CodecLoader.html",
18
+ "CreateSessionOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.CreateSessionOptions.html",
19
+ "./blocks:CreateSessionOptions": "https://ipfs.github.io/helia/interfaces/helia.CreateSessionOptions.html",
20
+ "GCOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.GCOptions.html",
21
+ ".:GCOptions": "https://ipfs.github.io/helia/interfaces/helia.GCOptions.html",
22
+ "GetOfflineOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.GetOfflineOptions.html",
23
+ "./blocks:GetOfflineOptions": "https://ipfs.github.io/helia/interfaces/helia.GetOfflineOptions.html",
24
+ "HasherLoader": "https://ipfs.github.io/helia/interfaces/_helia_http.HasherLoader.html",
25
+ ".:HasherLoader": "https://ipfs.github.io/helia/interfaces/helia.HasherLoader.html",
26
+ "Helia": "https://ipfs.github.io/helia/interfaces/_helia_http.Helia.html",
27
+ ".:Helia": "https://ipfs.github.io/helia/interfaces/helia.Helia.html",
28
+ "IsPinnedOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.IsPinnedOptions.html",
29
+ "./pins:IsPinnedOptions": "https://ipfs.github.io/helia/interfaces/helia.IsPinnedOptions.html",
30
+ "LsOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.LsOptions.html",
31
+ "./pins:LsOptions": "https://ipfs.github.io/helia/interfaces/helia.LsOptions.html",
32
+ "Pair": "https://ipfs.github.io/helia/interfaces/_helia_http.Pair.html",
33
+ "./blocks:Pair": "https://ipfs.github.io/helia/interfaces/helia.Pair.html",
34
+ "Pin": "https://ipfs.github.io/helia/interfaces/_helia_http.Pin.html",
35
+ "./pins:Pin": "https://ipfs.github.io/helia/interfaces/helia.Pin.html",
36
+ "Pins": "https://ipfs.github.io/helia/interfaces/_helia_http.Pins.html",
37
+ "./pins:Pins": "https://ipfs.github.io/helia/interfaces/helia.Pins.html",
38
+ "Provider": "https://ipfs.github.io/helia/interfaces/_helia_http.Provider.html",
39
+ "./routing:Provider": "https://ipfs.github.io/helia/interfaces/helia.Provider.html",
40
+ "ProviderOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.ProviderOptions.html",
41
+ "./blocks:ProviderOptions": "https://ipfs.github.io/helia/interfaces/helia.ProviderOptions.html",
42
+ "RmOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.RmOptions.html",
43
+ "./pins:RmOptions": "https://ipfs.github.io/helia/interfaces/helia.RmOptions.html",
44
+ "Routing": "https://ipfs.github.io/helia/interfaces/_helia_http.Routing.html",
45
+ "./routing:Routing": "https://ipfs.github.io/helia/interfaces/helia.Routing.html",
46
+ "RoutingOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.RoutingOptions.html",
47
+ "./routing:RoutingOptions": "https://ipfs.github.io/helia/interfaces/helia.RoutingOptions.html",
48
+ "SessionBlockstore": "https://ipfs.github.io/helia/interfaces/_helia_http.SessionBlockstore.html",
49
+ "./blocks:SessionBlockstore": "https://ipfs.github.io/helia/interfaces/helia.SessionBlockstore.html",
50
+ "AddPinEvents": "https://ipfs.github.io/helia/types/_helia_http.AddPinEvents.html",
51
+ "./pins:AddPinEvents": "https://ipfs.github.io/helia/types/helia.AddPinEvents.html",
52
+ "DeleteBlockProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.DeleteBlockProgressEvents.html",
53
+ "./blocks:DeleteBlockProgressEvents": "https://ipfs.github.io/helia/types/helia.DeleteBlockProgressEvents.html",
54
+ "DeleteManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.DeleteManyBlocksProgressEvents.html",
55
+ "./blocks:DeleteManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/helia.DeleteManyBlocksProgressEvents.html",
56
+ "GcEvents": "https://ipfs.github.io/helia/types/_helia_http.GcEvents.html",
57
+ ".:GcEvents": "https://ipfs.github.io/helia/types/helia.GcEvents.html",
58
+ "GetAllBlocksProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.GetAllBlocksProgressEvents.html",
59
+ "./blocks:GetAllBlocksProgressEvents": "https://ipfs.github.io/helia/types/helia.GetAllBlocksProgressEvents.html",
60
+ "GetBlockProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.GetBlockProgressEvents.html",
61
+ "./blocks:GetBlockProgressEvents": "https://ipfs.github.io/helia/types/helia.GetBlockProgressEvents.html",
62
+ "GetManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.GetManyBlocksProgressEvents.html",
63
+ "./blocks:GetManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/helia.GetManyBlocksProgressEvents.html",
64
+ "HasBlockProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.HasBlockProgressEvents.html",
65
+ "./blocks:HasBlockProgressEvents": "https://ipfs.github.io/helia/types/helia.HasBlockProgressEvents.html",
66
+ "PinType": "https://ipfs.github.io/helia/types/_helia_http.PinType.html",
67
+ "./pins:PinType": "https://ipfs.github.io/helia/types/helia.PinType.html",
68
+ "PutBlockProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.PutBlockProgressEvents.html",
69
+ "./blocks:PutBlockProgressEvents": "https://ipfs.github.io/helia/types/helia.PutBlockProgressEvents.html",
70
+ "PutManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.PutManyBlocksProgressEvents.html",
71
+ "./blocks:PutManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/helia.PutManyBlocksProgressEvents.html",
72
+ "DEFAULT_SESSION_MAX_PROVIDERS": "https://ipfs.github.io/helia/variables/_helia_http.DEFAULT_SESSION_MAX_PROVIDERS.html",
73
+ "./blocks:DEFAULT_SESSION_MAX_PROVIDERS": "https://ipfs.github.io/helia/variables/helia.DEFAULT_SESSION_MAX_PROVIDERS.html",
74
+ "DEFAULT_SESSION_MIN_PROVIDERS": "https://ipfs.github.io/helia/variables/_helia_http.DEFAULT_SESSION_MIN_PROVIDERS.html",
75
+ "./blocks:DEFAULT_SESSION_MIN_PROVIDERS": "https://ipfs.github.io/helia/variables/helia.DEFAULT_SESSION_MIN_PROVIDERS.html"
76
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helia/interface",
3
- "version": "5.3.1-e3522f5",
3
+ "version": "5.3.2",
4
4
  "description": "The Helia API",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/ipfs/helia/tree/main/packages/interface#readme",
@@ -54,6 +54,10 @@
54
54
  "./pins": {
55
55
  "types": "./dist/src/pins.d.ts",
56
56
  "import": "./dist/src/pins.js"
57
+ },
58
+ "./routing": {
59
+ "types": "./dist/src/routing.d.ts",
60
+ "import": "./dist/src/routing.js"
57
61
  }
58
62
  },
59
63
  "eslintConfig": {
@@ -81,7 +85,7 @@
81
85
  "progress-events": "^1.0.1"
82
86
  },
83
87
  "devDependencies": {
84
- "aegir": "^46.0.1"
88
+ "aegir": "^47.0.7"
85
89
  },
86
90
  "sideEffects": false
87
91
  }
package/src/pins.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { GetBlockProgressEvents } from './blocks'
1
+ import type { GetBlockProgressEvents } from './blocks.js'
2
2
  import type { AbortOptions } from '@libp2p/interface'
3
3
  import type { CID } from 'multiformats/cid'
4
4
  import type { ProgressEvent, ProgressOptions } from 'progress-events'