broker-factory
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -22,3 +22,3 @@ import { generateUniqueNumber } from 'fast-unique-numbers'; | ||
ongoingRequests.delete(id); | ||
if (message.error !== undefined) { | ||
if (message.error === undefined) { | ||
resolve(message.result); | ||
@@ -25,0 +25,0 @@ } |
@@ -91,3 +91,3 @@ (function (global, factory) { | ||
ongoingRequests.delete(id); | ||
if (message.error !== undefined) { | ||
if (message.error === undefined) { | ||
resolve(message.result); | ||
@@ -94,0 +94,0 @@ } else { |
@@ -24,3 +24,3 @@ import * as tslib_1 from "tslib"; | ||
ongoingRequests.delete(id); | ||
if (message.error !== undefined) { | ||
if (message.error === undefined) { | ||
resolve(message.result); | ||
@@ -27,0 +27,0 @@ } |
@@ -73,3 +73,3 @@ { | ||
"types": "build/es2015/module.d.ts", | ||
"version": "1.0.0" | ||
"version": "1.0.1" | ||
} |
@@ -41,3 +41,3 @@ import { generateUniqueNumber } from 'fast-unique-numbers'; | ||
if ((<IWorkerErrorMessage> message).error !== undefined) { | ||
if ((<IWorkerErrorMessage> message).error === undefined) { | ||
resolve((<IWorkerResultMessage> message).result); | ||
@@ -44,0 +44,0 @@ } else { |
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