teamplay 0.4.0-alpha.93 → 0.4.0-alpha.94

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/orm/Query.js +2 -2
  2. package/package.json +2 -2
package/orm/Query.js CHANGED
@@ -9,7 +9,7 @@ import FinalizationRegistry from '../utils/MockFinalizationRegistry.js'
9
9
  import SubscriptionState from './SubscriptionState.js'
10
10
  import { getIdFieldsForSegments, injectIdFields, isPlainObject } from './idFields.js'
11
11
  import { getSubscriptionGcDelay } from './subscriptionGcDelay.js'
12
- import { getScopedSignalHash } from './rootScope.js'
12
+ import { getScopedSignalHash, normalizeRootId } from './rootScope.js'
13
13
  import { getRoot, ROOT_ID, getRootTransportMode } from './Root.js'
14
14
  import { registerRootOwnedRuntime, unregisterRootOwnedRuntime } from './rootContext.js'
15
15
  import {
@@ -980,7 +980,7 @@ function detachQueryRoot (query, rootId) {
980
980
  }
981
981
 
982
982
  function getOwningRootId ($query) {
983
- return getRoot($query)?.[ROOT_ID]
983
+ return normalizeRootId(getRoot($query)?.[ROOT_ID])
984
984
  }
985
985
 
986
986
  function getQueryOwnerKey (rootId, transportHash) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teamplay",
3
- "version": "0.4.0-alpha.93",
3
+ "version": "0.4.0-alpha.94",
4
4
  "description": "Full-stack signals ORM with multiplayer",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -83,5 +83,5 @@
83
83
  ]
84
84
  },
85
85
  "license": "MIT",
86
- "gitHead": "286165ff8cf198fe20f8ec1be416c12839f47de8"
86
+ "gitHead": "28a9de4a846b5f36c31033c1c3486074cf9b86fc"
87
87
  }