Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "devrant", | ||
"version": "0.0.1", | ||
"description": "Unofficial wrapper of the public product hunt API.", | ||
"version": "0.0.2", | ||
"description": "Unofficial wrapper for the public product hunt API.", | ||
"main": "src/index.js", | ||
@@ -6,0 +6,0 @@ "engines": { |
@@ -5,3 +5,3 @@ # devRant | ||
[npm-image]: https://img.shields.io/badge/npm-v0.0.1-blue.svg | ||
[npm-image]: https://img.shields.io/badge/npm-v0.0.2-blue.svg | ||
[npm-url]: https://www.npmjs.com/package/devrant | ||
@@ -269,3 +269,3 @@ [travis-image]: https://travis-ci.org/danillouz/devrant.svg?branch=master | ||
.rant(43511) | ||
.then(function receiveRants(rant) { | ||
.then(function receiveRant(rant) { | ||
console.log('rant: ', rant); | ||
@@ -272,0 +272,0 @@ }) |
@@ -38,3 +38,3 @@ 'use strict'; | ||
/** | ||
* Retrieve a the user id associated with the devRant | ||
* Retrieve the user id associated with the devRant | ||
* username. | ||
@@ -41,0 +41,0 @@ * |
'use strict'; | ||
const chai = require('chai'); | ||
const devrant = require('../../src'); | ||
const devRant = require('../../src'); | ||
const expect = chai.expect; | ||
@@ -10,3 +10,3 @@ | ||
try { | ||
devrant.profile(); | ||
devRant.profile(); | ||
} catch (err) { | ||
@@ -13,0 +13,0 @@ expect(err).to.exist; |
'use strict'; | ||
const chai = require('chai'); | ||
const devrant = require('../../src'); | ||
const devRant = require('../../src'); | ||
const expect = chai.expect; | ||
@@ -10,3 +10,3 @@ | ||
try { | ||
devrant.rant(); | ||
devRant.rant(); | ||
} catch (err) { | ||
@@ -13,0 +13,0 @@ expect(err).to.exist; |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const sinon = require('sinon'); | ||
const devrant = require('../../src'); | ||
const devRant = require('../../src'); | ||
const http = require('../../src/utils/http'); | ||
@@ -14,3 +14,3 @@ const expect = chai.expect; | ||
devrant.rants(); | ||
devRant.rants(); | ||
@@ -17,0 +17,0 @@ const [ args ] = httpStub.args; |
'use strict'; | ||
const chai = require('chai'); | ||
const devrant = require('../../src'); | ||
const devRant = require('../../src'); | ||
const expect = chai.expect; | ||
@@ -10,3 +10,3 @@ | ||
try { | ||
devrant.search(); | ||
devRant.search(); | ||
} catch (err) { | ||
@@ -13,0 +13,0 @@ expect(err).to.exist; |
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
150494