Skip to content

Commit

Permalink
Fix links in README (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson committed Jan 31, 2021
1 parent bfb9006 commit 921d094
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ MyApp.onLogout(() => {

### Options

| Prop | Type | Default Value | Description |
| :------------ | :----- | :------------------------------------- | :-------------------------------------------------------------- |
| **clientID** | number | 1 | OAuth app client ID, defaults to [put.io web app](app.put.io) |
| **baseURL** | string | [api.put.io/v2](https://api.put.io/v2) | Base URL of the API |
| **webAppURL** | string | [app.put.io](https://put.io) | Base URL of the Put.io web app, used in the authentication flow |
| Prop | Type | Default Value | Description |
| :------------ | :----- | :----------------------------------------- | :-------------------------------------------------------------------- |
| **clientID** | number | 1 | OAuth app client ID, defaults to [put.io web app](https://app.put.io) |
| **baseURL** | string | [api.put.io/v2](https://api.put.io/v2) | Base URL of the API |
| **webAppURL** | string | [app.put.io](https://app.put.io) | Base URL of the Put.io web app, used in the authentication flow |

### Methods

Expand All @@ -73,7 +73,7 @@ MyApp.onLogout(() => {

### Events

| Value | Payload | Description |
| :-------------------- | :-------------------------------------------------------------------------------------------- | :-------------------------------------- |
| **ERROR** | [IPutioAPIClientError](https://github.com/putdotio/putio.js/blob/master/src/types.ts#L23-L27) | Fired when an HTTP request fails |
| **CLIENT_IP_CHANGED** | `{ IP: string, newIP: string }` | Fired when the IP of the client changes |
| Value | Payload | Description |
| :-------------------- | :--------------------------------------------------------------------------------------------------- | :-------------------------------------- |
| **ERROR** | [IPutioAPIClientError](https://github.com/putdotio/putio.js/blob/master/src/client/types.ts#L22-L26) | Fired when an HTTP request fails |
| **CLIENT_IP_CHANGED** | `{ IP: string, newIP: string }` | Fired when the IP of the client changes |

0 comments on commit 921d094

Please sign in to comment.