Skip to content

Commit 46910bf

Browse files
committed
2.0.2
1 parent 7614d01 commit 46910bf

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [2.0.2] - 2021-04-08
2+
3+
### Misc
4+
5+
- Updating dependencies
6+
17
## [2.0.1] - 2020-04-12
28

39
### Improvement
@@ -6,7 +12,7 @@
612
- Switching to circleci
713

814
## [2.0.0] 2019-08-07
9-
15+
1016
### Feat
1117

1218
- Use typescript

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
This connector uses [the npm rethinkdb package](https://www.npmjs.com/package/rethinkdb). Please have a look there for detailed options.
1111

12-
**Warning**: This plugin will automatically create a table, if it doesn't exist yet. But be aware, in case you create a table manually, use "ds_id" as the primary key. Otherwise the plugin won't be able to find your records.
12+
**Warning**: This plugin will automatically create a table, if it doesn't exist yet. But be aware, in case you create a table manually, use "ds_id" as the primary key. Otherwise the plugin won't be able to find your records.
1313

1414
## Configuration Options
1515
```yaml
@@ -55,14 +55,17 @@ plugins:
5555

5656
## Basic Setup
5757
```javascript
58-
var Deepstream = require( 'deepstream.io' ),
59-
RethinkDBStorageConnector = require( 'deepstream.io-storage-rethinkdb' ),
60-
server = new Deepstream();
58+
const { Deepstream } = require('@deepstream/server')
6159

62-
server.set( 'storage', new RethinkDBStorageConnector( {
63-
port: 5672,
64-
host: 'localhost'
65-
}));
60+
const server = new Deepstream({
61+
storage: {
62+
name: 'rethinkdb',
63+
options: {
64+
host: 'localhost',
65+
port: 28015
66+
}
67+
},
68+
})
6669

6770
server.start();
6871
```

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deepstream/storage-rethinkdb",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Connects deepstream.io to rethinkdb",
55
"main": "dist/src/connector.js",
66
"scripts": {

0 commit comments

Comments
 (0)