Closed monique-baumann closed 8 months ago
additionally you might check and simplify bigint vs. number typing. This seems not too consistent yet - e.g. in the context of https://github.com/ethereum-attestation-service/eas-sdk/blob/master/README.md?plain=1#L317
I'm not sure where are these types coming from (we don't export types this way), but Version2
is indeed defined https://github.com/ethereum-attestation-service/eas-sdk/blob/bff294c361176116f1580d2b4558a1f58fc61eef/src/offchain/offchain.ts#L26.
Please ensure that if you integrate/build the SDK externally - you are rebuilding it with every update.
We can't maintain external builds/framework ourselves
additionally you might check and simplify bigint vs. number typing. This seems not too consistent yet - e.g. in the context of https://github.com/ethereum-attestation-service/eas-sdk/blob/master/README.md?plain=1#L317
chainId
is should be BigInt
everywhere. It appears that your own managed types aren't up-to-date.
@monique-baumann please try deleting dist
and running pnpm build
or checkout a clean version.
https://github.com/ethereum-attestation-service/eas-sdk/blob/master/README.md?plain=1#L300