Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typescript support #8

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Add typescript support #8

wants to merge 7 commits into from

Conversation

s6nqou
Copy link

@s6nqou s6nqou commented Jan 4, 2025

  1. Added TypeScript support for the package.
  2. Declared types for RPC methods based on the Jito official documentation.
  3. Renamed index.js to index.ts and added type annotations to the file.
  4. Introduced the enableConsoleLog method to prevent console.log and console.error outputs in the production environment.
  5. Removed the dist folder and added a prepublish script to generate javascript and type declaration files before publishing. The published package will now include only the dist folder.

@0xad1onchain
Copy link

@mdr0id please merge asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants