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

fwk-api

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fwk-api - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

9

index.js

@@ -53,6 +53,9 @@ import axios from 'axios'

},
async callSrv(method, path, params){
async callSrv(method, path, params, mockmode=false){
srv.defaults.headers.mockmode= mockmode
let res
if (method == "GET") res = await srv.get(path, options)
if (method == "POST") res = await srv.post(path, params, options)
if (method == "GET") res = await srv.get(path)
if (method == "POST") res = await srv.post(path, params)
return res

@@ -59,0 +62,0 @@ },

{
"name": "fwk-api",
"version": "0.0.1",
"version": "0.0.2",
"description": "Framework with api services access(only javascript)",

@@ -5,0 +5,0 @@ "main": "index.js",

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