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
This means people using this library need to decide on either polyfilling with the node api module or relying on browser support. This is difficult to check as I'm not entirely sure what functions of crypto are required for crypto-js usage so it's hard to gauge browser support.
Could you provide insight on what you recommend for iink-ts usage of crypto-js and If possible would removing the crypto-js dependency be viable in future?
The text was updated successfully, but these errors were encountered:
Cyrpto-js is only used to encrypt the "hmac" header in batch or respond to the ack message when the hmac is activated with the key used.
You can see how we implemented the library here: crypto.ts
You can see where we use it here:
This is more of an inquiry/suggestion on the use of the
crypto-js
library.crypto-js
is discontinued and versions 4+ ofcrypto-js
rely on using the native node / browser librarycrypto
for some functionality .https://github.com/brix/crypto-js/blob/develop/README.md#400
This means people using this library need to decide on either polyfilling with the node api module or relying on browser support. This is difficult to check as I'm not entirely sure what functions of
crypto
are required forcrypto-js
usage so it's hard to gauge browser support.Could you provide insight on what you recommend for
iink-ts
usage ofcrypto-js
and If possible would removing the crypto-js dependency be viable in future?The text was updated successfully, but these errors were encountered: