diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 639eec9..4ca9b71 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,7 +59,7 @@ packages: '@pushrocks/lik': 6.0.2 '@pushrocks/smartdelay': 2.0.13 '@pushrocks/smartpromise': 3.1.7 - '@pushrocks/webrequest': 3.0.15 + '@pushrocks/webrequest': 3.0.16 transitivePeerDependencies: - supports-color dev: true @@ -702,7 +702,7 @@ packages: '@pushrocks/smartfeed': 1.0.11 '@pushrocks/smartxml': 1.0.6 '@pushrocks/smartyaml': 2.0.5 - '@pushrocks/webrequest': 3.0.15 + '@pushrocks/webrequest': 3.0.16 '@tsclass/tsclass': 3.0.48 transitivePeerDependencies: - supports-color @@ -843,8 +843,8 @@ packages: - utf-8-validate dev: true - /@pushrocks/webrequest/3.0.15: - resolution: {integrity: sha512-YrLEKMwUSc485RBRkAe8muoAY0ogLnyQ7SITt2CiLpirt5YchfpRKU2Yhz82Rma1Ptt8BNF1p8Uy+IIH/Hm6iw==} + /@pushrocks/webrequest/3.0.16: + resolution: {integrity: sha512-/GcRuMKepNpsNaaR5xdQlPKhne8D1hnXir8GZNda3wSog7C1oj9dMVkejDDuviJPkA6O4dDNFaHE4/XsLUM+Mg==} dependencies: '@adobe/fetch': 4.0.1 '@pushrocks/smartdelay': 2.0.13 diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index d154ac5..b38e0fc 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.16', + version: '3.0.17', description: 'securely request from browsers' } diff --git a/ts/index.ts b/ts/index.ts index aa9804b..f2e5575 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -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,