@node-ts/bus-messages
Advanced tools
Comparing version 1.0.6 to 1.1.0-beta.0
@@ -8,2 +8,1 @@ "use strict"; | ||
exports.Command = Command; | ||
//# sourceMappingURL=command.js.map |
@@ -8,2 +8,1 @@ "use strict"; | ||
exports.Event = Event; | ||
//# sourceMappingURL=event.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./message"), exports); | ||
(0, tslib_1.__exportStar)(require("./command"), exports); | ||
(0, tslib_1.__exportStar)(require("./event"), exports); | ||
(0, tslib_1.__exportStar)(require("./message-attributes"), exports); | ||
//# sourceMappingURL=index.js.map | ||
tslib_1.__exportStar(require("./message"), exports); | ||
tslib_1.__exportStar(require("./command"), exports); | ||
tslib_1.__exportStar(require("./event"), exports); | ||
tslib_1.__exportStar(require("./message-attributes"), exports); |
@@ -1,7 +0,7 @@ | ||
declare type Uuid = string; | ||
type Uuid = string; | ||
export interface MessageAttributeMap { | ||
[key: string]: string | number | boolean | undefined; | ||
} | ||
export declare type Attributes<AttributesType extends MessageAttributeMap> = AttributesType; | ||
export declare type StickyAttributes<StickyAttributesType extends MessageAttributeMap> = StickyAttributesType; | ||
export type Attributes<AttributesType extends MessageAttributeMap> = AttributesType; | ||
export type StickyAttributes<StickyAttributesType extends MessageAttributeMap> = StickyAttributesType; | ||
/** | ||
@@ -8,0 +8,0 @@ * Options that control the behaviour around how the message is sent and |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=message-attributes.js.map |
@@ -1,4 +0,8 @@ | ||
export declare class Message { | ||
readonly $name: string; | ||
readonly $version: number; | ||
/** | ||
* A base message type that is transmitted over a transport. Declaring messages with this base class enables | ||
* efficient routing and dispatch to handlers. | ||
*/ | ||
export declare abstract class Message { | ||
abstract readonly $name: string; | ||
abstract readonly $version: number; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Message = void 0; | ||
/** | ||
* A base message type that is transmitted over a transport. Declaring messages with this base class enables | ||
* efficient routing and dispatch to handlers. | ||
*/ | ||
class Message { | ||
} | ||
exports.Message = Message; | ||
//# sourceMappingURL=message.js.map |
{ | ||
"name": "@node-ts/bus-messages", | ||
"description": "A core set of message definitions for distributed applications.", | ||
"version": "1.0.6", | ||
"version": "1.1.0-beta.0", | ||
"license": "MIT", | ||
@@ -13,7 +13,7 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"tslib": "^1.13.0" | ||
"tslib": "^2.6.2" | ||
}, | ||
"devDependencies": { | ||
"@node-ts/code-standards": "^0.0.10", | ||
"typescript": "^4.3.5" | ||
"typescript": "^5.3.3" | ||
}, | ||
@@ -34,5 +34,5 @@ "keywords": [ | ||
"clean": "rm -rf dist", | ||
"build": "tsc --project tsconfig.json --declaration", | ||
"build": "tsc", | ||
"build:watch": "pnpm run build --incremental --watch --preserveWatchOutput" | ||
} | ||
} |
@@ -1,4 +0,8 @@ | ||
export class Message { | ||
readonly $name: string | ||
readonly $version: number | ||
/** | ||
* A base message type that is transmitted over a transport. Declaring messages with this base class enables | ||
* efficient routing and dispatch to handlers. | ||
*/ | ||
export abstract class Message { | ||
abstract readonly $name: string | ||
abstract readonly $version: number | ||
} |
{ | ||
"extends": "../../tsconfig.json", | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["src/**/*.spec.ts", "src/**/*.integration.ts"], | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"outDir": "./dist" | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
168
8789
19
2
+ Addedtslib@2.8.1(transitive)
- Removedtslib@1.14.1(transitive)
Updatedtslib@^2.6.2