From ecc4fb63de4a4f78f4586c4dc39face82ed14d28 Mon Sep 17 00:00:00 2001 From: jeff Date: Tue, 19 Feb 2019 10:22:41 -0800 Subject: [PATCH] Release 4.1.2. Added `metadata` to capture pending, void pending and reverse transaction requests. --- package-lock.json | 2 +- package.json | 2 +- src/params/transactions/CapturePendingParams.ts | 1 + src/params/transactions/ReverseParams.ts | 1 + src/params/transactions/VoidPendingParams.ts | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26bdb0d..2d60598 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "lightrail-client", - "version": "4.0.0", + "version": "4.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index af69282..e7de1db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lightrail-client", - "version": "4.1.1", + "version": "4.1.2", "description": "A Javascript and Typescript client for Lightrail", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/params/transactions/CapturePendingParams.ts b/src/params/transactions/CapturePendingParams.ts index 91d9a53..a4ca15e 100644 --- a/src/params/transactions/CapturePendingParams.ts +++ b/src/params/transactions/CapturePendingParams.ts @@ -3,6 +3,7 @@ import {Transaction} from "../../model"; export interface CapturePendingParams { id: string; + metadata?: object; } export interface CapturePendingResponse extends LightrailResponse { diff --git a/src/params/transactions/ReverseParams.ts b/src/params/transactions/ReverseParams.ts index 2813a5f..f007692 100644 --- a/src/params/transactions/ReverseParams.ts +++ b/src/params/transactions/ReverseParams.ts @@ -3,6 +3,7 @@ import {Transaction} from "../../model"; export interface ReverseParams { id: string; + metadata?: object; } export interface ReverseResponse extends LightrailResponse { diff --git a/src/params/transactions/VoidPendingParams.ts b/src/params/transactions/VoidPendingParams.ts index 9320629..e2dce8c 100644 --- a/src/params/transactions/VoidPendingParams.ts +++ b/src/params/transactions/VoidPendingParams.ts @@ -3,6 +3,7 @@ import {Transaction} from "../../model"; export interface VoidPendingParams { id: string; + metadata?: object; } export interface VoidPendingResponse extends LightrailResponse {