1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

doc changes

This commit is contained in:
Bill Barman 2018-11-22 18:32:46 +08:00
parent 273cb7694a
commit ca59db05f2

View File

@ -1,6 +1,6 @@
/*
DIDResolver module to resolve Ocean DID's off the block chain
DIDResolver module to resolve Ocean DID's off the block chain
*/
import {assert} from "chai"
@ -20,10 +20,6 @@ import * as DIDTools from "../utils/DIDTools"
* :param max_hop_count: max number of hops allowed to find the destination URL/DDO
* :return DIDResolved object: URL or DDO of the resolved DID
* :return null: if the DID cannot be resolved
* :raises TypeError: on non 32byte value as the DID
* :raises TypeError: on any of the resolved values are not string/DID bytes.
* :raises OceanDIDCircularReference: on the chain being pointed back to itself.
* :raises OceanDIDNotFound: if no DID can be found to resolve.
*
*/
export default class DIDResolver {