Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
svb-onboarding
Advanced tools
Helper library for NodeJS and Silicon Valley Bank's API, which uses svb-client module to make HMAC-signed GET, PATCH, POST, and DELETE requests.
Contains helper functions for all of these resources in the API:
const SVBOnboarding = require('svb-onboarding');
const SVBClient = require('svb-client');
let client = new SVBClient({
API_KEY: '',
HMAC_SECRET: ''
});
let Onboarding = new SVBOnboarding(client);
// registering person with link to a new address resource
Onboarding.address.create({
street_line1: '221B Baker St',
city: 'London',
country: 'GB'
}, (err, address) => {
Onboarding.person.create({
// Onboarding module will fill in the address_id property
address: address,
date_of_birth: '1881-01-01',
first_name: 'Sherlock',
last_name: 'Holmes',
title: 'Detective'
}, (err, person) => {
});
});
// retrieving one or all Person resources
Onboarding.person.get(101, (err, person) => {
...
});
Onboarding.person.all((err, people) => {
...
});
// (update is not available on some resources)
Onboarding.person.update(person_id, person_json, callbackFn);
// deleting a Person resource
Onboarding.person.delete(person_id, callbackFn);
// uploading a local file
Onboarding.file(__dirname + '/y18.png', (err, data) => {
assert.equal(err, null);
assert.equal(typeof data, 'object');
assert.equal(typeof data.id, 'number');
done();
});
// to upload from a different source, use svb-client directly
client.upload('/v1/files', fs.createReadStream(...), (err, data) => {
...
});
npm install svb-onboarding --save
FAQs
Onboarding helper for SVB API
The npm package svb-onboarding receives a total of 4 weekly downloads. As such, svb-onboarding popularity was classified as not popular.
We found that svb-onboarding demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.