@wixc3/engine-core-node
Advanced tools
Comparing version 36.0.0 to 36.0.1
@@ -44,7 +44,2 @@ "use strict"; | ||
disposables.add(() => metadataProviderCom.dispose()); | ||
// dispose metadataProviderCom once metadata is obtained | ||
// it is done cause we don't need communication anymore once result memoized | ||
// this might help with issue when client did not call dispose when exiting | ||
// and this communication instance hangs process by being subscribed for events | ||
metadataPromise.then(() => disposables.dispose()).catch(engine_core_1.reportError); | ||
return { | ||
@@ -51,0 +46,0 @@ metadataPromise, |
{ | ||
"name": "@wixc3/engine-core-node", | ||
"version": "36.0.0", | ||
"version": "36.0.1", | ||
"main": "dist/index.js", | ||
@@ -11,3 +11,3 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@wixc3/engine-core": "^36.0.0", | ||
"@wixc3/engine-core": "^36.0.1", | ||
"@wixc3/patterns": "^8.2.0", | ||
@@ -14,0 +14,0 @@ "create-listening-server": "^2.1.0", |
@@ -1,2 +0,2 @@ | ||
import { Communication, reportError } from '@wixc3/engine-core'; | ||
import { Communication } from '@wixc3/engine-core'; | ||
import { createDisposables } from '@wixc3/patterns'; | ||
@@ -52,8 +52,2 @@ import { MetadataCollectionAPI, metadataApiToken } from './types'; | ||
// dispose metadataProviderCom once metadata is obtained | ||
// it is done cause we don't need communication anymore once result memoized | ||
// this might help with issue when client did not call dispose when exiting | ||
// and this communication instance hangs process by being subscribed for events | ||
metadataPromise.then(() => disposables.dispose()).catch(reportError); | ||
return { | ||
@@ -60,0 +54,0 @@ metadataPromise, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
38587
637
Updated@wixc3/engine-core@^36.0.1