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

@getvolume/volume-js

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getvolume/volume-js - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

20

dist/index.js

@@ -28,11 +28,13 @@ "use strict";

// src/requests/requests.ts
var import_volume_shared2 = require("@getvolume/volume-shared");
var import_volume_shared = require("@getvolume/volume-shared");
// src/utilities/apiUrlFromVolumeEnvironment.ts
var import_volume_shared = require("@getvolume/volume-shared");
var import_constants = require("@getvolume/volume-shared/src/constants");
var apiUrlFromVolumeEnvironment = (environment) => {
if (environment === "live")
return import_volume_shared.LIVE_API_URL;
return import_constants.LIVE_API_URL;
if (environment === "sandbox")
return import_volume_shared.SANDBOX_API_URL;
return import_constants.SANDBOX_API_URL;
if (environment === "integration")
return import_constants.INTEGRATION_API_URL;
return environment;

@@ -50,3 +52,3 @@ };

return await fetch(
`${apiUrlFromVolumeEnvironment(environment)}${import_volume_shared2.Endpoints[endpoint]}`,
`${apiUrlFromVolumeEnvironment(environment)}${import_volume_shared.Endpoints[endpoint]}`,
{

@@ -67,5 +69,9 @@ method,

name: "@getvolume/volume-js",
version: "1.0.4",
version: "1.0.6",
description: "Volume JS",
main: "dist/index.js",
main: "./dist/index.js",
types: "./dist/index.d.ts",
files: [
"dist/**"
],
scripts: {

@@ -72,0 +78,0 @@ test: "vitest run",

{
"name": "@getvolume/volume-js",
"version": "1.0.5",
"version": "1.0.6",
"description": "Volume JS",
"main": "dist/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**"
],
"scripts": {

@@ -7,0 +11,0 @@ "test": "vitest run",

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