Update docs

This commit is contained in:
Miguel Mota 2022-11-10 05:30:05 -08:00
parent e6b7572530
commit 6de04e8379
No known key found for this signature in database
GPG Key ID: 67EC1161588A00F9
1 changed files with 2 additions and 2 deletions

View File

@ -717,7 +717,7 @@ ___
### getProof
**getProof**(`leaf`: Buffer | string, `index?`: number): *any[]*
**getProof**(`leaf`: Buffer | string, `index?`: number): *object[]*
getProof
@ -742,7 +742,7 @@ Name | Type | Description |
`leaf` | Buffer | string | Target leaf |
`index?` | number | - |
**Returns:** *any[]*
**Returns:** *object[]*
- Array of objects containing a position property of type string
with values of 'left' or 'right' and a data property of type Buffer.