@emeryld/rrroutes-client 2.8.7 → 2.8.9

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
@@ -303,7 +303,12 @@ function areEndpointArgsComplete(leaf, args) {
303
303
  const params = args?.params;
304
304
  const query = args?.query;
305
305
  try {
306
- buildUrl(leaf, "", params, query);
306
+ buildUrl(
307
+ leaf,
308
+ "",
309
+ params ?? {},
310
+ query ?? {}
311
+ );
307
312
  return true;
308
313
  } catch {
309
314
  return false;
@@ -1005,7 +1010,12 @@ function buildInfiniteGetLeaf(leaf, rqOpts, env) {
1005
1010
  },
1006
1011
  []
1007
1012
  );
1008
- const { normalizedQuery, normalizedParams } = hasCompleteArgs ? buildUrl({ ...leaf, cfg: leafCfg }, baseUrl, params, query) : {
1013
+ const { normalizedQuery, normalizedParams } = hasCompleteArgs ? buildUrl(
1014
+ { ...leaf, cfg: leafCfg },
1015
+ baseUrl,
1016
+ params ?? {},
1017
+ query ?? {}
1018
+ ) : {
1009
1019
  normalizedQuery: query ?? {},
1010
1020
  normalizedParams: params ?? {}
1011
1021
  };
@@ -3198,15 +3208,6 @@ function buildSocketedRoute(options) {
3198
3208
  return;
3199
3209
  }
3200
3210
  const { joinMeta, leaveMeta } = roomState;
3201
- if (!joinMeta || !leaveMeta) {
3202
- dbg2(debug, {
3203
- type: "room",
3204
- phase: "join_skip",
3205
- rooms: roomState.rooms,
3206
- reason: "missing_meta"
3207
- });
3208
- return;
3209
- }
3210
3211
  let active = true;
3211
3212
  dbg2(debug, {
3212
3213
  type: "room",