Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: support paths in @helia/ipns #410

Merged
merged 5 commits into from
Jan 31, 2024

Commits on Jan 30, 2024

  1. Configuration menu
    Copy the full SHA
    f4d7979 View commit details
    Browse the repository at this point in the history
  2. feat!: ipns resolve supports paths (#402)

    BREAKING CHANGE: ipns resolve now supports paths, so the return type is
    now `{ path: string, cid: CID }` instead of just `CID`
    
    \#### Before
    
    \```typescript
    const cidFromPeerId = await ipns.resolve(peerId)
    const cidFromDnsLink = await ipns.resolve(domainName)
    \```
    
    \#### After
    
    \```typescript
    const { cid, path } = await ipns.resolve(peerId)
    const { cid, path } = await ipns.resolve(domainName)
    \```
    SgtPooki committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    db9f6c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    91cd810 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    7f4bf77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e829f74 View commit details
    Browse the repository at this point in the history