New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bfx-api-mock-srv

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bfx-api-mock-srv - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

3

lib/rest2/index.js
'use strict'
const express = require('express')
const Bluebird = require('bluebird')
const bodyParser = require('body-parser')

@@ -158,3 +157,3 @@ const _keys = require('lodash/keys')

return new Bluebird((resolve, reject) => {
return new Promise((resolve, reject) => {
this._apiServerHTTP.close((err) => {

@@ -161,0 +160,0 @@ if (err) {

@@ -69,2 +69,3 @@ 'use strict'

'/v2/auth/r/movements/hist': 'movements',
'/v2/auth/r/movements/info': 'movement_info.{id}',
'/v2/auth/r/info/user': 'user_info',

@@ -91,5 +92,22 @@ '/v2/auth/r/summary': 'account_summary',

'/v2/auth/r/ext/pay/deposits/unlinked': 'deposits_unlinked',
'/v2/auth/r/movements/info': 'movement_info.{id}'
'/v2/auth/r/ext/pay/settings/convert/list': 'pay_settings_convert_list',
'/v2/auth/w/ext/pay/settings/convert/create': 'pay_settings_convert_create',
'/v2/auth/w/ext/pay/settings/convert/remove': 'pay_settings_convert_remove',
'/v2/auth/r/ext/pay/settings/daily/limit': 'pay_settings_daily_limit',
'/v2/auth/w/ext/pay/settings/set': 'pay_settings_set',
'/v2/auth/w/ext/pay/settings/set/batch': 'pay_settings_set_batch',
'/v2/auth/r/ext/pay/settings/get': 'pay_settings_get',
'/v2/auth/r/ext/pay/settings/list': 'pay_settings_list',
'/v2/auth/w/ext/pay/invoice/refund': 'pay_invoice_refund',
'/v2/auth/w/ext/pay/invoice/mark/refunded': 'pay_invoice_mark_refunded',
'/v2/auth/r/ext/pay/invoice/events': 'pay_invoice_events',
'/v2/auth/r/ext/pay/currency/detailed': 'pay_currency_detailed',
'/v2/auth/r/ext/pay/currency/list': 'pay_currency_list',
'/v2/auth/w/ext/pay/invoice/update': 'pay_invoice_update',
'/v2/auth/w/ext/pay/invoice/create/pos': 'pay_invoice_create_pos',
'/v2/auth/r/ext/pay/invoices/paginated': 'pay_invoices_paginated',
'/v2/auth/w/ext/pay/invoice/expire': 'pay_invoice_expire',
'/v2/auth/r/ext/pay/deposits': 'pay_deposits'
}
module.exports = RESTV2_MOCK_METHODS
{
"name": "bfx-api-mock-srv",
"version": "1.3.0",
"version": "1.4.0",
"description": "Bitfinex API server mock library",

@@ -11,3 +11,4 @@ "engines": {

"test": "npm run lint && npm run unit",
"lint": "./node_modules/.bin/eslint lib/ examples/ test/ index.js",
"lint": "standard",
"lint:fix": "standard --fix",
"unit": "NODE_ENV=test ./node_modules/.bin/nyc --reporter=lcov --reporter=html mocha -b --recursive",

@@ -40,18 +41,8 @@ "docs": "rm -rf docs/*.md && ./node_modules/.bin/jsdoc2md -f index.js 'lib/**/*.js' > docs/reference.md"

"bfx-api-node-rest": "^3.0.15",
"eslint": "^7.2.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsdoc": "^27.0.4",
"eslint-plugin-lodash": "^7.1.0",
"eslint-plugin-mocha": "^7.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"jsdoc-to-markdown": "^6.0.1",
"mocha": "^7.2.0",
"nyc": "^15.1.0",
"request": "^2.88.0"
"standard": "^17.1.0"
},
"dependencies": {
"bluebird": "^3.5.5",
"body-parser": "^1.19.0",

@@ -58,0 +49,0 @@ "debug": "^4.1.1",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc