fix(core): update
This commit is contained in:
		| @@ -14,7 +14,8 @@ export class WebRequest { | ||||
|     const smartenv = new plugins.smartenv.Smartenv(); | ||||
|     if (!smartenv.isBrowser) { | ||||
|       this.polyfillStatusEvaluated = true; | ||||
|       await smartenv.getSafeNodeModule('node-fetch'); | ||||
|       const fetch = await smartenv.getSafeNodeModule('node-fetch'); | ||||
|       globalThis.fetch = fetch.default; | ||||
|     } | ||||
|     this.neededPolyfillsLoadedDeferred.resolve(); | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user