@settlemint/dalp-cli 3.1.18-main.34042135992 → 3.1.18-main.34051758545
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 +3 -2
- package/dist/dalp.js +50 -124
- package/dist/dalp.js.map +9 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,7 +41,8 @@ dalp get tokens --help
|
|
|
41
41
|
dalp get tokens index --sort name --limit 25
|
|
42
42
|
dalp get tokens documents index 0x…
|
|
43
43
|
dalp create tokens mints 0x… --body '{"recipients":[…],"amounts":[…]}'
|
|
44
|
-
# Mutations
|
|
44
|
+
# Mutations ask the platform to hold the response until settlement (TTY spinner + status).
|
|
45
|
+
# Agents get streamed status events either way.
|
|
45
46
|
dalp create tokens mints 0x… --body '…' --no-wait
|
|
46
47
|
```
|
|
47
48
|
|
|
@@ -51,7 +52,7 @@ Long-running work uses `async *run` generators ([Incur Streaming](https://github
|
|
|
51
52
|
|
|
52
53
|
- **Humans (TTY):** braille spinner on stderr with clear phase messages (`Preparing…`, `Submitting METHOD /url…`, `Waiting for settlement…`).
|
|
53
54
|
- **Agents (`c.agent`):** structured yields `{ phase, message, status? }` with no spinner noise on stdout.
|
|
54
|
-
- **Blockchain mutations:**
|
|
55
|
+
- **Blockchain mutations:** the wait belongs to the platform, not the CLI. The default asks it to hold the response until the write settles; `--no-wait` asks it to answer immediately. Either way the command reports what came back, and a write that outlives the wait prints `Request accepted; the transaction is still settling` with the handle. Follow that handle with `dalp get transaction-requests stream <transactionId>`; the CLI does not poll it for you.
|
|
55
56
|
- **SSE endpoints** (`…/stream`): each Server-Sent Event is yielded as a chunk. Use `--format jsonl` for NDJSON (`{"type":"chunk","data":…}`).
|
|
56
57
|
- **Errors:** public `message` stays the headline; `why` / `fix` and mapped resource `links` become an Incur CTA (`meta.cta`) so agents get next commands without scraping free text.
|
|
57
58
|
- **Success links:** JSON:API `links` (`next` / `prev` / related) map to suggested CLI commands when present.
|