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

@barchart/events-api-common

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@barchart/events-api-common - npm Package Compare versions

Comparing version 4.1.2 to 4.2.0

28

lib/data/EventType.js

@@ -303,2 +303,22 @@ const assert = require('@barchart/common-js/lang/assert'),

static get MARKETPLACE_CUSTOMER_CREATED() {
return marketplaceCustomerCreated;
}
static get MARKETPLACE_ACCOUNT_LINKED() {
return marketplaceAccountLinked;
}
static get MARKETPLACE_CUSTOMER_OFFER_ACCESS_APPROVED() {
return marketplaceCustomerOfferAccessApproved;
}
static get MARKETPLACE_OFFER_CREATED() {
return marketplaceOfferCreated;
}
static get MARKETPLACE_CONTRACT_SIGNED() {
return marketplaceContractSigned;
}
/**

@@ -399,3 +419,11 @@ * Get all context keys for productType.

// Marketplace
const marketplaceCustomerCreated = new EventType('CUSTOMER-CREATED', 'Customer Created', ProductType.MARKETPLACE, ['userId', 'userType', 'companyId', 'companyName', 'entityId']);
const marketplaceAccountLinked = new EventType('ACCOUNT-LINKED', 'Account Linked', ProductType.MARKETPLACE, ['userId', 'userType', 'companyId', 'companyName', 'entityId']);
const marketplaceCustomerOfferAccessApproved = new EventType('CUSTOMER-OFFER-ACCESS-APPROVED', 'Offer Access Approved', ProductType.MARKETPLACE, ['userId', 'userType', 'companyId', 'companyName', 'entityId']);
const marketplaceOfferCreated = new EventType('OFFER-CREATED', 'Offer Created', ProductType.MARKETPLACE, ['userId', 'userType', 'companyId', 'companyName', 'entityId']);
const marketplaceContractSigned = new EventType('CONTRACT-SIGNED', 'Contract Signed', ProductType.MARKETPLACE, ['userId', 'userType', 'companyId', 'companyName', 'entityId']);
return EventType;
})();

@@ -86,2 +86,13 @@ const Enum = require('@barchart/common-js/lang/Enum');

/**
* The cmdty Marketplace platform.
*
* @public
* @static
* @returns {ProductType}
*/
static get MARKETPLACE() {
return marketplace;
}
toString() {

@@ -97,4 +108,5 @@ return `[ProductType (code=${this.code})]`;

const entitlements = new ProductType('ENTITLEMENTS', 'ENTITLEMENTS');
const marketplace = new ProductType('MARKETPLACE', 'MARKETPLACE');
return ProductType;
})();

9

package.json
{
"name": "@barchart/events-api-common",
"version": "4.1.2",
"version": "4.2.0",
"description": "Common classes used by the Barchart Event Tracking System",

@@ -8,3 +8,3 @@ "author": {

"email": "bryan.ingle@barchart.com",
"url": "http://www.barchart.com"
"url": "https://www.barchart.com"
},

@@ -14,3 +14,3 @@ "contributors": [

"name": "Igor Losev",
"email": "igor.losev.it@gmail.com"
"email": "igor.losev@barchart.com"
}

@@ -25,4 +25,3 @@ ],

},
"license": "MIT",
"gitHead": "7e49340aaa068ec2f9a57e61f3fc1d3ad9628680"
"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