Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@orbis-systems/orbis-api-client
Advanced tools
This library comes comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
This library comes comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
npm i -s @orbis-systems/orbis-api-client
require("babel-core/register");
require("babel-polyfill");
const APIClient = require("@orbis-systems/orbis-api-client");
or
require("babel-core/register");
require("babel-polyfill");
import APIClient from '@orbis-systems/orbis-api-client';
<script src="browser-bundle.js"></script>
const config = {
base_url: 'https://example.com/', // Obtained from Orbis
sign_url: 'https://example.com/' // Endpoint for getting the signature
};
(async () =>
{
let client = new APIClient(config);
await client.login('username', 'password');
});
const config = {
base_url: 'https://example.com/', // Obtained from Orbis
sign_url: 'https://example.com/' // Endpoint for getting the signature
};
var client = new APIClient(config)
client.login('username', 'password');
By default, the session store will use LocalStorage. In the browser, LocalStorage
will utilize localStorage
, and in NodeJS it will store them in ./session
.
You can create a custom session store by extending the SessionStore
class. To use it, pass it as the session_store
on the config like:
const config = {
...
session_store: CustomStore,
...
};
You must implement the methods:
get(key)
set(key, value, expiration_in_minutes)
has(key)
(Returns boolean. Should also return false if it has expired)FAQs
This library comes comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
The npm package @orbis-systems/orbis-api-client receives a total of 2 weekly downloads. As such, @orbis-systems/orbis-api-client popularity was classified as not popular.
We found that @orbis-systems/orbis-api-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.