chore(sdk): Define helper trait MaybeCompact
#12683
+54
−29
Open
MaybeCompact
#12683