You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an IPNS record for being stored in a protocol buffer.
146
146
147
-
-`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.
147
+
-`privateKey` ([PrivateKey](https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.keys.PrivateKey.html)): key to be used for cryptographic operations.
148
148
-`value` (string): IPFS path of the object to be published.
149
149
-`sequenceNumber` (Number): number representing the current version of the record.
150
150
-`lifetime` (Number): lifetime of the record (in milliseconds).
Validate an IPNS record previously stored in a protocol buffer.
162
162
163
-
-`publicKey` (`PubKey`[RSA Instance](https://github.com/libp2p/js-libp2p-crypto/blob/master/src/keys/rsa-class.js)): key to be used for cryptographic operations.
163
+
-`publicKey` ([PublicKey](https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.keys.PublicKey.html)): key to be used for cryptographic operations.
164
164
-`ipnsRecord` (`IPNSRecord`): IPNS record (obtained using the create function).
165
165
166
166
Returns a `Promise`, which may be rejected if the validation was not successful.
-`ipnsRecord` (`IPNSRecord`): ipns record (obtained using the create function).
198
198
199
199
Returns a `Promise` which resolves to public key ([`PublicKey`](https://github.com/libp2p/js-libp2p-interfaces/blob/master/packages/interface-keys/src/index.ts) ): may be used for cryptographic operations.
0 commit comments