Skip to content

Commit

Permalink
fix(docs): use correct package name in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
snorrees committed Oct 31, 2022
1 parent 1c42c05 commit 191246b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# @sanity/secrets
# @sanity/studio-secrets

> **NOTE**
>
> This is the **Sanity Studio v3 version** of sanity-secrets, @sanity/secrets.
> This is the **Sanity Studio v3 version** of sanity-secrets, @sanity/studio-secrets.
>
> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-secrets).
Expand All @@ -21,13 +21,13 @@ When native server-side secrets handling is available on the Sanity platform thi
## Installation

```
npm install --save @sanity/secrets@studio-v3
npm install --save @sanity/studio-secrets@studio-v3
```

or

```
yarn add @sanity/secrets@studio-v3
yarn add @sanity/studio-secrets@studio-v3
```

## Usage
Expand All @@ -36,7 +36,7 @@ Quick example of both using the secrets and putting up a dialog to let user ente

```javascript
import {useEffect, useState} from 'react'
import {useSecrets, SettingsView} from '@sanity/secrets'
import {useSecrets, SettingsView} from '@sanity/studio-secrets'

const namespace = "myPlugin";

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 191246b

Please sign in to comment.