Skip to content

Commit

Permalink
Remove tag and update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Sep 20, 2024
1 parent f5ad84e commit 5329406
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit 5329406

Please sign in to comment.