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

lightrail-client

Package Overview
Dependencies
Maintainers
4
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightrail-client - npm Package Compare versions

Comparing version 3.1.2 to 3.2.0

10

CHANGELOG.md
# Changelog
## 3.2.0
[Added new transaction types](https://github.com/Giftbit/lightrail-client-javascript/pull/30)
- Added reverse to transactions
- Added capturePending to transactions
- Added voidPending to transactions
- Added createdBy to Contact, Program and Value
## 3.1.2

@@ -29,3 +36,2 @@ [Updated LightrailTransactionStep](https://github.com/Giftbit/lightrail-client-javascript/pull/29)

## 3.0.0

@@ -38,2 +44,2 @@ [Deprecation updates and minor naming bug fixes.](https://github.com/Giftbit/lightrail-client-javascript/pull/22)

- `preTax` -> `pretax`
- Added new Transaction.totals properties: (`paidLightrail`, `paidStripe`, `paidInternal`, `discountLightrail`).
- Added new Transaction.totals properties: (`paidLightrail`, `paidStripe`, `paidInternal`, `discountLightrail`).

35

package.json
{
"name": "lightrail-client",
"version": "3.1.2",
"version": "3.2.0",
"description": "A Javascript and Typescript client for Lightrail",

@@ -15,3 +15,3 @@ "main": "dist/index.js",

"prepublishOnly": "npm run clean && npm run build && npm run lint && npm run test",
"test": "mocha --timeout=5000 --recursive --throw-deprecation --require ts-node/register --require dotenv/config \"src/**/*.test.ts\""
"test": "mocha --timeout=5000 --recursive --throw-deprecation --require ts-node/register --require dotenv-safe/config \"src/**/*.test.ts\""
},

@@ -37,23 +37,24 @@ "repository": {

"devDependencies": {
"@types/chai": "^4.0.6",
"@types/chai": "^4.1.7",
"@types/chai-as-promised": "^7.1.0",
"@types/jsonwebtoken": "^7.2.3",
"@types/mocha": "^2.2.44",
"@types/node": "^8.0.53",
"@types/superagent": "^3.5.6",
"chai": "^4.1.2",
"chai-exclude": "^1.0.8",
"@types/dotenv-safe": "^5.0.2",
"@types/jsonwebtoken": "^8.3.0",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.17",
"@types/superagent": "^3.8.5",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"dotenv": "^4.0.0",
"mitm": "^1.3.3",
"mocha": "^4.0.1",
"chai-exclude": "^1.0.12",
"dotenv-safe": "^6.1.0",
"mitm": "^1.5.0",
"mocha": "^5.2.0",
"rimraf": "^2.6.2",
"ts-node": "^3.3.0",
"tslint": "^5.8.0",
"typescript": "^2.6.2",
"uuid": "^3.1.0"
"ts-node": "^7.0.1",
"tslint": "^5.12.0",
"typescript": "^3.2.2",
"uuid": "^3.3.2"
},
"dependencies": {
"@types/parse-link-header": "^1.0.0",
"jsonwebtoken": "^8.1.0",
"jsonwebtoken": "^8.4.0",
"parse-link-header": "^1.0.1",

@@ -60,0 +61,0 @@ "superagent": "^3.8.1"

@@ -20,3 +20,3 @@ # Lightrail Client for JavaScript and TypeScript

##### Transactions
Checkout, Debit, Credit, Transfer, Get , List
Checkout, Debit, Credit, Transfer, Get, List

@@ -23,0 +23,0 @@ ##### Currencies

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