Closed callensm closed 1 year ago
looks like it could be related to this import https://github.com/Bundlr-Network/arbundles/blob/master/src/deepHash.ts#L3.
might need environment checking to conditionally import from arweave/node
when not in browser
I've created an issue for CF's workers to allow for resolving entrypoints from main
(instead of just browser
) - but until that is done, node-window-polyfill
will have to suffice.
When trying to deploy to a Cloudflare worker, I get the error:
This is using the
Bundlr
(default) client, but looks like thearbundles
dependency is still using some web-based build and causing an issue.