fix(core): update

This commit is contained in:
2023-02-12 19:07:30 +01:00
parent 4685856ade
commit 9af837124a
3 changed files with 6 additions and 6 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/webrequest',
version: '3.0.16',
version: '3.0.17',
description: 'securely request from browsers'
}

View File

@ -29,7 +29,7 @@ export class WebRequest {
if (!smartenv.isBrowser) {
console.log('webrequest using node context.');
this.polyfillStatusEvaluated = true;
const fetchMod = await smartenv.getSafeNodeModule('@adobe/helix-fetch');
const fetchMod = await smartenv.getSafeNodeModule('@adobe/fetch');
this.neededPolyfillsLoadedDeferred.resolve({
fetch: fetchMod.fetch,
Response: fetchMod.Response,