The build was failing because of some low-level issues in Terser. I've updated devdeps to fix it:
@walletconnect/randombytes:build: ERROR in index.min.js from Terser
@walletconnect/randombytes:build: Error: error:0308010C:digital envelope routines::unsupported
Now tests in crypto/crypto are failing because of jsdom:
Exception during run: TypeError: Cannot set property crypto of #<Object> which has only a getter
Need to figure out why. My initial guess was that jsdom-globals is too old and doesn't support modern syntax. I've tried replacing it with more modern globals-jsdom but the package had a different kind of error
The build was failing because of some low-level issues in Terser. I've updated devdeps to fix it:
Now tests in crypto/crypto are failing because of jsdom:
Need to figure out why. My initial guess was that jsdom-globals is too old and doesn't support modern syntax. I've tried replacing it with more modern globals-jsdom but the package had a different kind of error