@kapeta/local-cluster-service 0.61.0 → 0.61.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [0.61.1](https://github.com/kapetacom/local-cluster-service/compare/v0.61.0...v0.61.1) (2024-08-09)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Directly add to the queue without awaiting ([d0929f0](https://github.com/kapetacom/local-cluster-service/commit/d0929f023c7441684711e9b98c053e6a7e77a02a))
|
7
|
+
|
1
8
|
# [0.61.0](https://github.com/kapetacom/local-cluster-service/compare/v0.60.3...v0.61.0) (2024-08-09)
|
2
9
|
|
3
10
|
|
@@ -185,7 +185,7 @@ router.post('/:handle/ui', async (req, res) => {
|
|
185
185
|
queue.cancel();
|
186
186
|
});
|
187
187
|
for (const screen of Object.values(uniqueUserJourneyScreens)) {
|
188
|
-
|
188
|
+
void queue.add(() => new Promise(async (resolve, reject) => {
|
189
189
|
try {
|
190
190
|
const innerConversationId = node_uuid_1.default.v4();
|
191
191
|
const screenStream = await stormClient_1.stormClient.createUIPage({
|
@@ -185,7 +185,7 @@ router.post('/:handle/ui', async (req, res) => {
|
|
185
185
|
queue.cancel();
|
186
186
|
});
|
187
187
|
for (const screen of Object.values(uniqueUserJourneyScreens)) {
|
188
|
-
|
188
|
+
void queue.add(() => new Promise(async (resolve, reject) => {
|
189
189
|
try {
|
190
190
|
const innerConversationId = node_uuid_1.default.v4();
|
191
191
|
const screenStream = await stormClient_1.stormClient.createUIPage({
|
package/package.json
CHANGED
package/src/storm/routes.ts
CHANGED
@@ -230,7 +230,7 @@ router.post('/:handle/ui', async (req: KapetaBodyRequest, res: Response) => {
|
|
230
230
|
});
|
231
231
|
|
232
232
|
for (const screen of Object.values(uniqueUserJourneyScreens)) {
|
233
|
-
|
233
|
+
void queue.add(
|
234
234
|
() =>
|
235
235
|
new Promise(async (resolve, reject) => {
|
236
236
|
try {
|