This simplifies life in SDK internals, at the lower ("purer") layers of the InteractionManager after the JWT is peeled away.
The the message ("JWT payload") lacks any type information, creating a need to pass the type around along with the actual message ("token"), and also creating an unnecessary need for typescript guards and what not.
This is not a full solution yet though, but a first step
This simplifies life in SDK internals, at the lower ("purer") layers of the
InteractionManager
after the JWT is peeled away. The the message ("JWT payload") lacks any type information, creating a need to pass the type around along with the actual message ("token"), and also creating an unnecessary need for typescript guards and what not.This is not a full solution yet though, but a first step