From 5329406e2872411647515b433c6322ef50c4c929 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Fri, 20 Sep 2024 19:23:05 +0400 Subject: [PATCH] Remove tag and update docs --- .github/workflows/release.yml | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 905527d..d180855 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/README.md b/README.md index 16356bd..4dd76d7 100644 --- a/README.md +++ b/README.md @@ -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({