Closed fatiherdogan01 closed 1 year ago
My use - package version 4.2.1
const client = new Midjourney({ ServerId: '1128221341183647xxx', ChannelId: '1128221342345465xxx', SalaiToken: 'OTE1MTMzxxxxxxxxxx', Debug: __DEV__, Ws: true, }); await client.Connect(); const Imagine = await client.Imagine(finalPrompt, (uri: string, progress: string) => { console.log('uri: ', uri, 'progress: ', progress); }); console.log({ Imagine });
wsClient.once("ready" ... does not trigger and resolve and it doesn't continue
wsClient.once("ready" ...
Screenshots src/midjourney.ts
I don't have any logs.
My fault. I was using it in a React Native project. It works in Node.js project.
the code that reproduces this issue or a replay of the bug
My use - package version 4.2.1
Describe the bug
wsClient.once("ready" ...
does not trigger and resolve and it doesn't continueScreenshots src/midjourney.ts
error log
I don't have any logs.