@figuredev/payments-sdk
Advanced tools
Comparing version 0.17.0 to 0.18.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22913
395