Skip to content

Commit db3ee37

Browse files
authored
chore: update create api docs (#110)
1 parent 5c589da commit db3ee37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ ipns.create(privateKey, value, sequenceNumber, lifetime)
141141
Create an IPNS record for being stored in a protocol buffer.
142142

143143
- `privateKey` (`PrivKey` [RSA Instance](https://github.com/libp2p/js-libp2p-crypto/blob/master/src/keys/rsa-class.js)): key to be used for cryptographic operations.
144-
- `value` (string): ipfs path of the object to be published.
144+
- `value` (Uint8Array): ipfs path of the object to be published.
145145
- `sequenceNumber` (Number): number representing the current version of the record.
146-
- `lifetime` (string): lifetime of the record (in milliseconds).
146+
- `lifetime` (Number): lifetime of the record (in milliseconds).
147147

148148
Returns a `Promise` that resolves to an object with the entry's properties eg:
149149

0 commit comments

Comments
 (0)