@nttickets/common
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -7,3 +7,3 @@ import { Stan, Message } from "node-nats-streaming"; | ||
} | ||
export default abstract class Listener<T extends Event> { | ||
export declare abstract class Listener<T extends Event> { | ||
private client; | ||
@@ -10,0 +10,0 @@ abstract subject: T["subject"]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Listener = void 0; | ||
class Listener { | ||
@@ -36,2 +37,2 @@ constructor(client) { | ||
} | ||
exports.default = Listener; | ||
exports.Listener = Listener; |
@@ -7,3 +7,3 @@ import { Stan } from "node-nats-streaming"; | ||
} | ||
export default abstract class Publisher<T extends Event> { | ||
export declare abstract class Publisher<T extends Event> { | ||
abstract subject: T["subject"]; | ||
@@ -10,0 +10,0 @@ private client; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Publisher = void 0; | ||
class Publisher { | ||
@@ -21,2 +22,2 @@ constructor(client) { | ||
} | ||
exports.default = Publisher; | ||
exports.Publisher = Publisher; |
import { Subjects } from "./enumSubject"; | ||
export default interface TicketCreatedEvent { | ||
export interface TicketCreatedEvent { | ||
subject: Subjects.ticketCreated; | ||
@@ -4,0 +4,0 @@ data: { |
{ | ||
"name": "@nttickets/common", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14601
401