1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00

fix(entraid): correct package entry point structure (#2891)

- Add /index.ts that re-exports all from /lib/index.ts
- Preserve existing /lib/index.ts exports
This commit is contained in:
Bobby I.
2025-03-20 12:31:25 +02:00
committed by GitHub
parent 4cbecf6a09
commit 6c5a3fd0c0
2 changed files with 2 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ The first step to using @redis/entraid is choosing the right credentials provide
```typescript
import { createClient } from '@redis/client';
import { EntraIdCredentialsProviderFactory } from '@redis/entraid/dist/lib/entra-id-credentials-provider-factory';
import { EntraIdCredentialsProviderFactory } from '@redis/entraid';
const provider = EntraIdCredentialsProviderFactory.createForClientCredentials({
clientId: 'your-client-id',

View File

@@ -0,0 +1 @@
export * from './lib/index'