Skip to content

Commit

Permalink
docs: update npm package name (#2302)
Browse files Browse the repository at this point in the history
Changed npm client package from @oryd/hydra-client to @ory/hydra-client
  • Loading branch information
vinckr authored Jan 15, 2021
1 parent 8d5c8b1 commit d05d82e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/docs/guides/logout.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ this endpoint!
import express from 'express'
import url from 'url'
import csrf from 'csurf'
import { AdminApi } from '@oryd/hydra-client'
import { AdminApi } from '@ory/hydra-client'

const hydraAdmin = new AdminApi(process.env.HYDRA_ADMIN_URL)

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/sdk/js.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ title: JavaScript
To install the JavaScript SDK, run:

```
npm install --save @oryd/hydra-client
npm install --save @ory/hydra-client
```

### Configuration

#### Basic configuration

```js
import { AdminApi } from '@oryd/hydra-client'
import { AdminApi } from '@ory/hydra-client'

// Set this to Hydra's URL
const hydraAdmin = new AdminApi('http://localhost:4445')
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v1.4/sdk/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repositories:
- [Python](https://pypi.org/project/ory-hydra-client/)
- [PHP](https://packagist.org/packages/ory/hydra-client)
- [Go](https://github.com/ory/hydra-client-go)
- [NodeJS](https://www.npmjs.com/package/@oryd/hydra-client) (with TypeScript)
- [NodeJS](https://www.npmjs.com/package/@ory/hydra-client) (with TypeScript)
- [Java](https://search.maven.org/artifact/sh.ory.hydra/hydra-client)
- [Ruby](https://rubygems.org/gems/ory-hydra-client)

Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v1.9/guides/login.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ this endpoint!
import express from 'express'
import url from 'url'
import csrf from 'csurf'
import { AdminApi } from '@oryd/hydra-client'
import { AdminApi } from '@ory/hydra-client'

const hydraAdmin = new AdminApi(process.env.HYDRA_ADMIN_URL)

Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v1.9/guides/logout.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ this endpoint!
import express from 'express'
import url from 'url'
import csrf from 'csurf'
import { AdminApi } from '@oryd/hydra-client'
import { AdminApi } from '@ory/hydra-client'

const hydraAdmin = new AdminApi(process.env.HYDRA_ADMIN_URL)

Expand Down
4 changes: 2 additions & 2 deletions docs/versioned_docs/version-v1.9/sdk/js.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ title: JavaScript
To install the JavaScript SDK, run:

```
npm install --save @oryd/hydra-client
npm install --save @ory/hydra-client
```

### Configuration

#### Basic configuration

```js
import { AdminApi } from '@oryd/hydra-client'
import { AdminApi } from '@ory/hydra-client'

// Set this to Hydra's URL
const hydraAdmin = new AdminApi('http://localhost:4445')
Expand Down

0 comments on commit d05d82e

Please sign in to comment.