Closed PhilippeR26 closed 3 months ago
@PhilippeR26 can i hop on this?
Not yet. I am creating today several issues, that have to be first discussed internally. The team will then decide if it will be solved internally or with contributors.
FIx: Add into starknet.js/src/utils/hash/index.ts
export { default as computeHintedClassHash } from './classHash';
But I don't think we need to have default export anyway, so just remove default, run test if all ok resolved.
Describe the bug In utils/hash, the
computeHintedClassHash()
function is set a default export : https://github.com/starknet-io/starknet.js/blob/66a5c0341eccfef0dcdf1312c15627b7d4f6b675/src/utils/hash/classHash.ts#L115 As a Starknet.js library user, I am not able to import and use this function. Error message :To Reproduce In a ts-node script :
Expected behavior To be able to use this function.
Screenshots N/A Desktop (please complete the following information):
Additional context