@libp2p/config 1.0.0 → 1.0.1-15a70af5f

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.
package/README.md CHANGED
@@ -50,8 +50,8 @@ const privateKey = await loadOrCreateSelfKey(datastore, keychainInit)
50
50
 
51
51
  const node = await createLibp2p({
52
52
  privateKey,
53
+ datastore,
53
54
  services: {
54
- datastore,
55
55
  keychain: keychain(keychainInit)
56
56
  }
57
57
  })
@@ -27,8 +27,8 @@
27
27
  *
28
28
  * const node = await createLibp2p({
29
29
  * privateKey,
30
+ * datastore,
30
31
  * services: {
31
- * datastore,
32
32
  * keychain: keychain(keychainInit)
33
33
  * }
34
34
  * })
package/dist/src/index.js CHANGED
@@ -27,8 +27,8 @@
27
27
  *
28
28
  * const node = await createLibp2p({
29
29
  * privateKey,
30
+ * datastore,
30
31
  * services: {
31
- * datastore,
32
32
  * keychain: keychain(keychainInit)
33
33
  * }
34
34
  * })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/config",
3
- "version": "1.0.0",
3
+ "version": "1.0.1-15a70af5f",
4
4
  "description": "Helper functions to make dealing with libp2p config easier",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/config#readme",
@@ -45,10 +45,10 @@
45
45
  "doc-check": "aegir doc-check"
46
46
  },
47
47
  "dependencies": {
48
- "@libp2p/crypto": "^5.0.7",
49
- "@libp2p/interface": "^2.3.0",
50
- "@libp2p/keychain": "^5.0.10",
51
- "@libp2p/logger": "^5.1.4",
48
+ "@libp2p/crypto": "5.0.9-15a70af5f",
49
+ "@libp2p/interface": "2.4.0-15a70af5f",
50
+ "@libp2p/keychain": "5.0.12-15a70af5f",
51
+ "@libp2p/logger": "5.1.6-15a70af5f",
52
52
  "interface-datastore": "^8.3.1"
53
53
  },
54
54
  "devDependencies": {
package/src/index.ts CHANGED
@@ -27,8 +27,8 @@
27
27
  *
28
28
  * const node = await createLibp2p({
29
29
  * privateKey,
30
+ * datastore,
30
31
  * services: {
31
- * datastore,
32
32
  * keychain: keychain(keychainInit)
33
33
  * }
34
34
  * })
@@ -1,4 +0,0 @@
1
- {
2
- "LoadOrCreateSelfKeyOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_config.LoadOrCreateSelfKeyOptions.html",
3
- "loadOrCreateSelfKey": "https://libp2p.github.io/js-libp2p/functions/_libp2p_config.loadOrCreateSelfKey.html"
4
- }