Race condition in auth0-spa-js ie11?

I often get a promise rejection when using ie11 and auth0-spa-js. In function loginWithRedirect, code_challengeBuffer sometimes is a [object CryptoOperation] which bufferToBase64UrlEncoded does not like. This happens fairly regularly immediately following a logout.