You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon further investigation this might not be possible due to that fact that sdk-shared exports the CommandServiceImpl class that depends on the uuid package (node dependency) to generate transaction ids, as well as the ConversationService which uses the uuid package to generated a bot id when starting a conversation.
A better approach might be to just separate code using node-reliant packages, such as uuid, into its own directory that is not exported at the root level via barrel files. Then any package that wants to use that code would just have to import it explicitly from that file:
import { someFunctionThatUsesNode } from '@bfemulator/sdk-shared/node'
sdk/shared
needs to be made environment agnostic so that it can be imported in both browser (client, luis extension, etc.) and node projects (main).This caused the issue #1328
The text was updated successfully, but these errors were encountered: