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

@colearn/microservices-kit

Package Overview
Dependencies
Maintainers
3
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colearn/microservices-kit - npm Package Compare versions

Comparing version 0.0.57 to 0.0.58

20

lib/broker/types.d.ts

@@ -5,3 +5,5 @@ export declare enum BrokerMessageType {

ResetPasswordEmail = "ResetPasswordEmail",
StartCleverSync = "StartCleverSync"
StartCleverSync = "StartCleverSync",
LearnerJourneySubmitted = "LearnerJourneySubmitted",
LearnerJourneyPublshed = "LearnerJourneyPublshed"
}

@@ -37,2 +39,16 @@ export interface FamilyEmailMessage {

}
export type BrokerMessage = FamilyEmailMessage | WelcomeEmailMessage | ResetPasswordEmailMessage | StartCleverSyncMessage;
export interface LearnerJourneySubmittedMessage {
type: BrokerMessageType.LearnerJourneySubmitted;
journeyId: number;
personId: number;
journeyName: string;
token?: string;
}
export interface LearnerJourneyPublshedMessage {
type: BrokerMessageType.LearnerJourneyPublshed;
journeyId: number;
personId: number;
journeyName: string;
token?: string;
}
export type BrokerMessage = FamilyEmailMessage | WelcomeEmailMessage | ResetPasswordEmailMessage | StartCleverSyncMessage | LearnerJourneySubmittedMessage | LearnerJourneyPublshedMessage;

@@ -10,3 +10,5 @@ "use strict";

BrokerMessageType["StartCleverSync"] = "StartCleverSync";
BrokerMessageType["LearnerJourneySubmitted"] = "LearnerJourneySubmitted";
BrokerMessageType["LearnerJourneyPublshed"] = "LearnerJourneyPublshed";
})(BrokerMessageType || (exports.BrokerMessageType = BrokerMessageType = {}));
//# sourceMappingURL=types.js.map

12

package.json
{
"name": "@colearn/microservices-kit",
"version": "0.0.57",
"version": "0.0.58",
"description": "colearn microservice kit",

@@ -37,3 +37,3 @@ "author": "Colearn",

"dependencies": {
"@sentry/node": "^7.56.0",
"@sentry/node": "^7.57.0",
"body-parser": "^1.20.2",

@@ -47,9 +47,9 @@ "express-jwt": "^8.3.0",

"@types/express-jwt": "^7.4.2",
"@types/node": "^20.3.2",
"eslint": "^8.43.0",
"@types/node": "^20.4.0",
"eslint": "^8.44.0",
"express": "^4.18.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"lint-staged": "^13.2.3",
"prettier": "^2.8.8",
"typescript": "^5.1.5"
"typescript": "^5.1.6"
},

@@ -56,0 +56,0 @@ "lint-staged": {

Sorry, the diff of this file is not supported yet

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