From f36bdcb181bd1f17958bbc04f02262ad9fe774d6 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 9 Jul 2023 17:20:12 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/index.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index f0f2070..d13cc21 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/webrequest', - version: '3.0.26', + version: '3.0.27', description: 'securely request from browsers' } diff --git a/ts/index.ts b/ts/index.ts index f2e5575..d4de254 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -27,7 +27,6 @@ export class WebRequest { this.polyfillStatusEvaluated = true; const smartenv = new plugins.smartenv.Smartenv(); if (!smartenv.isBrowser) { - console.log('webrequest using node context.'); this.polyfillStatusEvaluated = true; const fetchMod = await smartenv.getSafeNodeModule('@adobe/fetch'); this.neededPolyfillsLoadedDeferred.resolve({ @@ -36,7 +35,6 @@ export class WebRequest { helixTimeout: fetchMod.timeoutSignal, }); } else { - console.log('webrequest using browser context.'); this.neededPolyfillsLoadedDeferred.resolve({ fetch: (...args) => { return fetch(...args);