infisical-node
infisical-node copied to clipboard
types are not present in installed package
The expected "types" directory doesn't seem to be present in the installed package under node_modules/infisical-node/api
infisical-node@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/infisical-node/-/infisical-node-1.3.2.tgz#37c73dde05e8bf914fc7d3c0e1936524aedd9ddf" integrity sha512-o1rxfOBAmpTiipka9Xnfa2AgTS8CkJHo0aRQwk6UGi+yEkKzXS7dDM7bZD56M/z+yKGLK15QkfFGZXp1VomlHw== dependencies: axios "^1.3.3" dotenv "^16.0.3" tweetnacl "^1.0.3" tweetnacl-util "^0.15.1"
node_modules/infisical-node/lib/client/InfisicalClient.d.ts:1:31 - error TS2307: Cannot find module '../types/models' or its corresponding type declarations.
1 import { ISecretBundle } from '../types/models'; ~~~~~~~~~~~~~~~~~ node_modules/infisical-node/lib/client/InfisicalClient.d.ts:2:138 - error TS2307: Cannot find module '../types/InfisicalClient' or its corresponding type declarations.
2 import { ServiceTokenClientConfig, GetAllOptions, GetOptions, CreateOptions, UpdateOptions, DeleteOptions, InfisicalClientOptions } from '../types/InfisicalClient'; ~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/infisical-node/lib/client/InfisicalClient.d.ts:3:41 - error TS2307: Cannot find module '../types/utils' or its corresponding type declarations.
relates to #8
This issue has been resolved, please update the package on your end the latest version
Types are not available.