You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 30, 2023. It is now read-only.
fix!: use @helia/delegated-routing-v1-http-api-client internally (#27)
Refactors the internal implementation to use the [@helia/delegated-routing-v1-http-api-client](https://www.npmjs.com/package/@helia/delegated-routing-v1-http-api-client) instead of a hand-rolled version.
Replaces any older references to "Reframe" with the new name of "Delegated Routing V1 HTTP API". Phew.
BREAKING CHANGE: the module has been renamed as the spec has been renamed
> Use a Routing V1 HTTP service to discover content providers
8
+
> Use a Delegated Routing V1 HTTP service to discover content providers
9
+
10
+
This is a [ContentRouting](https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.content_routing.ContentRouting.html)
11
+
implementation that makes use of the [@helia/delegated-routing-v1-http-api-client](https://www.npmjs.com/package/@helia/delegated-routing-v1-http-api-client)
12
+
to use servers that implement the snappily-titled [Delegated Routing V1 HTTP API](Delegated Routing V1 HTTP API)
13
+
spec to get/put IPNS records and to resolve providers for CIDs.
9
14
10
15
## Table of contents <!-- omit in toc -->
11
16
12
-
-[Install](#install)
13
-
-[Browser `<script>` tag](#browser-script-tag)
17
+
--[Install](#install)
18
+
-[Browser `<script>` tag](#browser-script-tag)
14
19
-[Example](#example)
15
-
-[API Docs](#api-docs)
16
-
-[License](#license)
17
-
-[Contribution](#contribution)
20
+
-[API Docs](#api-docs)
21
+
-[License](#license)
22
+
-[Contribution](#contribution)
18
23
19
24
## Install
20
25
21
26
```console
22
-
$ npm i @libp2p/http-v1-content-routing
27
+
$ npm i @libp2p/delegated-routing-v1-http-api-content-routing
23
28
```
24
29
25
30
### Browser `<script>` tag
26
31
27
-
Loading this module through a script tag will make it's exports available as `Libp2pHttpV1ContentRouting` in the global namespace.
32
+
Loading this module through a script tag will make it's exports available as `Libp2pDelegatedRoutingV1HttpApiContentRouting` in the global namespace.
0 commit comments