Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pebble-finances/api

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pebble-finances/api - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

5

package.json
{
"name": "@pebble-finances/api",
"version": "0.1.0",
"version": "0.1.1",
"description": "",

@@ -13,2 +13,3 @@ "main": "src/index.js",

"@pebble-finances/db": "^0.1.0",
"@pebble-finances/worker-registry": "^0.0.3",
"body-parser": "^1.18.3",

@@ -20,3 +21,3 @@ "cors": "^2.8.5",

},
"gitHead": "122fdd9fcfdb76b11e5de154e3efc378f8fc17d6"
"gitHead": "6f3b9f41ed1b525f59636dac7e15ca6061c1071b"
}
const { transaction } = require('../utils/transaction');
const { workers } = require('@pebble-finances/worker-registry');
const authMiddleware = require('../auth/middleware');

@@ -6,8 +7,6 @@

app.get('/account-types/list', authMiddleware, (req, res) => {
const { email } = req.user;
transaction(
res,
async () => {
res.send([]);
res.send(workers().map(worker => worker.descriptor));
}

@@ -14,0 +13,0 @@ );

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