Remove tag and update docs

This commit is contained in:
Daniel Hougaard
2024-09-20 19:23:05 +04:00
parent f5ad84e22c
commit 5329406e28
2 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ jobs:
run: npm pack
- name: Publish NPM
run: npm publish --tarball=./infisical-sdk-${{github.ref_name}} --access public --tag infisical-v3 --registry=https://registry.npmjs.org/ # todo: remove dry run
run: npm publish --tarball=./infisical-sdk-${{github.ref_name}} --access public --registry=https://registry.npmjs.org/
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -5,13 +5,13 @@ The Infisical SDK provides a convenient way to interact with the Infisical API.
## Installation
```bash
npm install @infisical/sdk-v2
npm install @infisical/sdk
```
## Getting Started
```typescript
import { InfisicalSDK } from '@infisical/sdk-v2'
import { InfisicalSDK } from '@infisical/sdk'
const client = new InfisicalSDK({
siteUrl: "your-infisical-instance.com" // Optional, defaults to https://app.infisical.com
@@ -224,7 +224,7 @@ For a more in-depth description of each input type for each dynamic secret type,
##### Example for creating a new Redis dynamic secret
```typescript
import { InfisicalSDK, DynamicSecretProviders } from "@infisical/sdk-v2";
import { InfisicalSDK, DynamicSecretProviders } from "@infisical/sdk";
const client = new InfisicalSDK();
await client.auth().universalAuth.login({