Version 2.0
The version 2.0 includes breaking changes in the names of data properties holding the URIs of DID keys: they are no longer called *Id. The claimer signature object format has also changed in the same fashion. As we anticipate more breaking changes coming in, we keep the "Draft" modifier.
You’d want to use the SDK version 0.28 or higher.
A hard compatibility check could refuse the communication when the value of specVersion does not match. Alternatively the backwards compatibility can be maintained by also including the properties named as in the previous version, and backfilling from them:
outgoingMessage.senderKeyId = outgoingMessage.senderKeyUri
incomingMessage.senderKeyUri = incomingMessage.senderKeyUri || incomingMessage.senderKeyId