@holochain/conductor-api
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -33,3 +33,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
const isBrowser = typeof window !== "undefined"; | ||
const isJest = process && process.env && process.env.JEST_WORKER_ID !== undefined; | ||
const isJest = typeof process !== "undefined" && process.env && process.env.JEST_WORKER_ID !== undefined; | ||
let promise; | ||
@@ -36,0 +36,0 @@ if (isBrowser && !isJest) { |
@@ -39,3 +39,3 @@ "use strict"; | ||
const isBrowser = typeof window !== "undefined"; | ||
const isJest = process && process.env && process.env.JEST_WORKER_ID !== undefined; | ||
const isJest = typeof process !== "undefined" && process.env && process.env.JEST_WORKER_ID !== undefined; | ||
let promise; | ||
@@ -42,0 +42,0 @@ if (isBrowser && !isJest) { |
{ | ||
"name": "@holochain/conductor-api", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Encode/decode messages to/from the Holochain Conductor API over Websocket", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -38,3 +38,3 @@ import { InstalledAppId } from "../api/types" | ||
const isJest = | ||
process && process.env && process.env.JEST_WORKER_ID !== undefined | ||
typeof process !== "undefined" && process.env && process.env.JEST_WORKER_ID !== undefined | ||
@@ -41,0 +41,0 @@ let promise: Promise<any> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
129152