@getvolume/volume-shared
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -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, |
{ | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7312
3
211
2