@luutuankiet/gsd-reader 0.2.20 → 0.2.22

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.
Files changed (2) hide show
  1. package/cli.cjs +2 -2
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -244,7 +244,7 @@ function promptPassword(prompt) {
244
244
 
245
245
  async function httpRequest(url, options, data) {
246
246
  const controller = new AbortController();
247
- const timeout = setTimeout(() => controller.abort(), 30000);
247
+ const timeout = setTimeout(() => controller.abort(), 60000);
248
248
 
249
249
  try {
250
250
  const res = await fetch(url, {
@@ -265,7 +265,7 @@ async function httpRequest(url, options, data) {
265
265
  }
266
266
  } catch (err) {
267
267
  if (err.name === 'AbortError') {
268
- throw new Error('Request timed out after 30s. Check server/proxy status.');
268
+ throw new Error('Request timed out after 60s. Check server/proxy status.');
269
269
  }
270
270
  throw err;
271
271
  } finally {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luutuankiet/gsd-reader",
3
- "version": "0.2.20",
3
+ "version": "0.2.22",
4
4
  "description": "Interactive Worklog Reader for GSD-Lite WORK.md files with live reload",
5
5
  "keywords": [
6
6
  "gsd-lite",