@kubb/plugin-react-query 5.6.0-canary.20261016T084648 → 5.6.0-canary.20261018T165659
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 +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -347,7 +347,7 @@ var compatibility = {
|
|
|
347
347
|
};
|
|
348
348
|
//#endregion
|
|
349
349
|
//#region package.json
|
|
350
|
-
var version = "5.6.0-canary.
|
|
350
|
+
var version = "5.6.0-canary.20261018T165659";
|
|
351
351
|
//#endregion
|
|
352
352
|
//#region ../../internals/client/src/resolveClient.ts
|
|
353
353
|
/**
|
|
@@ -873,6 +873,11 @@ function getDefaultPageParamsWarning(node, infinite) {
|
|
|
873
873
|
return `${node.operationId}: the default infinite page params expect an array response and never end for this one. Set \`infinite.getNextPageParam\` (or \`nextParam\`) to read the next page from the response.`;
|
|
874
874
|
}
|
|
875
875
|
function matchesPattern(node, ov) {
|
|
876
|
+
if ("key" in ov) {
|
|
877
|
+
const extensions = node.extensions;
|
|
878
|
+
if (!extensions || !(ov.key in extensions)) return false;
|
|
879
|
+
return ov.value === void 0 || extensions[ov.key] === ov.value;
|
|
880
|
+
}
|
|
876
881
|
const { type, pattern } = ov;
|
|
877
882
|
const matches = (value) => typeof pattern === "string" ? value === pattern : pattern.test(value);
|
|
878
883
|
if (type === "operationId") return matches(node.operationId);
|