Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

fix: Improve types and follow the specs #66

Closed

Conversation

ajnavarro
Copy link
Member

This PR depends on #65

  • Organize types in their own package and clean duplicated objects
  • Add prefix /routing on URLs
  • Fix bitswap provide response to use a Duration type
  • Fix provideResults output to only return a list with all the providers
    instead of a list of provider names plus a list of provider objects.

Signed-off-by: Antonio Navarro Perez [email protected]

@ajnavarro ajnavarro requested a review from guseggert November 23, 2022 13:30
@ajnavarro ajnavarro self-assigned this Nov 24, 2022
client/client.go Outdated Show resolved Hide resolved
- Organize types in its own package and clean duplicated objects
- Add prefix `/routing` on urls
- Fix bitswap provide response to use a Duration type
- Fix provideResults output to only return a list with all the providers
  instead of a list of provider names plus a list of providers objects.

Signed-off-by: Antonio Navarro Perez <[email protected]>
@ajnavarro ajnavarro force-pushed the ajnavarro/simplify-types branch from 40b427a to 4e5c7a0 Compare November 28, 2022 17:39
Signed-off-by: Antonio Navarro Perez <[email protected]>
Signed-off-by: Antonio Navarro Perez <[email protected]>
Signed-off-by: Antonio Navarro Perez <[email protected]>
@ajnavarro ajnavarro requested a review from guseggert November 29, 2022 11:54
guseggert added a commit to ipfs/boxo that referenced this pull request Nov 29, 2022
* Organize types in their own package and clean duplicated objects
* Add prefix /routing on URLs
* Fix bitswap provide response to use a Duration type
* Fix provideResults output to only return a list with all the providers
* instead of a list of provider names plus a list of provider objects.

This code was moved from ipfs/go-delegated-routing#66
@ajnavarro
Copy link
Member Author

Superseded by ipfs/boxo#5

@ajnavarro ajnavarro closed this Nov 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants