@polylith/core 0.1.1 → 0.1.2

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/Eventable.js CHANGED
@@ -1,4 +1,4 @@
1
- import { EventBus } from "./EventBus";
1
+ import { EventBus } from "./EventBus.js";
2
2
 
3
3
  export function makeEventable(obj) {
4
4
  obj.eventBus = new EventBus('eventable:');
package/Service.js CHANGED
@@ -1,5 +1,5 @@
1
- import { ServiceOject } from "./ServiceObject";
2
- import { registry } from "./Registry";
1
+ import { ServiceOject } from "./ServiceObject.js";
2
+ import { registry } from "./Registry.js";
3
3
 
4
4
  export class Service {
5
5
  constructor (name) {
package/index.js CHANGED
@@ -1,7 +1,5 @@
1
- import { registry } from './Registry';
2
- import { makeEventable } from './Eventable';
3
- import { Service } from './Service';
4
- import App from './App';
1
+ import { registry } from './Registry.js';
2
+ import { makeEventable } from './Eventable.js';
3
+ import { Service } from './Service.js';
5
4
 
6
- export {registry as registry, Service as Service, makeEventable as makeEventable,
7
- App as App};
5
+ export {registry as registry, Service as Service, makeEventable as makeEventable}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@polylith/core",
3
3
  "access": "public",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "description": "Core of the client-side polylith framework",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -11,5 +11,6 @@
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
13
  "uuid": "^8.3.2"
14
- }
14
+ },
15
+ "type": "module"
15
16
  }