Comparing version 0.1.3 to 0.1.4
@@ -172,3 +172,3 @@ 'use strict'; | ||
var schema = options.schema ? '&schema=' + options.schema : ''; | ||
return protocol + '://' + this.host + port + '/api/generate.json?key=' + encodeURIComponent(this.apiKey) + '&count=' + options.count + schema; | ||
return protocol + '://' + this.host + port + '/api/generate.json?client=node&key=' + encodeURIComponent(this.apiKey) + '&count=' + options.count + schema; | ||
} | ||
@@ -175,0 +175,0 @@ }, { |
{ | ||
"name": "mockaroo", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Generate data using the mockaroo.com API", | ||
@@ -13,2 +13,5 @@ "main": "lib/mockaroo.js", | ||
}, | ||
"scripts": { | ||
"test": "mocha" | ||
}, | ||
"dependencies": { | ||
@@ -15,0 +18,0 @@ "axios": "^0.5.4", |
@@ -104,1 +104,8 @@ # mockaroo-node | ||
gulp | ||
# Tests | ||
This module uses mocha and chai for testing. To run tests: | ||
npm test | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
26092
111