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

Commit a8a1628

Browse files
authored
fix!: update datastore dependency (#58)
Updates to new version of `interface-datastore`. BREAKING CHANGE: requires most recent datastore implementation
1 parent f063bf9 commit a8a1628

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@
150150
"@libp2p/interfaces": "^3.3.1",
151151
"@libp2p/logger": "^2.0.5",
152152
"@libp2p/peer-id": "^2.0.1",
153-
"interface-datastore": "^7.0.3",
153+
"interface-datastore": "^8.0.0",
154154
"merge-options": "^3.0.4",
155155
"sanitize-filename": "^1.6.3",
156156
"uint8arrays": "^4.0.3"
157157
},
158158
"devDependencies": {
159159
"@libp2p/peer-id-factory": "^2.0.1",
160160
"aegir": "^38.1.0",
161-
"datastore-core": "^8.0.4",
161+
"datastore-core": "^9.0.1",
162162
"multiformats": "^11.0.1"
163163
}
164164
}

test/keychain.spec.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ describe('keychain', () => {
2828
ks = new DefaultKeyChain({
2929
datastore: datastore2
3030
}, { pass: passPhrase })
31-
32-
await datastore2.open()
33-
})
34-
35-
after(async () => {
36-
await datastore2.close()
3731
})
3832

3933
it('can start without a password', async () => {
@@ -455,7 +449,6 @@ describe('keychain', () => {
455449
kc = new DefaultKeyChain({
456450
datastore: ds
457451
}, options)
458-
await ds.open()
459452
})
460453

461454
it('should validate newPass is a string', async () => {

0 commit comments

Comments
 (0)