Socket
Socket
Sign inDemoInstall

@entur/add-customers-to-offer-configurations

Package Overview
Dependencies
281
Maintainers
11
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

5

dist/index.d.ts
import type { Offer } from './offersTypes';
import { OfferConfiguration, Customer } from './reserveOfferTypes';
/** This is a stripped down version of the Offer type, containing only the root keys that we need. The hope is that this will lead to fewer updates because the type has changed. */
declare type StrippedOffer = Pick<Offer, 'id' | 'travelerMapping' | 'salesPackageConfig'>;
/**

@@ -10,2 +12,3 @@ * Enriches offerConfigurations with the supplied customer profiles

*/
export default function addCustomersToOfferConfigurations(customers: Customer[], offerConfigurations: OfferConfiguration[], offers: Offer[]): OfferConfiguration[];
export default function addCustomersToOfferConfigurations(customers: Customer[], offerConfigurations: OfferConfiguration[], offers: StrippedOffer[]): OfferConfiguration[];
export {};

2

package.json
{
"name": "@entur/add-customers-to-offer-configurations",
"version": "1.1.0",
"version": "1.1.1",
"description": "Adds customers to a group of offer configurations, given the offers used to generate them",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc