Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ Creates a new instance of the Rownd client. It requires the following object pro
- `app_key` - Your Rownd application key.
- `app_secret` - Your Rownd application secret.

Optionally, you can also pass in the following properties:
- `timeout` - The number of milliseconds to wait before timing out a request. Defaults to 10 seconds. If you're on a slow network and see any "Request timed out" errors, try increasing this value.

Example:

```js
Expand Down
4 changes: 3 additions & 1 deletion examples/express/server.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
const express = require('express');
const { rownd } = require('../../');
const Rownd = require('../../');

const app = express();

const rownd = Rownd.createInstance();

const { authenticate } = rownd.express;

app.get('/', (req, res) => {
Expand Down
Loading