Infisical / infisical-node

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

types are not present in installed package #16

Open rjwalters opened 1 year ago

rjwalters commented 1 year ago

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

maidul98 commented 1 year ago

This issue has been resolved, please update the package on your end the latest version

mugilan-viewzen commented 1 year ago

Types are not available.