@kubb/plugin-vue-query 5.0.0-beta.106 → 5.0.0-beta.109

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
@@ -85,7 +85,7 @@ function operationFileEntry(node, name, extname = ".ts") {
85
85
  */
86
86
  function resolveDependencyOperationFile(options) {
87
87
  const { cache, node, resolver, root, output, group } = options;
88
- return cache.getOrSet(`${resolver.pluginName}:operationFile`, () => resolver.file({
88
+ return cache.ensureItem(`${resolver.pluginName}:operationFile`, () => resolver.file({
89
89
  ...operationFileEntry(node, node.operationId),
90
90
  root,
91
91
  output,
@@ -831,7 +831,7 @@ function resolveContractClient(options) {
831
831
  function resolveClientOperation(options) {
832
832
  const { clientPlugin, driver, node, root, output, cache } = options;
833
833
  if (!clientPlugin) return null;
834
- return cache.getOrSet(`${clientPlugin.pluginName}:clientOperation`, () => {
834
+ return cache.ensureItem(`${clientPlugin.pluginName}:clientOperation`, () => {
835
835
  const resolver = driver.getResolver(clientPlugin.pluginName);
836
836
  const plugin = driver.getPlugin(clientPlugin.pluginName);
837
837
  const file = resolver.file({