openmates 0.18.0-alpha.18 → 0.18.0-alpha.19
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.
|
@@ -20556,6 +20556,7 @@ function safeArchiveSegment(value) {
|
|
|
20556
20556
|
|
|
20557
20557
|
// src/sdk.ts
|
|
20558
20558
|
var DEFAULT_API_URL2 = "https://api.openmates.org";
|
|
20559
|
+
var TASK_LOOKUP_LIMIT = 500;
|
|
20559
20560
|
var DEFAULT_RECOVERY_POLL_INTERVAL_MS = 500;
|
|
20560
20561
|
var DEFAULT_RECOVERY_TIMEOUT_MS = 6e4;
|
|
20561
20562
|
var SKILL_TASK_POLL_INTERVAL_MS2 = 2e3;
|
|
@@ -23353,6 +23354,7 @@ var OpenMatesTasks = class {
|
|
|
23353
23354
|
const canonicalFilters = await canonicalizeTaskFilters(this.client, filters);
|
|
23354
23355
|
const masterKey = filters.labels || filters.tags || filters.externalChat ? await this.client.masterKey() : void 0;
|
|
23355
23356
|
const response = await this.client.get(withQuery("/v1/user-tasks", {
|
|
23357
|
+
limit: TASK_LOOKUP_LIMIT,
|
|
23356
23358
|
status: canonicalFilters.status,
|
|
23357
23359
|
chat_id: canonicalFilters.chatId,
|
|
23358
23360
|
project_id: canonicalFilters.projectId,
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED