-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
SDK Version
2.0.0
Environment
Node 22
Describe the Bug
The types imports appear to be broken for v2. createHelius
should returned a defined HeliusClient type. However, the returned value has a type of any
. When inspecting the installed package in node_modules
, it seems the old v1 types are still present and that package.json types
field is pointing at those types.

Steps to Reproduce
import { createHelius, type HeliusClient } from 'helius-sdk'
const helius = createHelius({ apiKey: process.env.HELIUS_API_KEY! });
helius.hahaThisIsNotAMethod('foooo'); // builds without error
Expected Behavior
The package types should work properly with typescript.
Logs/Screenshots
Additional Checks
- I have searched for existing issues and this is not a duplicate.
- I have tested with the latest version.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working