@settlemint/dalp-cli 3.1.32-main.42682586155 → 3.1.32-main.42701750513
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/dist/dalp.js +14 -14
- package/dist/dalp.js.map +9 -9
- package/package.json +4 -4
- package/src/lib/webhook-fixtures.ts +132 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-cli",
|
|
3
|
-
"version": "3.1.32-main.
|
|
3
|
+
"version": "3.1.32-main.42701750513",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
6
6
|
"homepage": "https://settlemint.com",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@modelcontextprotocol/server": "2.4.0",
|
|
53
|
-
"@settlemint/dalp-sdk": "3.1.32-main.
|
|
53
|
+
"@settlemint/dalp-sdk": "3.1.32-main.42701750513",
|
|
54
54
|
"incur": "0.7.1",
|
|
55
55
|
"zod": "4.6.7"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@arethetypeswrong/cli": "0.18.5",
|
|
59
|
-
"@testkit/effect-bun-test": "3.1.32-main.
|
|
60
|
-
"@tools/typescript-config": "3.1.32-main.
|
|
59
|
+
"@testkit/effect-bun-test": "3.1.32-main.42701750513",
|
|
60
|
+
"@tools/typescript-config": "3.1.32-main.42701750513",
|
|
61
61
|
"@types/bun": "1.4.4",
|
|
62
62
|
"publint": "0.3.25"
|
|
63
63
|
},
|
|
@@ -152,6 +152,138 @@ export const WEBHOOK_FIXTURES = [
|
|
|
152
152
|
"webhook-timestamp": "1767225600",
|
|
153
153
|
},
|
|
154
154
|
},
|
|
155
|
+
{
|
|
156
|
+
eventName: "bank-rail.cash-out.instructed",
|
|
157
|
+
version: 1,
|
|
158
|
+
body: '{"evt_id":"evt_ae49abc4af8e6ace8224a18ba3696a0d","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","cashOutId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607195","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","reason":null,"status":"instructed","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.cash-out.instructed@1:0","type":"bank-rail.cash-out.instructed","version":1}',
|
|
159
|
+
headers: {
|
|
160
|
+
"content-type": "application/json",
|
|
161
|
+
"webhook-id": "evt_ae49abc4af8e6ace8224a18ba3696a0d",
|
|
162
|
+
"webhook-signature": "v1,zhaQH9B/ADvexwhi3tl7RB6JR0EU1qEDHeb6Q55/LO4=",
|
|
163
|
+
"webhook-timestamp": "1767225600",
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
eventName: "bank-rail.cash-out.paid",
|
|
168
|
+
version: 1,
|
|
169
|
+
body: '{"evt_id":"evt_81b346f318b7d694b7d5d77e3a959d46","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","cashOutId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607195","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","reason":null,"status":"paid","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.cash-out.paid@1:0","type":"bank-rail.cash-out.paid","version":1}',
|
|
170
|
+
headers: {
|
|
171
|
+
"content-type": "application/json",
|
|
172
|
+
"webhook-id": "evt_81b346f318b7d694b7d5d77e3a959d46",
|
|
173
|
+
"webhook-signature": "v1,JgljSu/MQ0id2x6tFpaykhTDm38B++Da7KV9iDmd2co=",
|
|
174
|
+
"webhook-timestamp": "1767225600",
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
eventName: "bank-rail.cash-out.released",
|
|
179
|
+
version: 1,
|
|
180
|
+
body: '{"evt_id":"evt_ff65aa5aab382559ad63d3c90420a6dc","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","cashOutId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607195","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","reason":"rejected","status":"released","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.cash-out.released@1:0","type":"bank-rail.cash-out.released","version":1}',
|
|
181
|
+
headers: {
|
|
182
|
+
"content-type": "application/json",
|
|
183
|
+
"webhook-id": "evt_ff65aa5aab382559ad63d3c90420a6dc",
|
|
184
|
+
"webhook-signature": "v1,8TWYV5dvECBqa/K9tkpErmV14BjWVRqkVe+j1VZphWU=",
|
|
185
|
+
"webhook-timestamp": "1767225600",
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
eventName: "bank-rail.cash-out.requested",
|
|
190
|
+
version: 1,
|
|
191
|
+
body: '{"evt_id":"evt_c9ba41f3802c5aad5139eee42c5f07f7","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","cashOutId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607195","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","reason":null,"status":"requested","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.cash-out.requested@1:0","type":"bank-rail.cash-out.requested","version":1}',
|
|
192
|
+
headers: {
|
|
193
|
+
"content-type": "application/json",
|
|
194
|
+
"webhook-id": "evt_c9ba41f3802c5aad5139eee42c5f07f7",
|
|
195
|
+
"webhook-signature": "v1,iPiKiURZZiCI7j3wLDoTQHGi/7JAlYqtQkaCL6UK1J8=",
|
|
196
|
+
"webhook-timestamp": "1767225600",
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
eventName: "bank-rail.cash-out.returned",
|
|
201
|
+
version: 1,
|
|
202
|
+
body: '{"evt_id":"evt_2db94a8a92d039ee5645a957b1e5ebf0","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","cashOutId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607195","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","reason":null,"status":"returned","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.cash-out.returned@1:0","type":"bank-rail.cash-out.returned","version":1}',
|
|
203
|
+
headers: {
|
|
204
|
+
"content-type": "application/json",
|
|
205
|
+
"webhook-id": "evt_2db94a8a92d039ee5645a957b1e5ebf0",
|
|
206
|
+
"webhook-signature": "v1,3eztBHnlpiuNWoptMBlytgD/+Ctc3zRpjupVGCKbQP4=",
|
|
207
|
+
"webhook-timestamp": "1767225600",
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
eventName: "bank-rail.credit.admitted",
|
|
212
|
+
version: 1,
|
|
213
|
+
body: '{"evt_id":"evt_7da4513df8711033be265cfa7e665db0","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","creditId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607194","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","provenance":null,"status":"processing","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.credit.admitted@1:0","type":"bank-rail.credit.admitted","version":1}',
|
|
214
|
+
headers: {
|
|
215
|
+
"content-type": "application/json",
|
|
216
|
+
"webhook-id": "evt_7da4513df8711033be265cfa7e665db0",
|
|
217
|
+
"webhook-signature": "v1,Kw+0QT8Yo+v/Y0eLPTdqqVFFyy3n58PGZtTu72i7jj0=",
|
|
218
|
+
"webhook-timestamp": "1767225600",
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
eventName: "bank-rail.credit.allocated",
|
|
223
|
+
version: 1,
|
|
224
|
+
body: '{"evt_id":"evt_1ddffe0f37a737df4cc5361da35263d1","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","creditId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607194","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","provenance":null,"status":"allocated","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.credit.allocated@1:0","type":"bank-rail.credit.allocated","version":1}',
|
|
225
|
+
headers: {
|
|
226
|
+
"content-type": "application/json",
|
|
227
|
+
"webhook-id": "evt_1ddffe0f37a737df4cc5361da35263d1",
|
|
228
|
+
"webhook-signature": "v1,EgidpMB4TfIqANnmXhUgOcoojdUkwC1fv+xYIcRezoY=",
|
|
229
|
+
"webhook-timestamp": "1767225600",
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
eventName: "bank-rail.credit.cancelled",
|
|
234
|
+
version: 1,
|
|
235
|
+
body: '{"evt_id":"evt_84d9e07af447c9733e53b4826e271d97","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","creditId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607194","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","provenance":null,"status":"cancelled","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.credit.cancelled@1:0","type":"bank-rail.credit.cancelled","version":1}',
|
|
236
|
+
headers: {
|
|
237
|
+
"content-type": "application/json",
|
|
238
|
+
"webhook-id": "evt_84d9e07af447c9733e53b4826e271d97",
|
|
239
|
+
"webhook-signature": "v1,ZZXlPXFH0t6UREnK+l/MvueXbu6jvUPeum3XPK4mzNw=",
|
|
240
|
+
"webhook-timestamp": "1767225600",
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
eventName: "bank-rail.credit.minted",
|
|
245
|
+
version: 1,
|
|
246
|
+
body: '{"evt_id":"evt_7a9aba6369884d8d44f06abff098c8fb","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","creditId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607194","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","provenance":null,"status":"minted","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.credit.minted@1:0","type":"bank-rail.credit.minted","version":1}',
|
|
247
|
+
headers: {
|
|
248
|
+
"content-type": "application/json",
|
|
249
|
+
"webhook-id": "evt_7a9aba6369884d8d44f06abff098c8fb",
|
|
250
|
+
"webhook-signature": "v1,CcZDwU2K5cvLDdSz5ER8DIfP3YBGvSRgz15YDm1am7U=",
|
|
251
|
+
"webhook-timestamp": "1767225600",
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
eventName: "bank-rail.credit.parked",
|
|
256
|
+
version: 1,
|
|
257
|
+
body: '{"evt_id":"evt_7a3630616131255c12c8465f1683947d","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","creditId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607194","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","provenance":null,"status":"held","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.credit.parked@1:0","type":"bank-rail.credit.parked","version":1}',
|
|
258
|
+
headers: {
|
|
259
|
+
"content-type": "application/json",
|
|
260
|
+
"webhook-id": "evt_7a3630616131255c12c8465f1683947d",
|
|
261
|
+
"webhook-signature": "v1,rTJzAoQNhqB5VjeKLhzYn1h91lMBcijewy8YCfufmPI=",
|
|
262
|
+
"webhook-timestamp": "1767225600",
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
eventName: "bank-rail.credit.recalled",
|
|
267
|
+
version: 1,
|
|
268
|
+
body: '{"evt_id":"evt_10b7706104a02c084e083b13e22fc306","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","creditId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607194","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","provenance":null,"status":"recalled","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.credit.recalled@1:0","type":"bank-rail.credit.recalled","version":1}',
|
|
269
|
+
headers: {
|
|
270
|
+
"content-type": "application/json",
|
|
271
|
+
"webhook-id": "evt_10b7706104a02c084e083b13e22fc306",
|
|
272
|
+
"webhook-signature": "v1,qQfyPI+egvuBCGyRrs2aP/JsRCratGJAMgdjvE5zlxY=",
|
|
273
|
+
"webhook-timestamp": "1767225600",
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
eventName: "bank-rail.credit.returned-to-payer",
|
|
278
|
+
version: 1,
|
|
279
|
+
body: '{"evt_id":"evt_9842fb2dab859649c74945fbb7abf6b0","lifecycle_state":"final","payload":{"amount":"125.50","bankTxId":"BANK-2026-001","chainId":537001,"clientLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607193","connectionId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607191","creditId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607194","currency":"EUR","occurredAt":"2026-11-06T09:15:00.000Z","participantId":"participant-1","provenance":null,"status":"returned-to-payer","tokenLinkId":"0192a4c1-5f3e-7a01-9b2c-3d4e5f607192","transactionHash":null},"related":{},"source_id":"example:bank-rail.credit.returned-to-payer@1:0","type":"bank-rail.credit.returned-to-payer","version":1}',
|
|
280
|
+
headers: {
|
|
281
|
+
"content-type": "application/json",
|
|
282
|
+
"webhook-id": "evt_9842fb2dab859649c74945fbb7abf6b0",
|
|
283
|
+
"webhook-signature": "v1,kF/pCPRSsDsk/ZJihlCe7Gx7meV3+g9qg0YvoVBuPu4=",
|
|
284
|
+
"webhook-timestamp": "1767225600",
|
|
285
|
+
},
|
|
286
|
+
},
|
|
155
287
|
{
|
|
156
288
|
eventName: "compliance.freeze.final",
|
|
157
289
|
version: 1,
|