You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReferenceError: window is not defined
at ../../node_modules/.pnpm/atob@2.1.2/node_modules/atob/browser-atob.js (/Users/vsantos/work/pl/gh/nftstorage/nftstorage.link/packages/api/dist/worker.mjs:2363:8)
at __require (/Users/vsantos/work/pl/gh/nftstorage/nftstorage.link/packages/api/dist/worker.mjs:8:50)
at /Users/vsantos/work/pl/gh/nftstorage/nftstorage.link/packages/api/dist/worker.mjs:5122:27
๐งฉ Steps to Reproduce
Install in a web worker project
Build using ESM (or any other)
๐ค Expected behavior
ESM Build works
๐ฎ Actual behavior
ESM build fails
๐ป Code Sample
[If possible, please provide a code repository, gist, code snippet or sample files to reproduce the issue.]
๐ Environment
Software
Version(s)
@magic-sdk/admin
1.4.1
Node
16.3.0
yarn
Operating System
The text was updated successfully, but these errors were encountered:
โ Prerequisites
@magic-sdk/admin
)?๐ Description
Since version
1.4.1
as a result of #88 fails to build in web workers due to https://git.coolaj86.com/coolaj86/atob.js/issues/5 .Fails with:
๐งฉ Steps to Reproduce
๐ค Expected behavior
ESM Build works
๐ฎ Actual behavior
ESM build fails
๐ป Code Sample
[If possible, please provide a code repository, gist, code snippet or sample files to reproduce the issue.]
๐ Environment
@magic-sdk/admin
yarn
The text was updated successfully, but these errors were encountered: