@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.cjs
CHANGED
|
@@ -2964,11 +2964,12 @@ function buildSocketedRoute(options) {
|
|
|
2964
2964
|
if (!nextUpdate) continue;
|
|
2965
2965
|
built.setData(
|
|
2966
2966
|
(prev) => {
|
|
2967
|
-
const next = nextUpdate.fn(
|
|
2967
|
+
const next = nextUpdate.fn({
|
|
2968
2968
|
prev,
|
|
2969
|
-
nextUpdate.payload,
|
|
2970
|
-
|
|
2971
|
-
|
|
2969
|
+
payload: nextUpdate.payload,
|
|
2970
|
+
args: useArgs[0],
|
|
2971
|
+
meta: nextUpdate.meta ?? {}
|
|
2972
|
+
});
|
|
2972
2973
|
if (next === null) return prev;
|
|
2973
2974
|
if (shouldWarnSocketMutationGuard() && isSameObjectReference(prev, next) && !sameRefWarnedEvents.has(nextUpdate.event)) {
|
|
2974
2975
|
sameRefWarnedEvents.add(nextUpdate.event);
|