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.25.1 to 0.25.2

3

lib/index.js

@@ -46,2 +46,3 @@ "use strict";

}
// amount is target amount: payment + tip
adjust(ctx, id, referenceId, amount) {

@@ -64,2 +65,3 @@ return __awaiter(this, void 0, void 0, function* () {

}
// amount is difference amount: amount to refund or null for full refund
refund(ctx, id, referenceId, amount) {

@@ -82,2 +84,3 @@ return __awaiter(this, void 0, void 0, function* () {

}
// amount is target amount to capture
capture(ctx, id, referenceId, amount) {

@@ -84,0 +87,0 @@ return __awaiter(this, void 0, void 0, function* () {

3

lib/types.d.ts

@@ -38,3 +38,4 @@ import { Maybe } from "fgr-lib-backend/lib/types";

Declined = "Declined",
Error = "Error"
GatewayError = "GatewayError",
ServerError = "ServerError"
}

@@ -41,0 +42,0 @@ export declare type PaymentRequestDTO = {

@@ -34,3 +34,4 @@ "use strict";

PaymentStatusDTO["Declined"] = "Declined";
PaymentStatusDTO["Error"] = "Error";
PaymentStatusDTO["GatewayError"] = "GatewayError";
PaymentStatusDTO["ServerError"] = "ServerError";
})(PaymentStatusDTO = exports.PaymentStatusDTO || (exports.PaymentStatusDTO = {}));

@@ -37,0 +38,0 @@ var PaymentDeclineCode;

{
"name": "@figuredev/payments-sdk",
"version": "0.25.1",
"version": "0.25.2",
"license": "ISC",

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

Sorry, the diff of this file is not supported yet

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