@emeryld/rrroutes-client 2.6.12 → 2.6.13
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.mjs
CHANGED
|
@@ -2933,11 +2933,12 @@ function buildSocketedRoute(options) {
|
|
|
2933
2933
|
if (!nextUpdate) continue;
|
|
2934
2934
|
built.setData(
|
|
2935
2935
|
(prev) => {
|
|
2936
|
-
const next = nextUpdate.fn(
|
|
2936
|
+
const next = nextUpdate.fn({
|
|
2937
2937
|
prev,
|
|
2938
|
-
nextUpdate.payload,
|
|
2939
|
-
|
|
2940
|
-
|
|
2938
|
+
payload: nextUpdate.payload,
|
|
2939
|
+
args: useArgs[0],
|
|
2940
|
+
meta: nextUpdate.meta ?? {}
|
|
2941
|
+
});
|
|
2941
2942
|
if (next === null) return prev;
|
|
2942
2943
|
if (shouldWarnSocketMutationGuard() && isSameObjectReference(prev, next) && !sameRefWarnedEvents.has(nextUpdate.event)) {
|
|
2943
2944
|
sameRefWarnedEvents.add(nextUpdate.event);
|