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

@figuredev/payments-sdk

Package Overview
Dependencies
Maintainers
6
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figuredev/payments-sdk - npm Package Compare versions

Comparing version 0.17.0 to 0.18.0

2

lib/index.d.ts

@@ -19,4 +19,4 @@ import { UserContext } from "./utils";

getPaymentInfo(ctx: UserContext, id: string): Promise<PaymentResponseDTO>;
getAuthenticationToken(ctx: UserContext, gateway: PaymentGatewayDTO, amount: number): Promise<PaymentAuthTokenDTO>;
getAuthenticationToken(ctx: UserContext, gateway: PaymentGatewayDTO, amount?: number): Promise<PaymentAuthTokenDTO>;
}
export {};

@@ -162,6 +162,3 @@ "use strict";

headers: (0, utils_1.constructHeaders)(this.config.secret, ctx),
data: {
gateway: gateway,
amount: amount,
},
data: Object.assign({ gateway: gateway }, (amount == null ? null : { amount: amount })),
})

@@ -168,0 +165,0 @@ .then((r) => r.data);

{
"name": "@figuredev/payments-sdk",
"version": "0.17.0",
"version": "0.18.0",
"license": "ISC",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is not supported yet

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