@theshelf/eventbroker 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/EventBroker.d.ts +2 -2
- package/dist/definitions/interfaces.d.ts +1 -1
- package/dist/errors/UnknownImplementation.d.ts +1 -1
- package/dist/errors/UnknownImplementation.js +1 -1
- package/dist/implementation.d.ts +1 -1
- package/dist/implementation.js +2 -2
- package/dist/implementations/memory/Memory.d.ts +2 -2
- package/dist/implementations/memory/create.d.ts +1 -1
- package/dist/implementations/memory/create.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/package.json +4 -1
package/dist/EventBroker.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Driver } from './definitions/interfaces';
|
|
2
|
-
import type { Publication, Subscription } from './definitions/types';
|
|
1
|
+
import type { Driver } from './definitions/interfaces.js';
|
|
2
|
+
import type { Publication, Subscription } from './definitions/types.js';
|
|
3
3
|
export default class EventBroker implements Driver {
|
|
4
4
|
#private;
|
|
5
5
|
constructor(driver: Driver);
|
package/dist/implementation.d.ts
CHANGED
package/dist/implementation.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import UnknownImplementation from './errors/UnknownImplementation';
|
|
2
|
-
import createMemoryBroker from './implementations/memory/create';
|
|
1
|
+
import UnknownImplementation from './errors/UnknownImplementation.js';
|
|
2
|
+
import createMemoryBroker from './implementations/memory/create.js';
|
|
3
3
|
const implementations = new Map([
|
|
4
4
|
['memory', createMemoryBroker]
|
|
5
5
|
]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Driver } from '../../definitions/interfaces';
|
|
2
|
-
import type { Publication, Subscription } from '../../definitions/types';
|
|
1
|
+
import type { Driver } from '../../definitions/interfaces.js';
|
|
2
|
+
import type { Publication, Subscription } from '../../definitions/types.js';
|
|
3
3
|
export default class Memory implements Driver {
|
|
4
4
|
#private;
|
|
5
5
|
get connected(): boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import Memory from './Memory';
|
|
1
|
+
import Memory from './Memory.js';
|
|
2
2
|
export default function create(): Memory;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import EventBroker from './EventBroker';
|
|
1
|
+
import EventBroker from './EventBroker.js';
|
|
2
2
|
declare const eventBroker: EventBroker;
|
|
3
|
-
export * from './definitions/types';
|
|
3
|
+
export * from './definitions/types.js';
|
|
4
4
|
export type { EventBroker };
|
|
5
5
|
export default eventBroker;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import EventBroker from './EventBroker';
|
|
2
|
-
import implementation from './implementation';
|
|
1
|
+
import EventBroker from './EventBroker.js';
|
|
2
|
+
import implementation from './implementation.js';
|
|
3
3
|
const eventBroker = new EventBroker(implementation);
|
|
4
|
-
export * from './definitions/types';
|
|
4
|
+
export * from './definitions/types.js';
|
|
5
5
|
export default eventBroker;
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theshelf/eventbroker",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"url": "https://github.com/MaskingTechnology/theshelf"
|
|
8
|
+
},
|
|
6
9
|
"scripts": {
|
|
7
10
|
"build": "tsc",
|
|
8
11
|
"clean": "rimraf dist",
|