blockscore
Advanced tools
Comparing version 1.0.2 to 3.0.0
@@ -56,3 +56,4 @@ "use strict"; | ||
'Authorization': auth, | ||
'Accept': 'application/vnd.blockscore+json;version=2', | ||
'Accept': 'application/vnd.blockscore+json;version=3', | ||
'User-Agent': 'blockscore-node/3.0.0 (https://github.com/BlockScore/blockscore-node)', | ||
'Content-Type': 'application/json', | ||
@@ -59,0 +60,0 @@ 'Content-Length': request_data.length |
{ | ||
"author": "John Backus <john@blockscore.com>", | ||
"name": "blockscore", | ||
"description": "Block Score API wrapper", | ||
"description": "BlockScore API wrapper", | ||
"keywords": [ | ||
"blockscore", | ||
"block score", | ||
"identity verification", | ||
"kyc", | ||
"know your customer", | ||
"bitcoin", | ||
"verification" | ||
], | ||
"version": "1.0.2", | ||
"version": "3.0.0", | ||
"homepage": "https://github.com/blockscore/blockscore-node", | ||
@@ -15,0 +15,0 @@ "repository": { |
@@ -47,3 +47,2 @@ # blockscore-node | ||
blockscore.verifications.create({ | ||
type: "us_citizen", | ||
date_of_birth: '1993-08-23', | ||
@@ -80,3 +79,3 @@ identification: { | ||
verification_id: response.verification_id, | ||
question_set_id: response.question_set_id, | ||
question_set_id: response.id, | ||
answers: [ | ||
@@ -83,0 +82,0 @@ { |
@@ -18,3 +18,2 @@ var vows = require('vows'), | ||
blockscore.verifications.create({ | ||
type: "us_citizen", | ||
date_of_birth: '1993-01-13', | ||
@@ -62,3 +61,3 @@ identification: { | ||
assert.ok(response.verification_id); | ||
assert.ok(response.question_set_id); | ||
assert.ok(response.id); | ||
assert.ok(Array.isArray(response.questions)); | ||
@@ -71,3 +70,3 @@ assert.ok(Array.isArray(response.questions[0].answers)); | ||
verification_id: response.verification_id, | ||
question_set_id: response.question_set_id, | ||
question_set_id: response.id, | ||
answers: [ | ||
@@ -100,3 +99,3 @@ { | ||
assert.ifError(err); | ||
assert.ok(response.question_set_id); | ||
assert.ok(response.id); | ||
assert.ok(typeof response.score == 'number'); | ||
@@ -103,0 +102,0 @@ } |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
41263
8
1
119
3