Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

fix: allow adding links from DAGNode.Links #135

Merged
merged 1 commit into from
May 17, 2019

Commits on May 16, 2019

  1. fix: allow adding links from DAGNode.Links

    `DAGNode.Links` converts `DAGLink` objects into vanilla JS objects.
    `DAGNode.addLink` accepts vanilla JS objects as links but looks for
    different properties from the ones the return value of `DAGNode.Links`
    have (e.g. `.Hash` vs `.cid`, etc)..
    
    This PR corrects the behaviour to look for those properties names and
    adds a test.
    achingbrain committed May 16, 2019
    Configuration menu
    Copy the full SHA
    bfe2b78 View commit details
    Browse the repository at this point in the history