Skip to content

Commit 04219c3

Browse files
authored
chore: update deps (#95)
BREAKING CHANGE: uses ecosystem modules that use the new multiformats CID class
1 parent cfab5b7 commit 04219c3

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"main": "src/index.js",
77
"types": "dist/src/index.d.ts",
88
"scripts": {
9-
"prepare": "aegir build --no-bundle",
9+
"prepare": "npm run build",
10+
"build": "aegir build --no-bundle",
1011
"lint": "aegir lint",
1112
"release": "aegir release --target node",
1213
"release-minor": "aegir release --target node --type minor",
@@ -39,24 +40,24 @@
3940
"dependencies": {
4041
"debug": "^4.2.0",
4142
"err-code": "^3.0.1",
42-
"interface-datastore": "^4.0.0",
43+
"interface-datastore": "^5.1.1",
4344
"uint8arrays": "^2.0.5"
4445
},
4546
"devDependencies": {
4647
"@types/detect-node": "^2.0.0",
4748
"@types/mocha": "^8.2.1",
4849
"@types/sinon": "^10.0.0",
49-
"aegir": "^33.1.0",
50+
"aegir": "^34.0.1",
5051
"detect-node": "^2.0.4",
51-
"ipfs-core-types": "^0.3.0",
52+
"ipfs-core-types": "^0.5.2",
5253
"it-pair": "^1.0.0",
53-
"libp2p": "^0.30.9",
54-
"libp2p-gossipsub": "^0.8.0",
55-
"libp2p-interfaces": "^0.10.3",
54+
"libp2p": "next",
55+
"libp2p-gossipsub": "^0.11.0",
56+
"libp2p-interfaces": "^1.0.1",
5657
"libp2p-record": "^0.10.0",
5758
"p-wait-for": "^3.1.0",
58-
"peer-id": "^0.14.2",
59-
"sinon": "^10.0.0"
59+
"peer-id": "^0.15.0",
60+
"sinon": "^11.1.1"
6061
},
6162
"contributors": [
6263
"Vasco Santos <[email protected]>",

src/types.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ValidateFn, SelectFn } from 'libp2p-interfaces/src/types'
22

3-
export type SubscriptionKeyFn = (key: Uint8Array) => Promise<Uint8Array> | Uint8Array
3+
export interface SubscriptionKeyFn { (key: Uint8Array): Promise<Uint8Array> | Uint8Array }
44
export interface Validator {
5-
validate: ValidateFn,
5+
validate: ValidateFn
66
select: SelectFn
77
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./node_modules/aegir/src/config/tsconfig.aegir.json",
2+
"extends": "aegir/src/config/tsconfig.aegir.json",
33
"compilerOptions": {
44
"outDir": "dist"
55
},

0 commit comments

Comments
 (0)