@libp2p/kad-dht 9.3.6-6fdaa7dc → 9.3.6-7fb23cd3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +12 -12
package/README.md CHANGED
@@ -59,7 +59,9 @@ import { createLibp2pNode } from 'libp2p'
59
59
  import { kadDHT } from '@libp2p/kad-dht'
60
60
 
61
61
  const node = await createLibp2pNode({
62
- dht: kadDHT()
62
+ services: {
63
+ dht: kadDHT()
64
+ }
63
65
  //... other config
64
66
  })
65
67
  await node.start()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/kad-dht",
3
- "version": "9.3.6-6fdaa7dc",
3
+ "version": "9.3.6-7fb23cd3",
4
4
  "description": "JavaScript implementation of the Kad-DHT for libp2p",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/kad-dht#readme",
@@ -51,12 +51,12 @@
51
51
  "dep-check": "aegir dep-check -i events"
52
52
  },
53
53
  "dependencies": {
54
- "@libp2p/crypto": "1.0.17-6fdaa7dc",
55
- "@libp2p/interface": "0.0.1-6fdaa7dc",
56
- "@libp2p/interface-internal": "0.0.1-6fdaa7dc",
57
- "@libp2p/logger": "2.1.1-6fdaa7dc",
58
- "@libp2p/peer-collections": "3.0.2-6fdaa7dc",
59
- "@libp2p/peer-id": "2.0.3-6fdaa7dc",
54
+ "@libp2p/crypto": "1.0.17-7fb23cd3",
55
+ "@libp2p/interface": "0.0.1-7fb23cd3",
56
+ "@libp2p/interface-internal": "0.0.1-7fb23cd3",
57
+ "@libp2p/logger": "2.1.1-7fb23cd3",
58
+ "@libp2p/peer-collections": "3.0.2-7fb23cd3",
59
+ "@libp2p/peer-id": "2.0.3-7fb23cd3",
60
60
  "@multiformats/multiaddr": "^12.1.3",
61
61
  "@types/sinon": "^10.0.15",
62
62
  "abortable-iterator": "^5.0.1",
@@ -88,9 +88,9 @@
88
88
  "varint": "^6.0.0"
89
89
  },
90
90
  "devDependencies": {
91
- "@libp2p/interface-compliance-tests": "3.0.7-6fdaa7dc",
92
- "@libp2p/peer-id-factory": "2.0.3-6fdaa7dc",
93
- "@libp2p/peer-store": "8.2.1-6fdaa7dc",
91
+ "@libp2p/interface-compliance-tests": "3.0.7-7fb23cd3",
92
+ "@libp2p/peer-id-factory": "2.0.3-7fb23cd3",
93
+ "@libp2p/peer-store": "8.2.1-7fb23cd3",
94
94
  "@types/lodash.random": "^3.2.6",
95
95
  "@types/lodash.range": "^3.2.6",
96
96
  "@types/varint": "^6.0.0",
@@ -98,13 +98,13 @@
98
98
  "aegir": "^39.0.10",
99
99
  "datastore-level": "^10.0.0",
100
100
  "delay": "^6.0.0",
101
- "execa": "^7.0.0",
101
+ "execa": "^7.1.1",
102
102
  "it-filter": "^3.0.1",
103
103
  "it-last": "^3.0.1",
104
104
  "lodash.random": "^3.2.0",
105
105
  "lodash.range": "^3.2.0",
106
106
  "p-retry": "^5.0.0",
107
- "p-wait-for": "^5.0.0",
107
+ "p-wait-for": "^5.0.2",
108
108
  "protons": "^7.0.2",
109
109
  "sinon": "^15.1.2",
110
110
  "ts-sinon": "^2.0.2",