@kubb/plugin-react-query 5.11.0-canary.20261110T141452 → 5.11.0-canary.20261111T122007

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
@@ -526,6 +526,9 @@ function resolveOperationName(name) {
526
526
  * it is, so two of them never share an allocation even when a custom resolver gives both the same
527
527
  * name. Leave `scope` empty for the operation's own declaration.
528
528
  *
529
+ * The key starts from the operation's input `pointer`, which macros keep, so a plugin whose macro
530
+ * rewrites the method or path still resolves another plugin's names for the same operation.
531
+ *
529
532
  * @example
530
533
  * ```ts
531
534
  * resolver.resolveName({ key: operationKey(node, 'response', 'status', 404), name })
@@ -534,8 +537,7 @@ function resolveOperationName(name) {
534
537
  function operationKey(node, ...scope) {
535
538
  return [
536
539
  "operation",
537
- node.method,
538
- node.path,
540
+ ...node.pointer ? [node.pointer] : [node.method, node.path],
539
541
  ...scope.map(String)
540
542
  ];
541
543
  }
@@ -575,7 +577,7 @@ var compatibility = {
575
577
  "node": ">=22.22"
576
578
  };
577
579
  // package.json
578
- var version = "5.11.0-canary.20261110T141452";
580
+ var version = "5.11.0-canary.20261111T122007";
579
581
  // ../../internals/client/src/resolveClient.ts
580
582
  /**
581
583
  * Resolves which client plugin a consumer (react-query, vue-query, swr, mcp) should call for an