@signetai/connector-base 0.185.7 → 0.185.9

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -10811,6 +10811,14 @@ function up118(db) {
10811
10811
  WHERE status IN ('pending', 'leased');
10812
10812
  `);
10813
10813
  }
10814
+ function hasColumn22(db, table, column) {
10815
+ return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
10816
+ }
10817
+ function up119(db) {
10818
+ if (!hasColumn22(db, "telemetry_install", "last_seen_version")) {
10819
+ db.exec("ALTER TABLE telemetry_install ADD COLUMN last_seen_version TEXT");
10820
+ }
10821
+ }
10814
10822
  var MIGRATIONS = [
10815
10823
  {
10816
10824
  version: 1,
@@ -11766,6 +11774,12 @@ var MIGRATIONS = [
11766
11774
  version: 118,
11767
11775
  name: "queue-pressure-indices",
11768
11776
  up: up118
11777
+ },
11778
+ {
11779
+ version: 119,
11780
+ name: "telemetry-version-observation",
11781
+ up: up119,
11782
+ artifacts: { columns: [{ table: "telemetry_install", column: "last_seen_version" }] }
11769
11783
  }
11770
11784
  ];
11771
11785
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-base",
3
- "version": "0.185.7",
3
+ "version": "0.185.9",
4
4
  "description": "Base class for Signet harness connectors",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "typecheck": "tsc --noEmit"
27
27
  },
28
28
  "dependencies": {
29
- "@signetai/core": "0.185.7",
29
+ "@signetai/core": "0.185.9",
30
30
  "json5": "^2.2.3",
31
31
  "jsonc-parser": "3.3.1"
32
32
  },