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 4.1.5 to 4.2.1

dist/model/GenericCodeOptions.d.ts

2

dist/index.js

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

// TODO@Dan Review Previous import of package.json to dynamically set this was breaking publish (dist included src/ & package.json file)
r.set("User-Agent", "Lightrail-JavaScript/4.0.0");
r.set("User-Agent", "Lightrail-JavaScript/4.2.1");
}

@@ -100,0 +100,0 @@ if (exports.configuration.isBrowser) {

@@ -9,1 +9,2 @@ export * from "./BalanceRule";

export * from "./Value";
export * from "./GenericCodeOptions";
import { BalanceRule } from "./BalanceRule";
import { RedemptionRule } from "./RedemptionRule";
import { GenericCodeOptions } from "./GenericCodeOptions";
export interface Value {

@@ -12,2 +13,4 @@ id: string;

isGenericCode: boolean;
genericCodeOptions: GenericCodeOptions;
attachedFromValueId: string;
contactId: string;

@@ -14,0 +17,0 @@ pretax: boolean;

@@ -5,2 +5,3 @@ import { Value } from "../../model/Value";

import { RedemptionRule } from "../../model/RedemptionRule";
import { GenericCodeOptions } from "../../model/GenericCodeOptions";
export interface CreateValueParams {

@@ -18,2 +19,3 @@ id: string;

discountSellerLiability?: number;
genericCodeOptions?: GenericCodeOptions;
redemptionRule?: RedemptionRule;

@@ -20,0 +22,0 @@ balanceRule?: BalanceRule;

@@ -15,2 +15,4 @@ import { PaginatedLightrailResponse } from "../LightrailResponse";

usesRemaining?: FilterableNumber;
attachedFromValueId?: FilterableString;
isGenericCode?: boolean;
discount?: boolean;

@@ -17,0 +19,0 @@ active?: boolean;

{
"name": "lightrail-client",
"version": "4.1.5",
"version": "4.2.1",
"description": "A Javascript and Typescript client for Lightrail",

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

"Tana Jukes <tana.jukes@gmail.com> (https://github.com/tjukes)",
"Tim Jordison (https://github.com/Tim-Jordison)"
"Tim Jordison (https://github.com/Tim-Jordison)",
"Jamie Totten (https://github.com/jamietotten)"
],

@@ -31,0 +32,0 @@ "license": "MIT",

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