infisical-node icon indicating copy to clipboard operation
infisical-node copied to clipboard

TypeScript types only partial available

Open sebastianwessel opened this issue 1 year ago • 1 comments

The package does not export types correctly.

As an example, the config type InfisicalClientOptions is only available via the source import { InfisicalClientOptions } from 'infisical-node/src/types/InfisicalClient'

Normally, there should also be no need to bundle the source, test, markdown & images. Might be you can also reduce the bundle size here

sebastianwessel avatar May 28 '23 22:05 sebastianwessel

Hey, thanks for this! I opened up a PR to address the export issue https://github.com/Infisical/infisical-node/pull/10

cc: @dangtony98

sheensantoscapadngan avatar May 29 '23 16:05 sheensantoscapadngan