The Spec does not contain useAuthentication and revision, however the function parsePOSToBasePOS in the revision-to-response always adds these. This mistake crept in because we force the return value to the type.
This is a simple fix, but simply changing the type does add some type errors here and there. The fixes are either always adding the revision and authentication, or making them optional, or removing them all together.
For now I have set dissalowExtraProperties to false in the transaction-controller.ts test cases to make sure they pass.
The Spec does not contain
useAuthentication
andrevision
, however the functionparsePOSToBasePOS
in the revision-to-response always adds these. This mistake crept in because we force the return value to the type.This is a simple fix, but simply changing the type does add some type errors here and there. The fixes are either always adding the revision and authentication, or making them optional, or removing them all together.
For now I have set
dissalowExtraProperties
to false in the transaction-controller.ts test cases to make sure they pass.