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.9 to 0.0.10

19

index.js

@@ -6,4 +6,2 @@ import axios from 'axios'

console.log('API SERVICE initialization............', srv)
const api = {

@@ -13,4 +11,15 @@ init: (cfg) => {

console.log('api cfg: ', info)
srv = axios.create(cfg)
srv = axios.create({
baseURL: info.url,
headers: {
// 'Access-Control-Allow-Credentials':'true',
// 'Access-Control-Allow-Origin':'*',
// 'Accept': 'application/json, text/plain, */*',
'Content-Type': 'application/json',
'env': info.env,
'legajo': info.legajo,
'legajoCSG': info.legajoCSG,
'mockmode':info.mockmode
}
})
console.log('API SERVICE initialization srv:', srv)

@@ -64,3 +73,3 @@

},
async info() {
info() {
const res = await srv.get('info')

@@ -67,0 +76,0 @@ console.log('info:', res)

{
"name": "fwk-api",
"version": "0.0.9",
"version": "0.0.10",
"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