Socket
Socket
Sign inDemoInstall

blockscore

Package Overview
Dependencies
0
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 3.0.0

blockscore-node.sublime-project

3

lib/main.js

@@ -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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc