diff --git a/packages/ipfs-unixfs/README.md b/packages/ipfs-unixfs/README.md index 52198d1f..da6c0375 100644 --- a/packages/ipfs-unixfs/README.md +++ b/packages/ipfs-unixfs/README.md @@ -32,8 +32,8 @@ The UnixFS spec can be found in the [ipfs/specs repository](http://github.com/ip ```JavaScript const data = new UnixFS({ type: 'file' }) -data.addBlockSize(256) // add the size of each block -data.addBlockSize(256) +data.addBlockSize(256n) // add the size of each block +data.addBlockSize(256n) // ... ``` @@ -68,7 +68,7 @@ const data = new UnixFS([options]) ## Example - Add and remove a block size to the block size list ```JavaScript -data.addBlockSize() +data.addBlockSize() ``` ```JavaScript