Skip to content

v0.4.0 — Stability Improvements & ESM Migration

Choose a tag to compare

@jlsookiki jlsookiki released this 10 Feb 23:22
· 154 commits to main since this release
ff44355

What's Changed

ESM Migration

  • Migrated from CommonJS to ES Modules ("type": "module", NodeNext module resolution)
  • All imports updated to use .js extensions

Browser Stability

  • PUPPETEER_EXECUTABLE_PATH env var support for Docker/production environments
  • protocolTimeout: 60000 to prevent protocol hangs
  • Additional Chrome launch args for stability and memory optimization (--single-process, --no-zygote, --disable-extensions, --disable-background-networking, --disable-software-rasterizer, --js-flags=--max-old-space-size=256)
  • ESM-compatible puppeteer import fix

Facebook Proxy Support

  • Optional SMARTPROXY_URL env var to route Facebook API requests through a residential proxy via undici's ProxyAgent

eBay Improvements

  • EbayCredentials interface with constructor injection (enables BYOK pattern)
  • Helpful note field when search returns zero results

Types

  • Added note?: string to SearchResult interface for contextual messages

Dependencies

  • Added undici@^7.21.0