Comparing version 0.1.0 to 0.2.0
{ | ||
"name": "dnslink", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Resolve dnslink TXT records for domains", | ||
"main": "index.js", | ||
"bin": { | ||
"dnslink": "./cli.js" | ||
"jsdnslink": "./cli.js" | ||
}, | ||
@@ -9,0 +9,0 @@ "types": "index.d.ts", |
# dnslink [![Build Status](https://travis-ci.org/common-theory/dnslink.svg?branch=master)](https://travis-ci.org/common-theory/dnslink) [![npm](https://img.shields.io/npm/v/dnslink.svg)](https://www.npmjs.com/package/dnslink) [![npm type definitions](https://img.shields.io/npm/types/dnslink.svg)](https://github.com/common-theory/dnslink) | ||
A javascript [dnslink](https://docs.ipfs.io/guides/concepts/dnslink/) resolution implementation. | ||
A javascript [dnslink](https://docs.ipfs.io/guides/concepts/dnslink/) resolution implementation. See [ipfs/go-dnslink](https://github.com/ipfs/go-dnslink) for more information. | ||
@@ -16,3 +16,3 @@ ## Usage | ||
```sh | ||
$ dnslink update commontheory.io /ipfs/QmStyTZJJugmdFub1GBBGhtXpwxghT4EGvBCz8jNSLdBcy | ||
$ jsdnslink update commontheory.io /ipfs/QmStyTZJJugmdFub1GBBGhtXpwxghT4EGvBCz8jNSLdBcy | ||
Unable to find dnslink record, creating a new one | ||
@@ -32,3 +32,3 @@ DNS record updated | ||
update('commontheory.io', '/ipfs/QmStyTZJJugmdFub1GBBGhtXpwxghT4EGvBCz8jNSLdBcy') | ||
.then(cid => /* Your logic */); | ||
.then(() => /* Your logic */); | ||
``` | ||
@@ -38,3 +38,3 @@ | ||
Get the CID associated with a domain. | ||
Get the CID associated with a domain. This evaluates via the DNS, not IPFS. | ||
@@ -44,3 +44,3 @@ #### Command Line | ||
```sh | ||
$ dnslink resolve commontheory.io | ||
$ jsdnslink resolve commontheory.io | ||
/ipfs/QmStyTZJJugmdFub1GBBGhtXpwxghT4EGvBCz8jNSLdBcy | ||
@@ -47,0 +47,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7023