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

@getvolume/volume-shared

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getvolume/volume-shared - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

dist/index.d.ts

10

dist/index.js

@@ -23,2 +23,3 @@ var __defProp = Object.defineProperty;

Endpoints: () => Endpoints,
INTEGRATION_API_URL: () => INTEGRATION_API_URL2,
LIVE_API_URL: () => LIVE_API_URL2,

@@ -44,6 +45,9 @@ SANDBOX_API_URL: () => SANDBOX_API_URL2,

// src/apiUrlFromEnvironment.ts
var LIVE_API_URL = "https://api.volumepay.io/api/";
var SANDBOX_API_URL = "https://api.sandbox.volumepay.io/api/";
var LIVE_API_URL = "https://api.volumepay.io/api/xxx";
var SANDBOX_API_URL = "https://api.sandbox.volumepay.io/api/xxx";
var INTEGRATION_API_URL = "https://api.integration.volumepay.io/api/xxx";
var apiUrlFromVolumeEnvironment = (volumeEnvironment) => {
switch (volumeEnvironment) {
case "integration":
return INTEGRATION_API_URL;
case "live":

@@ -61,2 +65,3 @@ return LIVE_API_URL;

var SANDBOX_API_URL2 = "https://api.sandbox.volumepay.io";
var INTEGRATION_API_URL2 = "https://api.integration.volumepay.io";
var Endpoints = {

@@ -79,2 +84,3 @@ AUTHENTICATE: "/api/authenticate",

Endpoints,
INTEGRATION_API_URL,
LIVE_API_URL,

@@ -81,0 +87,0 @@ SANDBOX_API_URL,

9

package.json
{
"name": "@getvolume/volume-shared",
"version": "0.0.4",
"main": "dist/index.js",
"version": "0.0.5",
"license": "MIT",

@@ -11,4 +10,6 @@ "scripts": {

"files": [
"src"
]
"dist/**"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts"
}
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