From 0f0bc416651a4d0ab1827fb7b4fcde601f1b7f07 Mon Sep 17 00:00:00 2001 From: Sebastian Pape Date: Thu, 20 Oct 2022 10:52:13 +0200 Subject: [PATCH] v10.1.2 build --- dist/esm/index.evm.js | 2 +- dist/esm/index.js | 4 ++-- dist/umd/index.evm.js | 2 +- dist/umd/index.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/esm/index.evm.js b/dist/esm/index.evm.js index a514fdd..064f789 100644 --- a/dist/esm/index.evm.js +++ b/dist/esm/index.evm.js @@ -15211,7 +15211,7 @@ const setProviderEndpoints$1 = async (blockchain, endpoints)=> { let endpoint; let window = getWindow(); - if(window.fetch == undefined || (process && process.env && "production" == 'test')) { + if(window.fetch == undefined || (process && process['env'] && process['env']['NODE_ENV'] == 'test')) { endpoint = endpoints[0]; } else { diff --git a/dist/esm/index.js b/dist/esm/index.js index d5f5363..c3abbc5 100644 --- a/dist/esm/index.js +++ b/dist/esm/index.js @@ -15212,7 +15212,7 @@ const setProviderEndpoints$2 = async (blockchain, endpoints)=> { let endpoint; let window = getWindow(); - if(window.fetch == undefined || (process && process.env && "production" == 'test')) { + if(window.fetch == undefined || (process && process['env'] && process['env']['NODE_ENV'] == 'test')) { endpoint = endpoints[0]; } else { @@ -15476,7 +15476,7 @@ const setProviderEndpoints$1 = async (blockchain, endpoints)=> { let endpoint; let window = getWindow(); - if(window.fetch == undefined || (process && process.env && "production" == 'test')) { + if(window.fetch == undefined || (process && process['env'] && process['env']['NODE_ENV'] == 'test')) { endpoint = endpoints[0]; } else { diff --git a/dist/umd/index.evm.js b/dist/umd/index.evm.js index 5fddd86..f586e57 100644 --- a/dist/umd/index.evm.js +++ b/dist/umd/index.evm.js @@ -15214,7 +15214,7 @@ let endpoint; let window = getWindow(); - if(window.fetch == undefined || (process && process.env && "production" == 'test')) { + if(window.fetch == undefined || (process && process['env'] && process['env']['NODE_ENV'] == 'test')) { endpoint = endpoints[0]; } else { diff --git a/dist/umd/index.js b/dist/umd/index.js index 64d86aa..9eaf98e 100644 --- a/dist/umd/index.js +++ b/dist/umd/index.js @@ -15214,7 +15214,7 @@ let endpoint; let window = getWindow(); - if(window.fetch == undefined || (process && process.env && "production" == 'test')) { + if(window.fetch == undefined || (process && process['env'] && process['env']['NODE_ENV'] == 'test')) { endpoint = endpoints[0]; } else { @@ -15478,7 +15478,7 @@ let endpoint; let window = getWindow(); - if(window.fetch == undefined || (process && process.env && "production" == 'test')) { + if(window.fetch == undefined || (process && process['env'] && process['env']['NODE_ENV'] == 'test')) { endpoint = endpoints[0]; } else {