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

@node-ts/bus-messages

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-ts/bus-messages - npm Package Compare versions

Comparing version 1.0.6 to 1.1.0-beta.0

1

dist/command.js

@@ -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

9

dist/index.js
"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"
}
}
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