New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@getvolume/volume-js

Package Overview
Dependencies
Maintainers
5
Versions
37
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.12 to 1.0.13-1

6

dist/index.d.ts

@@ -1,2 +0,2 @@

import { AgentType } from '@getvolume/volume-shared';
import { ResponseWrapper, AgentType } from '@getvolume/volume-shared';

@@ -18,4 +18,4 @@ type VolumeEnvironment = "live" | "sandbox" | "local" | (string & {});

get version(): string;
institutions(): Promise<Response>;
paymentStatus(paymentId: string): Promise<Response>;
institutions(): Promise<ResponseWrapper<Response>>;
paymentStatus(paymentId: string): Promise<ResponseWrapper<Response>>;
createSingleDomesticPayment({ institutionId, paymentRequest, merchantPaymentId, shopperId, paymentId }: {

@@ -22,0 +22,0 @@ shopperId?: string;

@@ -128,3 +128,3 @@ "use strict";

name: "@getvolume/volume-js",
version: "1.0.12",
version: "1.0.13-1",
description: "Volume JS",

@@ -144,3 +144,3 @@ main: "./dist/index.js",

dependencies: {
"@getvolume/volume-shared": "0.0.9"
"@getvolume/volume-shared": "0.0.10-1"
},

@@ -169,11 +169,19 @@ author: "Kai Spencer",

return __async(this, null, function* () {
return yield applicationIdRequest({
applicationId: this.initConfig.applicationId,
endpoint: "INSTITUTIONS",
environment: this.initConfig.environment,
xAppName: this.initConfig.xAppName,
xDeviceInfo: this.initConfig.xDeviceInfo,
xVolumeVersion: this.initConfig.xVolumeVersion,
xCommitSha: this.initConfig.xCommitSha
});
try {
return {
response: yield applicationIdRequest({
applicationId: this.initConfig.applicationId,
endpoint: "INSTITUTIONS",
environment: this.initConfig.environment,
xAppName: this.initConfig.xAppName,
xDeviceInfo: this.initConfig.xDeviceInfo,
xVolumeVersion: this.initConfig.xVolumeVersion,
xCommitSha: this.initConfig.xCommitSha
})
};
} catch (e) {
return {
error: e
};
}
});

@@ -183,12 +191,20 @@ }

return __async(this, null, function* () {
return yield applicationIdRequest({
applicationId: this.initConfig.applicationId,
endpoint: "PAYMENT_STATUS",
params: [paymentId],
environment: this.initConfig.environment,
xAppName: this.initConfig.xAppName,
xDeviceInfo: this.initConfig.xDeviceInfo,
xVolumeVersion: this.initConfig.xVolumeVersion,
xCommitSha: this.initConfig.xCommitSha
});
try {
return {
response: yield applicationIdRequest({
applicationId: this.initConfig.applicationId,
endpoint: "PAYMENT_STATUS",
params: [paymentId],
environment: this.initConfig.environment,
xAppName: this.initConfig.xAppName,
xDeviceInfo: this.initConfig.xDeviceInfo,
xVolumeVersion: this.initConfig.xVolumeVersion,
xCommitSha: this.initConfig.xCommitSha
})
};
} catch (e) {
return {
error: e
};
}
});

@@ -195,0 +211,0 @@ }

{
"name": "@getvolume/volume-js",
"version": "1.0.12",
"version": "1.0.13-1",
"description": "Volume JS",

@@ -18,3 +18,3 @@ "main": "./dist/index.js",

"dependencies": {
"@getvolume/volume-shared": "0.0.9"
"@getvolume/volume-shared": "0.0.10-1"
},

@@ -21,0 +21,0 @@ "author": "Kai Spencer",

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