arcvision 0.1.14 → 0.1.15

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.js CHANGED
@@ -56715,7 +56715,7 @@ async function uploadToDatabase(jsonData) {
56715
56715
  try {
56716
56716
  console.log(chalk.blue(`Uploading to ${API_URL}/api/upload...`));
56717
56717
  const controller = new AbortController();
56718
- const timeoutId = setTimeout(() => controller.abort(), 3e4);
56718
+ const timeoutId = setTimeout(() => controller.abort(), 6e4);
56719
56719
  const response = await fetch(`${API_URL}/api/upload`, {
56720
56720
  method: "POST",
56721
56721
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arcvision",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Architecture scanner for modern codebases",
5
5
  "bin": {
6
6
  "arcvision": "./dist/index.js"
package/src/index.js CHANGED
@@ -88,7 +88,7 @@ async function uploadToDatabase(jsonData) {
88
88
 
89
89
  // Add timeout to fetch request
90
90
  const controller = new AbortController();
91
- const timeoutId = setTimeout(() => controller.abort(), 30000); // 30 second timeout
91
+ const timeoutId = setTimeout(() => controller.abort(), 60000); // 60 second timeout
92
92
 
93
93
  const response = await fetch(`${API_URL}/api/upload`, {
94
94
  method: 'POST',