nexus-backend 1.0.6 → 1.0.7

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
@@ -10636,7 +10636,8 @@ var uploader = {
10636
10636
  getNexusDownloadUrl: async (fileId) => {
10637
10637
  try {
10638
10638
  const res = await axios.get(`${BASE_URL}/getFile`, {
10639
- params: { file_id: fileId }
10639
+ params: { file_id: fileId },
10640
+ timeout: 15e3
10640
10641
  });
10641
10642
  if (!res.data?.ok || !res.data?.result?.file_path) {
10642
10643
  throw new Error("Invalid nexus cloud file response");