Fix type errors from last SDK update - #12641
Conversation
commented
Aug 1, 2025
|
| !userId || | ||
| !entityType || | ||
| // 0 is a valid entityId for some actions | ||
| (!entityId && entityId !== 0n) || |
There was a problem hiding this comment.
FYI @raymondjacobson you gotta use BigInt(0) for now until we target newer
There was a problem hiding this comment.
Also... I'm pretty sure this check will never be false? 0x00000000000000000000000000000000 would be 0, right? Would missing bytes be null or undefined?
Fixes type errors issues introduced in #12635