Socket
Socket
Sign inDemoInstall

@ribpay/oxlin

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ribpay/oxlin - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

8

dist/index.js
import axios from 'axios';
import { interceptorFactory, LockingTokenCache, clientFactory } from '@scienta/axios-oauth2';
import { OpenAPIClientAxios } from 'openapi-client-axios';
import { fileURLToPath } from 'url';
import path, { dirname } from 'path';

@@ -68,7 +66,7 @@ /*! *****************************************************************************

// https://stackoverflow.com/a/62892482
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const { pathname } = new URL("../swagger-oxlin-payments-api.yaml", import.meta.url);
const definition = decodeURI(pathname);
// Perform `async` stuff here...
const api = new OpenAPIClientAxios({
definition: path.join(__dirname, "..", "swagger-oxlin-payments-api.yaml"),
definition,
}); // https://github.com/anttiviljami/openapi-client-axios/issues/39#issuecomment-697210630

@@ -75,0 +73,0 @@ api.init();

{
"name": "@ribpay/oxlin",
"version": "0.1.0",
"version": "0.1.1",
"author": "Guillaume FORTAINE <guillaume+github@fortaine.com>",

@@ -5,0 +5,0 @@ "repository": "https://github.com/ribpay/oxlin-node",

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