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

lambdaorm-client-node

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambdaorm-client-node - npm Package Compare versions

Comparing version 0.4.6 to 0.4.7

5

client/base.d.ts

@@ -14,3 +14,2 @@ /**

import { AxiosInstance, AxiosRequestConfig } from 'axios';
export declare const BASE_PATH: string;
/**

@@ -41,6 +40,6 @@ *

export declare class BaseAPI {
protected basePath: string;
protected axios: AxiosInstance;
protected configuration: Configuration | undefined;
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
protected basePath: string | undefined;
constructor(configuration?: Configuration, axios?: AxiosInstance);
}

@@ -47,0 +46,0 @@ /**

11

client/base.js

@@ -19,7 +19,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = void 0;
// Some imports not used depending on template conditions
// @ts-ignore
const axios_1 = __importDefault(require("axios"));
exports.BASE_PATH = "http://localhost:9291".replace(/\/+$/, "");
/**

@@ -41,9 +40,11 @@ *

class BaseAPI {
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
this.basePath = basePath;
constructor(configuration, axios = axios_1.default) {
this.axios = axios;
if (configuration) {
this.configuration = configuration;
this.basePath = configuration.basePath || this.basePath;
this.basePath = configuration.basePath || 'http://0.0.0.0/9291';
}
else {
this.basePath = 'http://0.0.0.0/9291';
}
}

@@ -50,0 +51,0 @@ }

{
"name": "lambdaorm-client-node",
"version": "0.4.6",
"version": "0.4.7",
"description": "ORM",

@@ -5,0 +5,0 @@ "author": "Flavio Lionel Rita <flaviolrita@gmail.com>",

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