Optimization issue with Oracle Digital Assistant Native Client SDK for Web
Summary:
Content (required):
We have embedded an ODA chatbot into our VBCS application using the web-sdk library (AMD compatible). (https://docs.oracle.com/en/cloud/paas/digital-assistant/sdk-js/index.html)
If we stage/publish the app from VBCS everything works fine.
But if we use the build Job and within that use Optimization, the Bot fails for some of the actions with the following message.
Uncaught TypeError: this._stopPromise.resolve is not a function at M.stopRecognition (web-sdk.js:5:1) at O.stopRecognition (web-sdk.js:5:1) at Ut.onSpeechToggle (web-sdk.js:5:1) at Ut.onMessageActionClicked (web-sdk.js:5:1) at et.handleOnActionClick (web-sdk.js:5:1) at D.handleOnClick (web-sdk.js:5:1)
0