The updated siwe library (which will be added in the next diff) now relies on a buffer polyfill. This diff adds the buffer polyfill to webworkers.
Details
Details
Confirmed that the siwe library no longer printed a "buffer not found" error when loading web locally
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
landing/package.json | ||
---|---|---|
44 | Noticed that yarn was hoisting an older version of buffer to the root node_modules, so I added this change (and the one to web/package.json) to make it hoist the version we want I suspect that the Webpack configs are pulling buffer from the web/landing context rather than the lib context, since there's no require step in lib... it's just a string buffer that gets passed to (and executed on) web/landing | |
lib/webpack/shared.cjs | ||
86–88 | This is where I got the line from, and how we configure the Buffer polyfill in the main tab (non-webworker) context |