diff --git a/package.json b/package.json index 0dc8b8c..81fbd10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scrapegraph-js", - "version": "1.0.0", + "version": "1.0.1", "description": "Official JavaScript/TypeScript SDK for the ScrapeGraph AI API — smart web scraping powered by AI", "type": "module", "main": "dist/index.js", diff --git a/src/index.ts b/src/index.ts index cb73196..213f50a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,9 @@ +console.warn( + "[scrapegraph-js] WARNING: This version (1.x) is deprecated and will no longer receive updates. " + + "Please upgrade to scrapegraph-js v2 for the latest features, bug fixes, and API v2 support. " + + "See the migration guide: https://docs.scrapegraphai.com/transition-from-v1-to-v2", +); + export { smartScraper, searchScraper,