@getvolume/volume-shared
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -123,5 +123,13 @@ interface IVolumeContext { | ||
} | ||
interface ErrorMessage { | ||
statusCode: number; | ||
statusName: string; | ||
errorMessage: string; | ||
traceId: string; | ||
source: string; | ||
} | ||
declare const apiUrlFromVolumeEnvironment: (volumeEnvironment: VolumeEnvironment) => string; | ||
declare const LOCAL_API_URL = "http://localhost:8080"; | ||
declare const LIVE_API_URL = "https://api.volumepay.io"; | ||
@@ -138,2 +146,2 @@ declare const SANDBOX_API_URL = "https://api.sandbox.volumepay.io"; | ||
export { AgentType, Endpoints, FeatureFlags, INTEGRATION_API_URL, IVolumeContext, Institution, LIVE_API_URL, PaymentRequest, SANDBOX_API_URL, UseVolume, VolumeEnvironment, VolumeEvent, VolumeEventType, apiUrlFromVolumeEnvironment, numberToCurrency }; | ||
export { AgentType, Endpoints, ErrorMessage, FeatureFlags, INTEGRATION_API_URL, IVolumeContext, Institution, LIVE_API_URL, LOCAL_API_URL, PaymentRequest, SANDBOX_API_URL, UseVolume, VolumeEnvironment, VolumeEvent, VolumeEventType, apiUrlFromVolumeEnvironment, numberToCurrency }; |
@@ -26,2 +26,3 @@ var __defProp = Object.defineProperty; | ||
LIVE_API_URL: () => LIVE_API_URL, | ||
LOCAL_API_URL: () => LOCAL_API_URL, | ||
SANDBOX_API_URL: () => SANDBOX_API_URL, | ||
@@ -51,2 +52,3 @@ VolumeEventType: () => VolumeEventType, | ||
// src/constants.ts | ||
var LOCAL_API_URL = "http://localhost:8080"; | ||
var LIVE_API_URL = "https://api.volumepay.io"; | ||
@@ -89,2 +91,3 @@ var SANDBOX_API_URL = "https://api.sandbox.volumepay.io"; | ||
LIVE_API_URL, | ||
LOCAL_API_URL, | ||
SANDBOX_API_URL, | ||
@@ -91,0 +94,0 @@ VolumeEventType, |
{ | ||
"name": "@getvolume/volume-shared", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "tsup src/index.ts --dts", | ||
"dev": "yarn build --watch", | ||
"clean": "rm -rf dist .turbo" | ||
@@ -8,0 +9,0 @@ }, |
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
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
7843
231