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.23.0 to 0.24.0

2

lib/index.d.ts

@@ -17,3 +17,3 @@ import { UserContext } from "./utils";

tokenize(ctx: UserContext, id: string, gateway: PaymentGatewayDTO, data: PaymentInputDTO): Promise<PaymentInitializedResponseDTO>;
cancel(ctx: UserContext, id: string): Promise<void>;
cancel(ctx: UserContext, id: string, referenceId: string): Promise<void>;
save(ctx: UserContext, id: string, data: PaymentRequestSaveDTO): Promise<void>;

@@ -20,0 +20,0 @@ getPaymentInfo(ctx: UserContext, id: string): Promise<PaymentGetResponseDTO>;

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

}
cancel(ctx, id) {
cancel(ctx, id, referenceId) {
return __awaiter(this, void 0, void 0, function* () {

@@ -139,2 +139,5 @@ return yield axios_1.default

headers: utils_1.constructHeaders(this.config.secret, ctx),
data: {
referenceId: referenceId,
},
})

@@ -141,0 +144,0 @@ .then((r) => r.data);

{
"name": "@figuredev/payments-sdk",
"version": "0.23.0",
"version": "0.24.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