diff --git a/index.html b/index.html index 0ba35fb..26291dd 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - peer-id 0.13.4 | Documentation + peer-id 0.13.5 | Documentation @@ -15,7 +15,7 @@

peer-id

-
0.13.4
+
0.13.5
+ +
  • + equals + + + +
  • + + +
  • + isEqual + + + +
  • +
    @@ -71,6 +91,154 @@
    + +
    + + +
    + +

    + equals +

    + + + + src/index.js + + +
    + + +

    Checks the equality of this peer against a given PeerId.

    + +
    equals(id: (Buffer | PeerId)): boolean
    + + + + + + + + + + + +
    Parameters
    +
    + +
    +
    + id ((Buffer | PeerId)) + +
    + +
    + +
    + + + + + + +
    Returns
    + boolean: + + + + + + + + + + + + + + + + + +
    + + + + +
    + + +
    + +

    + isEqual +

    + + + + src/index.js + + +
    + + +

    Checks the equality of this peer against a given PeerId.

    + +
    isEqual(id: (Buffer | PeerId)): boolean
    + + + +
    Deprecated: Use +.equals +
    + + + + + + + +
    Parameters
    +
    + +
    +
    + id ((Buffer | PeerId)) + +
    + +
    + +
    + + + + + + +
    Returns
    + boolean: + + + + + + + + + + + + + + + + + +
    + + +