Skip to content

Commit

Permalink
fix!: update datastore dependency (libp2p#58)
Browse files Browse the repository at this point in the history
Updates to new version of `interface-datastore`.

BREAKING CHANGE: requires most recent datastore implementation
  • Loading branch information
achingbrain committed Mar 13, 2023
1 parent f063bf9 commit a8a1628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@
"@libp2p/interfaces": "^3.3.1",
"@libp2p/logger": "^2.0.5",
"@libp2p/peer-id": "^2.0.1",
"interface-datastore": "^7.0.3",
"interface-datastore": "^8.0.0",
"merge-options": "^3.0.4",
"sanitize-filename": "^1.6.3",
"uint8arrays": "^4.0.3"
},
"devDependencies": {
"@libp2p/peer-id-factory": "^2.0.1",
"aegir": "^38.1.0",
"datastore-core": "^8.0.4",
"datastore-core": "^9.0.1",
"multiformats": "^11.0.1"
}
}
7 changes: 0 additions & 7 deletions test/keychain.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ describe('keychain', () => {
ks = new DefaultKeyChain({
datastore: datastore2
}, { pass: passPhrase })

await datastore2.open()
})

after(async () => {
await datastore2.close()
})

it('can start without a password', async () => {
Expand Down Expand Up @@ -455,7 +449,6 @@ describe('keychain', () => {
kc = new DefaultKeyChain({
datastore: ds
}, options)
await ds.open()
})

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

0 comments on commit a8a1628

Please sign in to comment.