pinata 2.1.0 → 2.1.2

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.mjs CHANGED
@@ -1143,7 +1143,7 @@ var vectorizeQuery = async (config, options) => {
1143
1143
  throw new PinataError(`No files returned in query to fetch`);
1144
1144
  }
1145
1145
  const cid = resData.matches[0].cid;
1146
- const fileRes = await getCid(config, cid, void 0);
1146
+ const fileRes = await getCid(config, cid, "files");
1147
1147
  return fileRes;
1148
1148
  }
1149
1149
  return resData;