@auersperg/flare 0.3.16 → 0.3.17

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/cli/flare.js CHANGED
@@ -3,7 +3,7 @@
3
3
  // packages/flare/package.json
4
4
  var package_default = {
5
5
  name: "@auersperg/flare",
6
- version: "0.3.16",
6
+ version: "0.3.17",
7
7
  license: "MIT",
8
8
  type: "module",
9
9
  description: "Flare client, server declarations and development CLI",
@@ -309,7 +309,7 @@ async function collectCatalog(database, now = Date.now()) {
309
309
  // packages/core/package.json
310
310
  var package_default = {
311
311
  name: "@flare/platform",
312
- version: "0.3.16",
312
+ version: "0.3.17",
313
313
  type: "module",
314
314
  license: "MIT",
315
315
  private: true,
@@ -1,19 +1,20 @@
1
1
  {
2
2
  "format": 1,
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
4
4
  "stateFormat": 1,
5
5
  "protocol": 1,
6
6
  "runtimeAbi": 4,
7
7
  "compatibilityDate": "2026-10-10",
8
8
  "wranglerVersion": "4.150.0",
9
9
  "upgradeFrom": [
10
- "0.3.13"
10
+ "0.3.13",
11
+ "0.3.16"
11
12
  ],
12
13
  "files": [
13
14
  {
14
15
  "path": "admin.js",
15
16
  "bytes": 37491,
16
- "sha256": "fcaef75247dc5d828127e1f1a28cbd98796375370b5f57cc106af9843c63f81b"
17
+ "sha256": "9c707d386b230cd3725906aa18233b0fc29a7ef15598e953bc8b4ce02cc0eb42"
17
18
  },
18
19
  {
19
20
  "path": "dashboard/_astro/ai-view.D6ouaMiL.js",
@@ -192,9 +193,9 @@
192
193
  },
193
194
  {
194
195
  "path": "runtime.js",
195
- "bytes": 1229444,
196
- "sha256": "4e9b195ffe4fcfb1f31404f1017d5d4e243a2b5abd24e40f60a04f2d56cb1202"
196
+ "bytes": 1229488,
197
+ "sha256": "700cd3ebb780cdcb894901de68a741c5b7ba43aa23df4170676899d9b11a2044"
197
198
  }
198
199
  ],
199
- "digest": "d6b7bdc282bc48d1f1a1588ae450a8c1ce2f4ec6b1ecb094f7ee82f930195b39"
200
+ "digest": "3d8ebc41c0b0b9c7e1c90490c923fd7788a873668d0513e43c40478e7d293330"
200
201
  }
@@ -23985,11 +23985,13 @@ class SearchStore {
23985
23985
  continue;
23986
23986
  }
23987
23987
  this.storage.sql.exec("UPDATE search_items SET status='sending',uncertain=1,version=? WHERE id=? AND wanted=1", object?.version ?? row.version, row.id);
23988
- this.updateInfo(row, await instance.items.uploadAndPoll(row.key, content, {
23989
- timeoutMs: 30000,
23990
- pollIntervalMs: 2000,
23988
+ const uploaded = await instance.items.upload(row.key, content, {
23991
23989
  ...row.metadata ? { metadata: JSON.parse(row.metadata) } : {}
23992
- }));
23990
+ });
23991
+ this.updateInfo(row, {
23992
+ ...uploaded,
23993
+ status: uploaded.status ?? "queued"
23994
+ });
23993
23995
  }
23994
23996
  } catch (error) {
23995
23997
  this.storage.sql.exec("UPDATE search_items SET error=?,status=CASE WHEN attempts>=3 THEN 'error' ELSE 'pending' END WHERE id=?", errorCode(error) === "SEARCH_RECONCILE_REQUIRED" ? "SEARCH_RECONCILE_REQUIRED" : "SEARCH_UNAVAILABLE", row.id);
@@ -24349,7 +24351,7 @@ function dashboardIdentity(value) {
24349
24351
  // packages/core/package.json
24350
24352
  var package_default = {
24351
24353
  name: "@flare/platform",
24352
- version: "0.3.16",
24354
+ version: "0.3.17",
24353
24355
  type: "module",
24354
24356
  license: "MIT",
24355
24357
  private: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auersperg/flare",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Flare client, server declarations and development CLI",