I get TypeError: Cannot read properties of undefined (reading 'switch') when trying to sign a transaction with my generated bindings. I appended the decoded xdr. Tested it in Labratory, looks fine.
operations.auth.credentials is set in xdr but getCredentials in stellar-sdk seems to return undefined and afterwards switch() is called and result in error