diff --git a/app/package.json b/app/package.json index 93e4cf7..2daae52 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "@cmmn/app", - "version": "2.2.0", + "version": "2.2.2", "description": "", "publishConfig": { "access": "public" diff --git a/core/package.json b/core/package.json index 34d7530..423a6d8 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "@cmmn/core", - "version": "2.2.0", + "version": "2.2.2", "repository": { "url": "https://github.com/franzzua/cmmn/tree/master/core" }, diff --git a/domain/entry/proxy.ts b/domain/entry/proxy.ts index 0ea5fc1..9a83d77 100644 --- a/domain/entry/proxy.ts +++ b/domain/entry/proxy.ts @@ -23,7 +23,7 @@ export function useStreamDomain(): Container { } export function useWorkerDomain(worker: Worker | SharedWorker): Container { - const stream = new WorkerStream(worker instanceof SharedWorker ? worker.port : worker) ; + const stream = new WorkerStream((globalThis.SharedWorker && worker instanceof globalThis.SharedWorker) ? worker.port : worker as Worker) ; return Container.withProviders({ provide: Locator, useClass: EntityLocator }, { diff --git a/infr/package.json b/infr/package.json index 1040309..eaa468b 100644 --- a/infr/package.json +++ b/infr/package.json @@ -1,6 +1,6 @@ { "name": "@cmmn/infr", - "version": "2.2.1", + "version": "2.2.2", "description": "", "type": "module", "repository": { diff --git a/package.json b/package.json index 36aa2f7..ca1d003 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cmmn/framework", - "version": "2.2.0", + "version": "2.2.2", "description": "", "private": true, "scripts": { diff --git a/server/package.json b/server/package.json index 3b333ab..bdfb312 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,6 @@ { "name": "@cmmn/server", - "version": "2.2.0", + "version": "2.2.2", "description": "server libs for building rest api", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/sync/package.json b/sync/package.json index efdaa35..a99a9a5 100644 --- a/sync/package.json +++ b/sync/package.json @@ -1,6 +1,6 @@ { "name": "@cmmn/sync", - "version": "2.2.0", + "version": "2.2.2", "description": "collaborative with yjs", "publishConfig": { "access": "public" diff --git a/tools/package.json b/tools/package.json index 420ec77..8073f91 100644 --- a/tools/package.json +++ b/tools/package.json @@ -1,6 +1,6 @@ { "name": "@cmmn/tools", - "version": "2.2.0", + "version": "2.2.2", "description": "Compilation, bundling, code generator, testing.", "main": "dist/rollup.config.js", "type": "module", diff --git a/ui/package.json b/ui/package.json index 2b0002e..4338bdc 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "@cmmn/ui", - "version": "2.2.1", + "version": "2.2.2", "description": "", "publishConfig": { "access": "public"