WalletConnect / walletconnect-utils

Javascript Utilities for WalletConnect
MIT License
65 stars 56 forks source link

deps: switch from stablelib to noble #185

Open paulmillr opened 1 month ago

paulmillr commented 1 month ago

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

paulmillr commented 1 month ago

@bkrem @glitch-txs @ganchoradkov could you approve CI run?