@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 +12 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +12 -11
- package/dist/index.mjs.map +1 -1
- package/dist/sockets/socket.client.context.connection.d.ts +2 -2
- package/dist/sockets/socket.client.context.provider.d.ts +2 -2
- package/dist/sockets/socket.client.core.d.ts +3 -3
- package/dist/sockets/socket.client.sys.d.ts +2 -2
- package/dist/sockets/socketedRoute/socket.client.helper.rooms.d.ts +7 -3
- package/package.json +6 -5
package/dist/index.mjs
CHANGED
|
@@ -268,7 +268,12 @@ function areEndpointArgsComplete(leaf, args) {
|
|
|
268
268
|
const params = args?.params;
|
|
269
269
|
const query = args?.query;
|
|
270
270
|
try {
|
|
271
|
-
buildUrl(
|
|
271
|
+
buildUrl(
|
|
272
|
+
leaf,
|
|
273
|
+
"",
|
|
274
|
+
params ?? {},
|
|
275
|
+
query ?? {}
|
|
276
|
+
);
|
|
272
277
|
return true;
|
|
273
278
|
} catch {
|
|
274
279
|
return false;
|
|
@@ -973,7 +978,12 @@ function buildInfiniteGetLeaf(leaf, rqOpts, env) {
|
|
|
973
978
|
},
|
|
974
979
|
[]
|
|
975
980
|
);
|
|
976
|
-
const { normalizedQuery, normalizedParams } = hasCompleteArgs ? buildUrl(
|
|
981
|
+
const { normalizedQuery, normalizedParams } = hasCompleteArgs ? buildUrl(
|
|
982
|
+
{ ...leaf, cfg: leafCfg },
|
|
983
|
+
baseUrl,
|
|
984
|
+
params ?? {},
|
|
985
|
+
query ?? {}
|
|
986
|
+
) : {
|
|
977
987
|
normalizedQuery: query ?? {},
|
|
978
988
|
normalizedParams: params ?? {}
|
|
979
989
|
};
|
|
@@ -3168,15 +3178,6 @@ function buildSocketedRoute(options) {
|
|
|
3168
3178
|
return;
|
|
3169
3179
|
}
|
|
3170
3180
|
const { joinMeta, leaveMeta } = roomState;
|
|
3171
|
-
if (!joinMeta || !leaveMeta) {
|
|
3172
|
-
dbg2(debug, {
|
|
3173
|
-
type: "room",
|
|
3174
|
-
phase: "join_skip",
|
|
3175
|
-
rooms: roomState.rooms,
|
|
3176
|
-
reason: "missing_meta"
|
|
3177
|
-
});
|
|
3178
|
-
return;
|
|
3179
|
-
}
|
|
3180
3181
|
let active = true;
|
|
3181
3182
|
dbg2(debug, {
|
|
3182
3183
|
type: "room",
|