Remove tag and update docs
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
|||||||
run: npm pack
|
run: npm pack
|
||||||
|
|
||||||
- name: Publish NPM
|
- 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:
|
env:
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
@@ -5,13 +5,13 @@ The Infisical SDK provides a convenient way to interact with the Infisical API.
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install @infisical/sdk-v2
|
npm install @infisical/sdk
|
||||||
```
|
```
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
import { InfisicalSDK } from '@infisical/sdk-v2'
|
import { InfisicalSDK } from '@infisical/sdk'
|
||||||
|
|
||||||
const client = new InfisicalSDK({
|
const client = new InfisicalSDK({
|
||||||
siteUrl: "your-infisical-instance.com" // Optional, defaults to https://app.infisical.com
|
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
|
##### Example for creating a new Redis dynamic secret
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
import { InfisicalSDK, DynamicSecretProviders } from "@infisical/sdk-v2";
|
import { InfisicalSDK, DynamicSecretProviders } from "@infisical/sdk";
|
||||||
const client = new InfisicalSDK();
|
const client = new InfisicalSDK();
|
||||||
|
|
||||||
await client.auth().universalAuth.login({
|
await client.auth().universalAuth.login({
|
||||||
|
|||||||
Reference in New Issue
Block a user