Edoardo Luppi
12/17/2025, 9:25 PMArtem Kobzar
12/18/2025, 5:39 AMEdoardo Luppi
12/18/2025, 10:33 AMLong and to export them as bigint, and then convert them again to number for easier consumption.
If instead we were to use UInt, we could deserialize to UInt and export it as number directly, since JS's number correctly support the unsigned integer max value.Edoardo Luppi
12/18/2025, 10:35 AMUInt in the Kotlin layer also aligns to the "backend", and we're not forced to ask ourselves "is this a Long because it's really a long value, or just to support the unsigned range?".Edoardo Luppi
12/18/2025, 10:48 AMInt is just a JS number under the hood.