@livestore/livestore 0.3.0-dev.24 → 0.3.0-dev.26
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/.tsbuildinfo +1 -1
- package/dist/store/devtools.js +8 -8
- package/package.json +4 -4
- package/src/store/devtools.ts +8 -8
- package/tmp/pack.tgz +0 -0
package/dist/store/devtools.js
CHANGED
|
@@ -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
|
|
120
|
-
//
|
|
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
|
|
139
|
-
//
|
|
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
|
|
173
|
-
//
|
|
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
|
|
196
|
-
//
|
|
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.
|
|
3
|
+
"version": "0.3.0-dev.26",
|
|
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/
|
|
41
|
-
"@livestore/
|
|
40
|
+
"@livestore/utils": "0.3.0-dev.26",
|
|
41
|
+
"@livestore/common": "0.3.0-dev.26"
|
|
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.
|
|
49
|
+
"@livestore/adapter-web": "0.3.0-dev.26"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
package/src/store/devtools.ts
CHANGED
|
@@ -187,8 +187,8 @@ export const connectDevtoolsToStore = ({
|
|
|
187
187
|
}
|
|
188
188
|
case 'LSD.ClientSession.DebugInfoHistoryUnsubscribe': {
|
|
189
189
|
const { subscriptionId } = decodedMessage
|
|
190
|
-
// NOTE given
|
|
191
|
-
//
|
|
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
|
|
214
|
-
//
|
|
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
|
|
260
|
-
//
|
|
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
|
|
298
|
-
//
|
|
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
|
package/tmp/pack.tgz
CHANGED
|
Binary file
|