@absolutejs/voice 0.0.22-beta.426 → 0.0.22-beta.427
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/dist/index.js +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25054,8 +25054,7 @@ var resolveSessions2 = async (options) => {
|
|
|
25054
25054
|
if (!options.store) {
|
|
25055
25055
|
return [];
|
|
25056
25056
|
}
|
|
25057
|
-
const
|
|
25058
|
-
const ids = options.sessionIds ?? summaries.map((summary) => summary.id);
|
|
25057
|
+
const ids = options.sessionIds ?? (await options.store.list()).map((summary) => summary.id);
|
|
25059
25058
|
const hydrated = await Promise.all(ids.slice(0, options.limit ?? 25).map((id) => options.store?.get(id)));
|
|
25060
25059
|
const sessions = [];
|
|
25061
25060
|
for (const session of hydrated) {
|