Infisical / infisical-node

♾ Official Infisical SDK for Node
https://infisical.com
MIT License
69 stars 19 forks source link

TypeScript types only partial available #8

Open sebastianwessel opened 1 year ago

sebastianwessel commented 1 year ago

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

sheensantoscapadngan commented 1 year ago

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

cc: @dangtony98