@spooky-sync/core 0.0.1-canary.335 → 0.0.1-canary.336

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 CHANGED
@@ -2286,8 +2286,8 @@ function trimHistory(history, cap) {
2286
2286
 
2287
2287
  //#endregion
2288
2288
  //#region src/modules/devtools/index.ts
2289
- const CORE_VERSION = "0.0.1-canary.335";
2290
- const WASM_VERSION = "0.0.1-canary.335";
2289
+ const CORE_VERSION = "0.0.1-canary.336";
2290
+ const WASM_VERSION = "0.0.1-canary.336";
2291
2291
  const SURREAL_VERSION = "3.1.0";
2292
2292
  var DevToolsService = class DevToolsService {
2293
2293
  version = CORE_VERSION;
@@ -15889,7 +15889,7 @@ function createTabsCoordinator(config, s, host) {
15889
15889
  return new TabsCoordinator({
15890
15890
  tabId: s.tabId,
15891
15891
  fingerprint: computeTabsFingerprint({
15892
- coreVersion: "0.0.1-canary.335",
15892
+ coreVersion: "0.0.1-canary.336",
15893
15893
  schemaHash: hash53(config.schemaSurql),
15894
15894
  endpoint: config.database.endpoint ?? "",
15895
15895
  namespace: config.database.namespace,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spooky-sync/core",
3
- "version": "0.0.1-canary.335",
3
+ "version": "0.0.1-canary.336",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -75,8 +75,8 @@
75
75
  }
76
76
  },
77
77
  "dependencies": {
78
- "@spooky-sync/query-builder": "0.0.1-canary.335",
79
- "@spooky-sync/ssp-wasm": "0.0.1-canary.335",
78
+ "@spooky-sync/query-builder": "0.0.1-canary.336",
79
+ "@spooky-sync/ssp-wasm": "0.0.1-canary.336",
80
80
  "@sqlite.org/sqlite-wasm": "3.53.0-build1",
81
81
  "@surrealdb/wasm": "^3.1.0",
82
82
  "@surrealdb/wasm-native": "^3.3.4",
@@ -187,7 +187,9 @@ describe('session guard ends sync for an open socket (real SurrealDB)', () => {
187
187
  const seen: unknown[] = [];
188
188
  const [id] = (await db.query('LIVE SELECT * FROM _00_list_ref_user_alice')) as [unknown];
189
189
  const stream = await db.liveOf(id as never);
190
- stream.subscribe((message: { action: string; value: unknown }) => {
190
+ // Typed by the SDK (`LiveMessage`), not a narrower hand-written shape:
191
+ // the hand-written one failed `tsc` and so the core Test job.
192
+ stream.subscribe((message) => {
191
193
  if (message.action !== 'KILLED') seen.push(message.value);
192
194
  });
193
195
  return seen;