@weaveprotocol/cli 0.2.0 → 0.2.2
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 +18 -1
- package/dist/weave.mjs +847 -108
- package/package.json +11 -6
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ To have `weave` everywhere:
|
|
|
30
30
|
npm install -g @weaveprotocol/cli # or run it without installing: npx @weaveprotocol/cli <command>
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
From this repo: `npm install` at the repo root (the CLI is a workspace), then `cd cli && npm run bundle && npm link`, or a
|
|
33
|
+
From this repo: `npm install` at the repo root (the CLI is a workspace), then `cd packages/cli && npm run bundle && npm link`, or a
|
|
34
34
|
binary with no Node at all: `bun build.ts --native`.
|
|
35
35
|
|
|
36
36
|
```bash
|
|
@@ -215,3 +215,20 @@ space anywhere leaves it everywhere.
|
|
|
215
215
|
|
|
216
216
|
- **WebRTC on the node.** Browsers reach it over WebSocket. `node-datachannel`
|
|
217
217
|
plugs into the same transport seam if measurement says it is needed.
|
|
218
|
+
- **Publishing.** `weave-protocol-cli` on npm (or a built JS package), and
|
|
219
|
+
trying the Bun binary with `node-datachannel`.
|
|
220
|
+
- **Hosting, before it's offered to anyone.**
|
|
221
|
+
- A load test with 1,000 spaces, with metrics. Check the pricing against those numbers, and decide on TURN from them.
|
|
222
|
+
- A real Stripe test-mode run end to end, and a decision on Stripe Tax or a merchant of record.
|
|
223
|
+
- A breach plan.
|
|
224
|
+
- **The pay page.**
|
|
225
|
+
- A real Base Sepolia wallet payment.
|
|
226
|
+
- A Lightning route (BTCPay), and gasless USDC (EIP-3009).
|
|
227
|
+
- An optional email for reminders: SMTP, with double opt-in.
|
|
228
|
+
- **TURN.** Run coturn with `use-auth-secret` and quotas, and set
|
|
229
|
+
`TURN_SECRET` and `TURN_URLS` on the relay and the node. Then test calls
|
|
230
|
+
across real networks, behind a strict NAT, in Safari, and on a phone
|
|
231
|
+
switching apps.
|
|
232
|
+
|
|
233
|
+
What the protocol still has planned is in [the spec](../../spec/README.md),
|
|
234
|
+
under **Planned** in each part.
|