@livestore/livestore 0.3.0-dev.24 → 0.3.0-dev.25

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.
@@ -116,8 +116,8 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
116
116
  }
117
117
  case 'LSD.ClientSession.DebugInfoHistoryUnsubscribe': {
118
118
  const { subscriptionId } = decodedMessage;
119
- // NOTE given WebMesh channels have persistent retry behaviour, it can happen that a previous
120
- // WebMesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
119
+ // NOTE given Webmesh channels have persistent retry behaviour, it can happen that a previous
120
+ // Webmesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
121
121
  debugInfoHistorySubscriptions.get(subscriptionId)?.();
122
122
  debugInfoHistorySubscriptions.delete(subscriptionId);
123
123
  break;
@@ -135,8 +135,8 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
135
135
  }
136
136
  case 'LSD.ClientSession.ReactivityGraphUnsubscribe': {
137
137
  const { subscriptionId } = decodedMessage;
138
- // NOTE given WebMesh channels have persistent retry behaviour, it can happen that a previous
139
- // WebMesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
138
+ // NOTE given Webmesh channels have persistent retry behaviour, it can happen that a previous
139
+ // Webmesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
140
140
  reactivityGraphSubcriptions.get(subscriptionId)?.();
141
141
  reactivityGraphSubcriptions.delete(subscriptionId);
142
142
  break;
@@ -169,8 +169,8 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
169
169
  }
170
170
  case 'LSD.ClientSession.LiveQueriesUnsubscribe': {
171
171
  const { subscriptionId } = decodedMessage;
172
- // NOTE given WebMesh channels have persistent retry behaviour, it can happen that a previous
173
- // WebMesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
172
+ // NOTE given Webmesh channels have persistent retry behaviour, it can happen that a previous
173
+ // Webmesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
174
174
  liveQueriesSubscriptions.get(subscriptionId)?.();
175
175
  liveQueriesSubscriptions.delete(subscriptionId);
176
176
  break;
@@ -192,8 +192,8 @@ export const connectDevtoolsToStore = ({ storeDevtoolsChannel, store, }) => Effe
192
192
  }
193
193
  case 'LSD.ClientSession.SyncHeadUnsubscribe': {
194
194
  const { subscriptionId } = decodedMessage;
195
- // NOTE given WebMesh channels have persistent retry behaviour, it can happen that a previous
196
- // WebMesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
195
+ // NOTE given Webmesh channels have persistent retry behaviour, it can happen that a previous
196
+ // Webmesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
197
197
  syncHeadClientSessionSubscriptions.get(subscriptionId)?.();
198
198
  syncHeadClientSessionSubscriptions.delete(subscriptionId);
199
199
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livestore/livestore",
3
- "version": "0.3.0-dev.24",
3
+ "version": "0.3.0-dev.25",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@opentelemetry/api": "1.9.0",
40
- "@livestore/common": "0.3.0-dev.24",
41
- "@livestore/utils": "0.3.0-dev.24"
40
+ "@livestore/common": "0.3.0-dev.25",
41
+ "@livestore/utils": "0.3.0-dev.25"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@opentelemetry/sdk-trace-base": "^1.30.1",
@@ -46,7 +46,7 @@
46
46
  "typescript": "^5.8.2",
47
47
  "vite": "^6.2.1",
48
48
  "vitest": "^3.0.8",
49
- "@livestore/adapter-web": "0.3.0-dev.24"
49
+ "@livestore/adapter-web": "0.3.0-dev.25"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"
@@ -187,8 +187,8 @@ export const connectDevtoolsToStore = ({
187
187
  }
188
188
  case 'LSD.ClientSession.DebugInfoHistoryUnsubscribe': {
189
189
  const { subscriptionId } = decodedMessage
190
- // NOTE given WebMesh channels have persistent retry behaviour, it can happen that a previous
191
- // WebMesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
190
+ // NOTE given Webmesh channels have persistent retry behaviour, it can happen that a previous
191
+ // Webmesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
192
192
  debugInfoHistorySubscriptions.get(subscriptionId)?.()
193
193
  debugInfoHistorySubscriptions.delete(subscriptionId)
194
194
  break
@@ -210,8 +210,8 @@ export const connectDevtoolsToStore = ({
210
210
  }
211
211
  case 'LSD.ClientSession.ReactivityGraphUnsubscribe': {
212
212
  const { subscriptionId } = decodedMessage
213
- // NOTE given WebMesh channels have persistent retry behaviour, it can happen that a previous
214
- // WebMesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
213
+ // NOTE given Webmesh channels have persistent retry behaviour, it can happen that a previous
214
+ // Webmesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
215
215
  reactivityGraphSubcriptions.get(subscriptionId)?.()
216
216
  reactivityGraphSubcriptions.delete(subscriptionId)
217
217
  break
@@ -256,8 +256,8 @@ export const connectDevtoolsToStore = ({
256
256
  }
257
257
  case 'LSD.ClientSession.LiveQueriesUnsubscribe': {
258
258
  const { subscriptionId } = decodedMessage
259
- // NOTE given WebMesh channels have persistent retry behaviour, it can happen that a previous
260
- // WebMesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
259
+ // NOTE given Webmesh channels have persistent retry behaviour, it can happen that a previous
260
+ // Webmesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
261
261
  liveQueriesSubscriptions.get(subscriptionId)?.()
262
262
  liveQueriesSubscriptions.delete(subscriptionId)
263
263
  break
@@ -294,8 +294,8 @@ export const connectDevtoolsToStore = ({
294
294
  }
295
295
  case 'LSD.ClientSession.SyncHeadUnsubscribe': {
296
296
  const { subscriptionId } = decodedMessage
297
- // NOTE given WebMesh channels have persistent retry behaviour, it can happen that a previous
298
- // WebMesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
297
+ // NOTE given Webmesh channels have persistent retry behaviour, it can happen that a previous
298
+ // Webmesh channel will send a unsubscribe message for an old requestId. Thus the `?.()` handling.
299
299
  syncHeadClientSessionSubscriptions.get(subscriptionId)?.()
300
300
  syncHeadClientSessionSubscriptions.delete(subscriptionId)
301
301
  break