Skip to content

Commit

Permalink
change warn to log
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyaschorge committed Nov 18, 2024
1 parent 9b897a2 commit 8c608e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@neynar/nodejs-sdk",
"version": "2.0.0-alpha.11",
"version": "2.0.0-alpha.12",
"description": "SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)",
"main": "./build/index.js",
"types": "./build/index.d.ts",
Expand Down
12 changes: 8 additions & 4 deletions src/postinstall.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
console.warn(`
===========================================================
const message = `
=============================================================================================
You have installed version 2.x.x of this SDK.
Please follow the migration guide to update your usage:
Migration Docs: https://docs.neynar.com/reference/neynar-nodejs-sdk-v1-to-v2-migration-guide
===========================================================
`);
=============================================================================================
`;

console.log("\x1b[33m%s\x1b[0m", message);

0 comments on commit 8c608e2

Please sign in to comment.