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

refactor: convert misc root level APIs to async/await #1169

Closed
wants to merge 8 commits into from

Commits on Nov 19, 2019

  1. refactor: convert misc root level APIs to async/await

    License: MIT
    Signed-off-by: Alan Shaw <[email protected]>
    Alan Shaw committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    96b86f5 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2019

  1. refactor: convert mount API to async/await

    BREAKING CHANGE: The signature for `ipfs.mount` has changed from `ipfs.mount([ipfsPath], [ipnsPath])` to `ipfs.mount([options])`. Where `options` is an optional object that may contain two boolean properties `ipfsPath` and `ipnsPath`. The response object has also changed to be camel case. See https://docs.ipfs.io/reference/api/http/#api-v0-mount.
    
    License: MIT
    Signed-off-by: Alan Shaw <[email protected]>
    Alan Shaw committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    c3cd680 View commit details
    Browse the repository at this point in the history
  2. fix: load mount

    Alan Shaw committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    e011c8e View commit details
    Browse the repository at this point in the history
  3. refactor: convert version API to async/await

    License: MIT
    Signed-off-by: Alan Shaw <[email protected]>
    Alan Shaw committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    2281599 View commit details
    Browse the repository at this point in the history
  4. refactor: convert ping API to async/await

    BREAKING CHANGE: Default ping `count` of 1 in client has been removed. The default ping count is now whatever the IPFS node defaults it to (currently 10). If you specifically need 1 ping message then please pass `count: 1` in options for `ipfs.ping()`.
    
    License: MIT
    Signed-off-by: Alan Shaw <[email protected]>
    Alan Shaw committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    d8da835 View commit details
    Browse the repository at this point in the history
  5. refactor: convert update API to async/await

    Other endpoints are not supported by go-ipfs or js-ipfs and so have been removed.
    
    License: MIT
    Signed-off-by: Alan Shaw <[email protected]>
    Alan Shaw committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    aa83f91 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f0d2aca View commit details
    Browse the repository at this point in the history
  7. fix: ping sub modules test

    Alan Shaw committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    3840f40 View commit details
    Browse the repository at this point in the history