Skip to content
This repository was archived by the owner on Sep 30, 2023. It is now read-only.

Commit 293b0d3

Browse files
authored
Merge pull request #34 from orbitdb/v1.5.0
V1.5.0
2 parents f663aca + 08ef17a commit 293b0d3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ const IPFS = require('ipfs')
3131
const OrbitDB = require('orbit-db')
3232

3333
const ipfs = new IPFS()
34-
const orbitdb = new OrbitDB(ipfs)
34+
const orbitdb = await OrbitDB.createInstance(ipfs)
3535
```
3636

3737
Get a key-value database and add an entry to it:
3838

3939
```javascript
40-
const kv = orbitdb.kvstore('settings')
40+
const kv = await orbitdb.kvstore('settings')
4141
kv.put('volume', '100')
4242
.then(() => {
4343
console.log(kv.get('volume'))

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
22
"name": "orbit-db-kvstore",
3-
"version": "1.5.0-rc3",
3+
"version": "1.5.0",
44
"description": "Key-Value Store for orbit-db",
55
"main": "src/KeyValueStore.js",
6-
"homepage":"https://github.com/orbitdb/orbit-db-kvstore",
7-
"bugs":"https://github.com/orbitdb/orbit-db-kvstore/issues",
6+
"homepage": "https://github.com/orbitdb/orbit-db-kvstore",
7+
"bugs": "https://github.com/orbitdb/orbit-db-kvstore/issues",
88
"scripts": {
99
"test": "echo \"Error: no test specified\" && exit 1"
1010
},
11-
"keywords":[
11+
"keywords": [
1212
"orbit-db",
1313
"orbitdb",
1414
"kv",
1515
"key-value",
1616
"kv-store"
1717
],
1818
"author": "Haad",
19-
"contributors":[
19+
"contributors": [
2020
"haadcode",
2121
"greenkeeperio-bot",
2222
"shamb0t",
@@ -26,6 +26,6 @@
2626
],
2727
"license": "MIT",
2828
"dependencies": {
29-
"orbit-db-store": "next"
29+
"orbit-db-store": "~2.6.0"
3030
}
3131
}

0 commit comments

Comments
 (0)