@minip2p/core 0.5.3 → 0.5.4

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 +1 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -8,6 +8,7 @@ The API provides typed events, cancellable Promise operations, and `Stream` hand
8
8
 
9
9
  ```ts
10
10
  const path = await endpoint.connectAddr(remoteAddress);
11
+ // Optional: wait for Identify when you need advertised protocols.
11
12
  await endpoint.waitPeerReady(path.peerId);
12
13
  const rttMs = await endpoint.ping(path.peerId);
13
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minip2p/core",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Platform-neutral TypeScript SDK for minip2p",
5
5
  "keywords": [
6
6
  "libp2p",
@@ -54,8 +54,8 @@
54
54
  "scripts": {
55
55
  "build": "del-cli dist && tsc -p tsconfig.build.json",
56
56
  "clean": "del-cli dist",
57
- "test": "vitest run --config ../vitest.config.ts --root .",
58
- "test:watch": "vitest --config ../vitest.config.ts --root .",
57
+ "test": "vitest run",
58
+ "test:watch": "vitest",
59
59
  "typecheck": "tsc -p tsconfig.json"
60
60
  }
61
61
  }