@helia/interface 6.0.0-fe384098 → 6.0.1

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.
@@ -44,6 +44,10 @@ export interface Provider extends PeerInfo {
44
44
  * - transport-bitswap
45
45
  */
46
46
  protocols?: string[];
47
+ /**
48
+ * The name of the routing implementation that found the provider
49
+ */
50
+ routing: string;
47
51
  }
48
52
  export interface Routing {
49
53
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../../src/routing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD;;;;;GAKG;AACH,MAAM,WAAW,cAAe,SAAQ,YAAY,EAAE,eAAe,EAAE,YAAY;IACjF;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,QAAS,SAAQ,QAAQ;IACxC;;;;;;;;;;;OAWG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB;AAED,MAAM,WAAW,OAAO;IACtB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAE1D;;;;;;;;;;OAUG;IACH,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhE;;;;;;;;;;;OAWG;IACH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,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IAEpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,OAAO;IACtB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAE1D;;;;;;;;;;OAUG;IACH,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhE;;;;;;;;;;;OAWG;IACH,aAAa,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAA;IAE1E;;;;;;;;;;;;;OAaG;IACH,GAAG,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhF;;;;;;;;;;;OAWG;IACH,GAAG,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;IAEnE;;;;;;;;;OASG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;IAErE;;;;;;;;;;;;OAYG;IACH,eAAe,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAA;CACpF"}
@@ -0,0 +1,77 @@
1
+ {
2
+ "InsufficientProvidersError": "https://ipfs.github.io/helia/classes/_helia_http.InsufficientProvidersError.html",
3
+ "InvalidCodecError": "https://ipfs.github.io/helia/classes/_helia_http.InvalidCodecError.html",
4
+ "NoRoutersAvailableError": "https://ipfs.github.io/helia/classes/_helia_http.NoRoutersAvailableError.html",
5
+ "UnknownCodecError": "https://ipfs.github.io/helia/classes/_helia_http.UnknownCodecError.html",
6
+ "UnknownHashAlgorithmError": "https://ipfs.github.io/helia/classes/_helia_http.UnknownHashAlgorithmError.html",
7
+ "AddOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.AddOptions.html",
8
+ "./pins:AddOptions": "https://ipfs.github.io/helia/interfaces/helia.AddOptions.html",
9
+ "BlockAnnounceOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.BlockAnnounceOptions.html",
10
+ "./blocks:BlockAnnounceOptions": "https://ipfs.github.io/helia/interfaces/helia.BlockAnnounceOptions.html",
11
+ "BlockBroker": "https://ipfs.github.io/helia/interfaces/_helia_http.BlockBroker.html",
12
+ "./blocks:BlockBroker": "https://ipfs.github.io/helia/interfaces/helia.BlockBroker.html",
13
+ "BlockRetrievalOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.BlockRetrievalOptions.html",
14
+ "./blocks:BlockRetrievalOptions": "https://ipfs.github.io/helia/interfaces/helia.BlockRetrievalOptions.html",
15
+ "Blocks": "https://ipfs.github.io/helia/interfaces/_helia_http.Blocks.html",
16
+ "./blocks:Blocks": "https://ipfs.github.io/helia/interfaces/helia.Blocks.html",
17
+ "CodecLoader": "https://ipfs.github.io/helia/interfaces/_helia_http.CodecLoader.html",
18
+ ".:CodecLoader": "https://ipfs.github.io/helia/interfaces/helia.CodecLoader.html",
19
+ "CreateSessionOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.CreateSessionOptions.html",
20
+ "./blocks:CreateSessionOptions": "https://ipfs.github.io/helia/interfaces/helia.CreateSessionOptions.html",
21
+ "GCOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.GCOptions.html",
22
+ ".:GCOptions": "https://ipfs.github.io/helia/interfaces/helia.GCOptions.html",
23
+ "GetOfflineOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.GetOfflineOptions.html",
24
+ "./blocks:GetOfflineOptions": "https://ipfs.github.io/helia/interfaces/helia.GetOfflineOptions.html",
25
+ "HasherLoader": "https://ipfs.github.io/helia/interfaces/_helia_http.HasherLoader.html",
26
+ ".:HasherLoader": "https://ipfs.github.io/helia/interfaces/helia.HasherLoader.html",
27
+ "Helia": "https://ipfs.github.io/helia/interfaces/_helia_http.Helia.html",
28
+ ".:Helia": "https://ipfs.github.io/helia/interfaces/helia.Helia.html",
29
+ "HeliaEvents": "https://ipfs.github.io/helia/interfaces/_helia_http.HeliaEvents.html",
30
+ ".:HeliaEvents": "https://ipfs.github.io/helia/interfaces/helia.HeliaEvents.html",
31
+ "IsPinnedOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.IsPinnedOptions.html",
32
+ "./pins:IsPinnedOptions": "https://ipfs.github.io/helia/interfaces/helia.IsPinnedOptions.html",
33
+ "LsOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.LsOptions.html",
34
+ "./pins:LsOptions": "https://ipfs.github.io/helia/interfaces/helia.LsOptions.html",
35
+ "Pin": "https://ipfs.github.io/helia/interfaces/_helia_http.Pin.html",
36
+ "./pins:Pin": "https://ipfs.github.io/helia/interfaces/helia.Pin.html",
37
+ "Pins": "https://ipfs.github.io/helia/interfaces/_helia_http.Pins.html",
38
+ "./pins:Pins": "https://ipfs.github.io/helia/interfaces/helia.Pins.html",
39
+ "Provider": "https://ipfs.github.io/helia/interfaces/_helia_http.Provider.html",
40
+ "./routing:Provider": "https://ipfs.github.io/helia/interfaces/helia.Provider.html",
41
+ "ProviderOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.ProviderOptions.html",
42
+ "./blocks:ProviderOptions": "https://ipfs.github.io/helia/interfaces/helia.ProviderOptions.html",
43
+ "RmOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.RmOptions.html",
44
+ "./pins:RmOptions": "https://ipfs.github.io/helia/interfaces/helia.RmOptions.html",
45
+ "Routing": "https://ipfs.github.io/helia/interfaces/_helia_http.Routing.html",
46
+ "./routing:Routing": "https://ipfs.github.io/helia/interfaces/helia.Routing.html",
47
+ "RoutingOptions": "https://ipfs.github.io/helia/interfaces/_helia_http.RoutingOptions.html",
48
+ "./routing:RoutingOptions": "https://ipfs.github.io/helia/interfaces/helia.RoutingOptions.html",
49
+ "SessionBlockstore": "https://ipfs.github.io/helia/interfaces/_helia_http.SessionBlockstore.html",
50
+ "./blocks:SessionBlockstore": "https://ipfs.github.io/helia/interfaces/helia.SessionBlockstore.html",
51
+ "AddPinEvents": "https://ipfs.github.io/helia/types/_helia_http.AddPinEvents.html",
52
+ "./pins:AddPinEvents": "https://ipfs.github.io/helia/types/helia.AddPinEvents.html",
53
+ "DeleteBlockProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.DeleteBlockProgressEvents.html",
54
+ "./blocks:DeleteBlockProgressEvents": "https://ipfs.github.io/helia/types/helia.DeleteBlockProgressEvents.html",
55
+ "DeleteManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.DeleteManyBlocksProgressEvents.html",
56
+ "./blocks:DeleteManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/helia.DeleteManyBlocksProgressEvents.html",
57
+ "GcEvents": "https://ipfs.github.io/helia/types/_helia_http.GcEvents.html",
58
+ ".:GcEvents": "https://ipfs.github.io/helia/types/helia.GcEvents.html",
59
+ "GetAllBlocksProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.GetAllBlocksProgressEvents.html",
60
+ "./blocks:GetAllBlocksProgressEvents": "https://ipfs.github.io/helia/types/helia.GetAllBlocksProgressEvents.html",
61
+ "GetBlockProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.GetBlockProgressEvents.html",
62
+ "./blocks:GetBlockProgressEvents": "https://ipfs.github.io/helia/types/helia.GetBlockProgressEvents.html",
63
+ "GetManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.GetManyBlocksProgressEvents.html",
64
+ "./blocks:GetManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/helia.GetManyBlocksProgressEvents.html",
65
+ "HasBlockProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.HasBlockProgressEvents.html",
66
+ "./blocks:HasBlockProgressEvents": "https://ipfs.github.io/helia/types/helia.HasBlockProgressEvents.html",
67
+ "PinType": "https://ipfs.github.io/helia/types/_helia_http.PinType.html",
68
+ "./pins:PinType": "https://ipfs.github.io/helia/types/helia.PinType.html",
69
+ "PutBlockProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.PutBlockProgressEvents.html",
70
+ "./blocks:PutBlockProgressEvents": "https://ipfs.github.io/helia/types/helia.PutBlockProgressEvents.html",
71
+ "PutManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/_helia_http.PutManyBlocksProgressEvents.html",
72
+ "./blocks:PutManyBlocksProgressEvents": "https://ipfs.github.io/helia/types/helia.PutManyBlocksProgressEvents.html",
73
+ "DEFAULT_SESSION_MAX_PROVIDERS": "https://ipfs.github.io/helia/variables/_helia_http.DEFAULT_SESSION_MAX_PROVIDERS.html",
74
+ "./blocks:DEFAULT_SESSION_MAX_PROVIDERS": "https://ipfs.github.io/helia/variables/helia.DEFAULT_SESSION_MAX_PROVIDERS.html",
75
+ "DEFAULT_SESSION_MIN_PROVIDERS": "https://ipfs.github.io/helia/variables/_helia_http.DEFAULT_SESSION_MIN_PROVIDERS.html",
76
+ "./blocks:DEFAULT_SESSION_MIN_PROVIDERS": "https://ipfs.github.io/helia/variables/helia.DEFAULT_SESSION_MIN_PROVIDERS.html"
77
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helia/interface",
3
- "version": "6.0.0-fe384098",
3
+ "version": "6.0.1",
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",
package/src/routing.ts CHANGED
@@ -48,6 +48,11 @@ export interface Provider extends PeerInfo {
48
48
  * - transport-bitswap
49
49
  */
50
50
  protocols?: string[]
51
+
52
+ /**
53
+ * The name of the routing implementation that found the provider
54
+ */
55
+ routing: string
51
56
  }
52
57
 
53
58
  export interface Routing {