@dvmkit/dvm-cli 0.0.0 → 0.1.5

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 (50) hide show
  1. package/LICENSE +67 -0
  2. package/NOTICE +2 -0
  3. package/README.md +28 -3
  4. package/dist/_esm-MN4BUYV6.js +885 -0
  5. package/dist/_esm-NRGECLJ7.js +35 -0
  6. package/dist/accounts-2WZE4N5F.js +73 -0
  7. package/dist/actions-LR65XILR.js +244 -0
  8. package/dist/ccip-JXYJSXTW.js +18 -0
  9. package/dist/chains-LJ7XK6H3.js +1460 -0
  10. package/dist/chunk-2VVVWBQA.js +15436 -0
  11. package/dist/chunk-3SWX5BQP.js +66 -0
  12. package/dist/chunk-3W2M46WM.js +61142 -0
  13. package/dist/chunk-4JXFXP4Y.js +757 -0
  14. package/dist/chunk-4NWEJTAW.js +16616 -0
  15. package/dist/chunk-65EY7CT4.js +2691 -0
  16. package/dist/chunk-6CC6JGEU.js +1815 -0
  17. package/dist/chunk-6O27TEXD.js +1181 -0
  18. package/dist/chunk-7OK7MBT6.js +258 -0
  19. package/dist/chunk-BECPI5H5.js +30063 -0
  20. package/dist/chunk-CJTE5TS3.js +1298 -0
  21. package/dist/chunk-ECEM3ZAS.js +339 -0
  22. package/dist/chunk-ECK465AY.js +5614 -0
  23. package/dist/chunk-EGY4KDBW.js +5149 -0
  24. package/dist/chunk-EVQERRCP.js +21369 -0
  25. package/dist/chunk-EZHT2RLJ.js +1447 -0
  26. package/dist/chunk-F55NNH2F.js +6484 -0
  27. package/dist/chunk-G5C6E6PJ.js +9063 -0
  28. package/dist/chunk-GZWKCIYN.js +3319 -0
  29. package/dist/chunk-IYHTITNZ.js +45 -0
  30. package/dist/chunk-LH3QPVN6.js +9869 -0
  31. package/dist/chunk-MLDUKBU3.js +2426 -0
  32. package/dist/chunk-N3UJT2NJ.js +3 -0
  33. package/dist/chunk-OWJZYYMG.js +185 -0
  34. package/dist/chunk-RA24J4QM.js +3717 -0
  35. package/dist/chunk-ZJYO7OLO.js +514 -0
  36. package/dist/client-OWIOFBKS.js +54 -0
  37. package/dist/dist-2G3QBGID.js +47 -0
  38. package/dist/dvm.js +56008 -0
  39. package/dist/esm-RQLHAH2K.js +5183 -0
  40. package/dist/internal-QFQ7MJ5V.js +1228 -0
  41. package/dist/mine.wasm-DNBKYCTQ.js +12 -0
  42. package/dist/payout-reporter-3UB5WRCV-XTVZFIAO.js +17 -0
  43. package/dist/pocket-refill-PQ5ZVSBY.js +129 -0
  44. package/dist/revenue-reporter-JIKUPXOK-TYUBTF4P.js +11 -0
  45. package/dist/secp256k1-JLZEQ2H7.js +19 -0
  46. package/dist/tempo-lifecycle-SQL3KLEZ-AATA2SKI.js +28 -0
  47. package/dist/tempo-wallet-QOLEIPCV-SWCXRBDS.js +33 -0
  48. package/dist/x402-FTG2GRAQ-UGAUMUL6.js +80 -0
  49. package/package.json +63 -6
  50. package/skills/dvm/SKILL.md +71 -0
@@ -0,0 +1,514 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __dvmCreateRequire } from "node:module";
3
+ const require = __dvmCreateRequire(import.meta.url);
4
+ import {
5
+ withSdkInitLock
6
+ } from "./chunk-3SWX5BQP.js";
7
+
8
+ // node_modules/@dvmkit/sdk/dist/chunk-2ABMGUDS.js
9
+ import { randomUUID } from "crypto";
10
+ var ENDPOINTS = {
11
+ revenue: "/_internal/job-revenue",
12
+ deposit: "/_internal/credit-deposit",
13
+ release: "/_internal/credit-draw-release",
14
+ drain: "/_internal/credit-drain",
15
+ payout: "/_internal/payout",
16
+ expiry_release: "/_internal/credit-expiry-release"
17
+ };
18
+ var RevenueReporter = class _RevenueReporter {
19
+ // 24h of failed retries
20
+ constructor(db, platformUrl, platformToken) {
21
+ this.db = db;
22
+ this.platformUrl = platformUrl;
23
+ this.platformToken = platformToken;
24
+ }
25
+ db;
26
+ platformUrl;
27
+ platformToken;
28
+ retryTimer = null;
29
+ static RETRY_INTERVAL_MS = 3e4;
30
+ static MAX_BACKOFF_MS = 3e5;
31
+ // 5 min
32
+ static ABANDON_AFTER_MS = 24 * 60 * 60 * 1e3;
33
+ /** Create the pending-reports table (idempotent). */
34
+ async init() {
35
+ await withSdkInitLock(this.db, () => this.createTables());
36
+ }
37
+ /** The boot DDL itself — always runs under {@link withSdkInitLock} (internal-review). */
38
+ async createTables() {
39
+ await this.db.query(`
40
+ CREATE TABLE IF NOT EXISTS pending_revenue_reports (
41
+ id TEXT PRIMARY KEY,
42
+ payload JSONB NOT NULL,
43
+ retry_count INTEGER NOT NULL DEFAULT 0,
44
+ next_retry_at BIGINT NOT NULL DEFAULT 0,
45
+ stale BOOLEAN NOT NULL DEFAULT false,
46
+ stale_reason TEXT,
47
+ created_at BIGINT NOT NULL,
48
+ kind TEXT NOT NULL DEFAULT 'revenue'
49
+ )
50
+ `);
51
+ await this.db.query(
52
+ "ALTER TABLE pending_revenue_reports ADD COLUMN IF NOT EXISTS stale_reason TEXT"
53
+ );
54
+ await this.db.query(
55
+ "ALTER TABLE pending_revenue_reports ADD COLUMN IF NOT EXISTS kind TEXT NOT NULL DEFAULT 'revenue'"
56
+ );
57
+ }
58
+ /** Persist a revenue report and attempt immediate delivery. */
59
+ async report(payload) {
60
+ return this.enqueue("revenue", payload, payload.jobId);
61
+ }
62
+ /**
63
+ * Join a credit deposit to the caller-owned rail transaction.
64
+ *
65
+ * This method performs no network I/O: it only writes the reporter-owned
66
+ * durable queue row through `tx`. The retry drain delivers the row after the
67
+ * rail transaction commits, including after a process restart.
68
+ */
69
+ async enqueueDeposit(tx, payload) {
70
+ await this.insertPending(tx, "deposit", payload);
71
+ }
72
+ /** Join a released draw to the transaction that made the hold terminal. */
73
+ async enqueueCreditDrawRelease(tx, payload) {
74
+ await this.insertPending(tx, "release", payload);
75
+ }
76
+ /**
77
+ * Join a credit drain to the transaction that made it terminal (internal-review).
78
+ *
79
+ * Same discipline as {@link enqueueDeposit} and the same reason: no network
80
+ * I/O here, only the durable queue row, written through `tx` so the report
81
+ * and the status CAS commit or roll back together. A drain whose row was
82
+ * lost between the two would overstate outstanding liability forever —
83
+ * the mirror image of a lost deposit.
84
+ *
85
+ * Named for the payload rather than the verb because `drain` already means
86
+ * "flush the queue" in this class (see {@link drainPending}).
87
+ */
88
+ async enqueueCreditDrain(tx, payload) {
89
+ await this.insertPending(tx, "drain", payload);
90
+ }
91
+ /**
92
+ * Join a payout to the transaction that commits the movement it reports
93
+ * (internal-review) — the batch close, the accumulator mark, the drain booking.
94
+ * No network I/O, only the durable queue row through `tx`, the discipline
95
+ * {@link enqueueCreditDrain} set and for the same reason: the money has
96
+ * already moved on a rail this ledger does not own, so the platform row is
97
+ * the only record the builder's dashboard has of it, and a row lost between
98
+ * the fact and the queue would understate "paid out" forever. Without `tx`
99
+ * the row is queued on the pool, for callers with no fact of their own to
100
+ * commit. Idempotent on `(dvmId, payoutId)` platform-side, so the retry
101
+ * loop redelivers freely.
102
+ */
103
+ async enqueuePayout(payload, tx) {
104
+ await this.insertPending(tx ?? this.db, "payout", payload);
105
+ }
106
+ /**
107
+ * Report one landed payout on its own and try to deliver it at once — the
108
+ * live Tempo settlement, which has no dvmkit transaction to join. Durable
109
+ * like {@link report}.
110
+ */
111
+ async reportPayout(payload) {
112
+ return this.enqueue("payout", payload, payload.payoutId);
113
+ }
114
+ /**
115
+ * Report one rail's pending-pool snapshot (internal-review). Best-effort and
116
+ * fire-and-forget, deliberately unlike {@link reportPayout}: a snapshot is
117
+ * replaced by the next tick, so queueing a stale one behind an outage would
118
+ * only deliver figures the platform already has newer ones for.
119
+ */
120
+ async reportPayoutPending(payload) {
121
+ const url = `${this.platformUrl}/_internal/payout-pending`;
122
+ try {
123
+ const res = await fetch(url, {
124
+ method: "POST",
125
+ headers: {
126
+ "Content-Type": "application/json",
127
+ Authorization: `Bearer ${this.platformToken}`
128
+ },
129
+ body: JSON.stringify(payload),
130
+ signal: AbortSignal.timeout(1e4)
131
+ });
132
+ if (!res.ok) {
133
+ console.warn(
134
+ JSON.stringify({
135
+ level: "payout_pending_report_failed",
136
+ rail: payload.rail,
137
+ status: res.status
138
+ })
139
+ );
140
+ }
141
+ } catch (err) {
142
+ console.warn(
143
+ JSON.stringify({
144
+ level: "payout_pending_report_failed",
145
+ rail: payload.rail,
146
+ error: err instanceof Error ? err.message : String(err)
147
+ })
148
+ );
149
+ }
150
+ }
151
+ /**
152
+ * Join a credit-expiry release — or the revival that reverses one — to the
153
+ * transaction that made it true (internal-review).
154
+ *
155
+ * Same discipline as {@link enqueueCreditDrain}: no network I/O, only the
156
+ * durable queue row written through `tx`. A release whose row was lost after
157
+ * the sweep committed would understate committed value forever; a lost
158
+ * reversal would overstate it, which is the worse direction — the builder
159
+ * would see money as theirs that a revived credit can still buy work with.
160
+ */
161
+ async enqueueCreditExpiryRelease(tx, payload) {
162
+ await this.insertPending(tx, "expiry_release", payload);
163
+ }
164
+ /**
165
+ * Report a reaper-force-failed paid job to the platform (internal-review) so the
166
+ * operator receives an ambient notice that a DVM died or wedged mid-job.
167
+ * Best-effort and fire-and-forget: unlike {@link report} there is no local
168
+ * durable queue — a non-2xx or transport failure is structured-logged
169
+ * (`paid_job_death_report_failed`) and dropped, since the reaper's own
170
+ * `stale_job_failed` log is the durable record and a failed *alert* must never
171
+ * wedge the sweep.
172
+ */
173
+ async reportPaidJobDeath(payload) {
174
+ const url = `${this.platformUrl}/_internal/paid-job-death`;
175
+ try {
176
+ const res = await fetch(url, {
177
+ method: "POST",
178
+ headers: {
179
+ "Content-Type": "application/json",
180
+ Authorization: `Bearer ${this.platformToken}`
181
+ },
182
+ body: JSON.stringify(payload),
183
+ signal: AbortSignal.timeout(1e4)
184
+ });
185
+ if (!res.ok) {
186
+ console.warn(
187
+ JSON.stringify({
188
+ level: "paid_job_death_report_failed",
189
+ jobId: payload.jobId,
190
+ status: res.status
191
+ })
192
+ );
193
+ }
194
+ } catch (err) {
195
+ console.warn(
196
+ JSON.stringify({
197
+ level: "paid_job_death_report_failed",
198
+ jobId: payload.jobId,
199
+ error: err instanceof Error ? err.message : String(err)
200
+ })
201
+ );
202
+ }
203
+ }
204
+ /**
205
+ * Report a settled draw whose revenue event was skipped (internal-review).
206
+ * Best-effort and fire-and-forget: the SDK's structured
207
+ * `revenue_skipped_no_rail` log is the durable backstop, so a failed notice
208
+ * must never wedge terminal handling or the orphan-draw reconciler.
209
+ */
210
+ async reportRevenueSkippedNoRail(payload) {
211
+ const url = `${this.platformUrl}/_internal/revenue-skipped-no-rail`;
212
+ try {
213
+ const res = await fetch(url, {
214
+ method: "POST",
215
+ headers: {
216
+ "Content-Type": "application/json",
217
+ Authorization: `Bearer ${this.platformToken}`
218
+ },
219
+ body: JSON.stringify(payload),
220
+ signal: AbortSignal.timeout(1e4)
221
+ });
222
+ if (!res.ok) {
223
+ console.warn(
224
+ JSON.stringify({
225
+ level: "revenue_skipped_no_rail_report_failed",
226
+ jobId: payload.jobId,
227
+ drawId: payload.drawId,
228
+ reason: payload.reason,
229
+ status: res.status
230
+ })
231
+ );
232
+ }
233
+ } catch (err) {
234
+ console.warn(
235
+ JSON.stringify({
236
+ level: "revenue_skipped_no_rail_report_failed",
237
+ jobId: payload.jobId,
238
+ drawId: payload.drawId,
239
+ reason: payload.reason,
240
+ error: err instanceof Error ? err.message : String(err)
241
+ })
242
+ );
243
+ }
244
+ }
245
+ /** Report the self-relay's Base gas gauge for platform-side paging and recovery. */
246
+ async reportX402SelfRelayGasBalance(payload) {
247
+ const url = `${this.platformUrl}/_internal/x402-self-relay-gas-balance`;
248
+ try {
249
+ const res = await fetch(url, {
250
+ method: "POST",
251
+ headers: {
252
+ "Content-Type": "application/json",
253
+ Authorization: `Bearer ${this.platformToken}`
254
+ },
255
+ body: JSON.stringify(payload),
256
+ signal: AbortSignal.timeout(1e4)
257
+ });
258
+ if (!res.ok) {
259
+ console.warn(
260
+ JSON.stringify({
261
+ level: "x402_self_relay_gas_balance_report_failed",
262
+ address: payload.address,
263
+ status: res.status
264
+ })
265
+ );
266
+ }
267
+ } catch (err) {
268
+ console.warn(
269
+ JSON.stringify({
270
+ level: "x402_self_relay_gas_balance_report_failed",
271
+ address: payload.address,
272
+ error: err instanceof Error ? err.message : String(err)
273
+ })
274
+ );
275
+ }
276
+ }
277
+ /** Report redacted self-relay RPC health for platform-side paging and recovery. */
278
+ async reportX402SelfRelayRpcHealth(payload) {
279
+ const url = `${this.platformUrl}/_internal/x402-self-relay-rpc-health`;
280
+ try {
281
+ const res = await fetch(url, {
282
+ method: "POST",
283
+ headers: {
284
+ "Content-Type": "application/json",
285
+ Authorization: `Bearer ${this.platformToken}`
286
+ },
287
+ body: JSON.stringify(payload),
288
+ signal: AbortSignal.timeout(1e4)
289
+ });
290
+ if (!res.ok) {
291
+ console.warn(
292
+ JSON.stringify({
293
+ level: "x402_self_relay_rpc_health_report_failed",
294
+ address: payload.address,
295
+ status: res.status
296
+ })
297
+ );
298
+ }
299
+ } catch {
300
+ console.warn(
301
+ JSON.stringify({
302
+ level: "x402_self_relay_rpc_health_report_failed",
303
+ address: payload.address,
304
+ reason: "transport"
305
+ })
306
+ );
307
+ }
308
+ }
309
+ /** Report the Tempo operator's fee-token gauge for paging and recovery. */
310
+ async reportTempoSettlementBalance(payload) {
311
+ await this.postTempoSettlementReadiness("balance", payload);
312
+ }
313
+ /** Report a redacted operator fee rejection immediately. */
314
+ async reportTempoSettlementFailure(payload) {
315
+ await this.postTempoSettlementReadiness("failure", payload);
316
+ }
317
+ async postTempoSettlementReadiness(kind, payload) {
318
+ const url = `${this.platformUrl}/_internal/tempo-settlement-${kind}`;
319
+ try {
320
+ const res = await fetch(url, {
321
+ method: "POST",
322
+ headers: {
323
+ "Content-Type": "application/json",
324
+ Authorization: `Bearer ${this.platformToken}`
325
+ },
326
+ body: JSON.stringify(payload),
327
+ signal: AbortSignal.timeout(1e4)
328
+ });
329
+ if (!res.ok) {
330
+ console.warn(
331
+ JSON.stringify({
332
+ level: "tempo_settlement_readiness_report_failed",
333
+ kind,
334
+ address: payload.address,
335
+ status: res.status
336
+ })
337
+ );
338
+ }
339
+ } catch {
340
+ console.warn(
341
+ JSON.stringify({
342
+ level: "tempo_settlement_readiness_report_failed",
343
+ kind,
344
+ address: payload.address,
345
+ reason: "transport"
346
+ })
347
+ );
348
+ }
349
+ }
350
+ /** Start the background retry loop. */
351
+ startRetryLoop() {
352
+ if (this.retryTimer) return;
353
+ this.retryTimer = setInterval(() => {
354
+ void this.drainPending();
355
+ }, _RevenueReporter.RETRY_INTERVAL_MS);
356
+ }
357
+ /** Stop the background retry loop. */
358
+ stop() {
359
+ if (this.retryTimer) {
360
+ clearInterval(this.retryTimer);
361
+ this.retryTimer = null;
362
+ }
363
+ }
364
+ /**
365
+ * Operator-facing queue snapshot: distinguishes the live retry queue from
366
+ * terminal (stale) rows and breaks the latter down by classification reason
367
+ * (`token_rotated`, `client_error:<status>`, `abandoned`). Lets monitoring tell
368
+ * transient backlog apart from permanently-failed rows.
369
+ */
370
+ async getQueueStats() {
371
+ const { rows } = await this.db.query(
372
+ `SELECT stale, stale_reason, COUNT(*)::int AS count
373
+ FROM pending_revenue_reports
374
+ GROUP BY stale, stale_reason`
375
+ );
376
+ let liveRetry = 0;
377
+ let stale = 0;
378
+ const byReason = {};
379
+ for (const row of rows) {
380
+ const count = Number(row.count);
381
+ if (row.stale) {
382
+ stale += count;
383
+ const reason = row.stale_reason ?? "unknown";
384
+ byReason[reason] = (byReason[reason] ?? 0) + count;
385
+ } else {
386
+ liveRetry += count;
387
+ }
388
+ }
389
+ return { liveRetry, stale, byReason };
390
+ }
391
+ /**
392
+ * Deliver one bounded batch from the durable queue.
393
+ *
394
+ * Public so startup/recovery tests and operator tooling can drive the same
395
+ * drain the background timer uses without reaching into private state.
396
+ */
397
+ async drainPending() {
398
+ try {
399
+ const { rows } = await this.db.query(
400
+ `SELECT id, payload, retry_count, created_at, kind FROM pending_revenue_reports
401
+ WHERE stale = false AND next_retry_at <= $1
402
+ ORDER BY created_at LIMIT 10`,
403
+ [Date.now()]
404
+ );
405
+ for (const row of rows) {
406
+ const label = row.payload.jobId ?? row.payload.creditId ?? row.payload.payoutId ?? row.id;
407
+ try {
408
+ await this.attemptDelivery(row.id, row.payload, row.kind, label);
409
+ } catch {
410
+ const retryCount = row.retry_count + 1;
411
+ if (Date.now() - Number(row.created_at) >= _RevenueReporter.ABANDON_AFTER_MS) {
412
+ await this.markStale(row.id, "abandoned");
413
+ console.warn(
414
+ JSON.stringify({
415
+ level: "revenue_reporter_abandoned",
416
+ id: row.id,
417
+ kind: row.kind,
418
+ retryCount,
419
+ dvmId: row.payload.dvmId,
420
+ label,
421
+ // A drain names its payout rail `method`; every other kind
422
+ // carries `rail`. An abandoned row is the one place an
423
+ // operator sees this payload at all, so don't log it blank.
424
+ rail: row.payload.rail ?? row.payload.method
425
+ })
426
+ );
427
+ continue;
428
+ }
429
+ const backoff = Math.min(
430
+ 3e4 * Math.pow(2, retryCount - 1),
431
+ _RevenueReporter.MAX_BACKOFF_MS
432
+ );
433
+ await this.db.query(
434
+ `UPDATE pending_revenue_reports
435
+ SET retry_count = $1, next_retry_at = $2
436
+ WHERE id = $3`,
437
+ [retryCount, Date.now() + backoff, row.id]
438
+ );
439
+ }
440
+ }
441
+ } catch (err) {
442
+ console.error("[revenue-reporter] Retry loop error:", err);
443
+ }
444
+ }
445
+ /** Durably queue one report of either kind, then try it once immediately. */
446
+ async enqueue(kind, payload, label) {
447
+ const id = await this.insertPending(this.db, kind, payload);
448
+ void this.attemptDelivery(id, payload, kind, label).catch(() => {
449
+ });
450
+ }
451
+ /** Insert one pending report through either the pool or an open transaction. */
452
+ async insertPending(q, kind, payload) {
453
+ const id = randomUUID();
454
+ await q.query(
455
+ `INSERT INTO pending_revenue_reports (id, payload, created_at, kind)
456
+ VALUES ($1, $2, $3, $4)`,
457
+ [id, JSON.stringify(payload), Date.now(), kind]
458
+ );
459
+ return id;
460
+ }
461
+ async attemptDelivery(id, payload, kind, label) {
462
+ const url = `${this.platformUrl}${ENDPOINTS[kind]}`;
463
+ let res;
464
+ try {
465
+ res = await fetch(url, {
466
+ method: "POST",
467
+ headers: {
468
+ "Content-Type": "application/json",
469
+ Authorization: `Bearer ${this.platformToken}`
470
+ },
471
+ body: JSON.stringify(payload),
472
+ signal: AbortSignal.timeout(1e4)
473
+ });
474
+ } catch (err) {
475
+ const reason = err instanceof Error ? err.message : String(err);
476
+ console.warn(
477
+ `[revenue-reporter] delivery failed for ${id}: transport error (${reason}) \u2014 will retry`
478
+ );
479
+ throw err;
480
+ }
481
+ if (res.ok) {
482
+ await this.db.query("DELETE FROM pending_revenue_reports WHERE id = $1", [id]);
483
+ console.log(`[revenue-reporter] reported ${kind} ${label}`);
484
+ return;
485
+ }
486
+ if (res.status === 401) {
487
+ await this.markStale(id, "token_rotated");
488
+ console.warn(
489
+ `[revenue-reporter] Report ${id} got 401 \u2014 marking stale (token likely rotated)`
490
+ );
491
+ return;
492
+ }
493
+ if (res.status >= 400 && res.status < 500) {
494
+ await this.markStale(id, `client_error:${res.status}`);
495
+ console.warn(
496
+ `[revenue-reporter] Report ${id} got HTTP ${res.status} \u2014 marking stale (permanent client error, will not retry)`
497
+ );
498
+ return;
499
+ }
500
+ console.warn(`[revenue-reporter] delivery failed for ${id}: HTTP ${res.status} \u2014 will retry`);
501
+ throw new Error(`Platform returned ${res.status}`);
502
+ }
503
+ /** Mark a pending row terminal (stale) with a classification reason. */
504
+ async markStale(id, reason) {
505
+ await this.db.query(
506
+ "UPDATE pending_revenue_reports SET stale = true, stale_reason = $1 WHERE id = $2",
507
+ [reason, id]
508
+ );
509
+ }
510
+ };
511
+
512
+ export {
513
+ RevenueReporter
514
+ };
@@ -0,0 +1,54 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __dvmCreateRequire } from "node:module";
3
+ const require = __dvmCreateRequire(import.meta.url);
4
+ import {
5
+ Fetch_exports,
6
+ Mppx_exports,
7
+ Transport_exports,
8
+ createChannelStore,
9
+ createJsonChannelStore,
10
+ entryKey,
11
+ evm,
12
+ session2 as session,
13
+ session3 as session2,
14
+ sessionClient,
15
+ sessionManager,
16
+ sessionManager2,
17
+ stripe,
18
+ tempo
19
+ } from "./chunk-4NWEJTAW.js";
20
+ import "./chunk-BECPI5H5.js";
21
+ import "./chunk-N3UJT2NJ.js";
22
+ import {
23
+ Constants_exports,
24
+ Expires_exports
25
+ } from "./chunk-2VVVWBQA.js";
26
+ import "./chunk-EZHT2RLJ.js";
27
+ import "./chunk-EVQERRCP.js";
28
+ import "./chunk-CJTE5TS3.js";
29
+ import "./chunk-GZWKCIYN.js";
30
+ import "./chunk-LH3QPVN6.js";
31
+ import "./chunk-6O27TEXD.js";
32
+ import "./chunk-65EY7CT4.js";
33
+ import "./chunk-F55NNH2F.js";
34
+ import "./chunk-MLDUKBU3.js";
35
+ import "./chunk-7OK7MBT6.js";
36
+ import "./chunk-IYHTITNZ.js";
37
+ export {
38
+ Constants_exports as Constants,
39
+ Expires_exports as Expires,
40
+ Fetch_exports as Fetch,
41
+ Mppx_exports as Mppx,
42
+ Transport_exports as Transport,
43
+ createChannelStore,
44
+ createJsonChannelStore,
45
+ entryKey,
46
+ evm,
47
+ sessionClient as session,
48
+ session2 as sessionLegacy,
49
+ sessionManager2 as sessionLegacyManager,
50
+ sessionManager,
51
+ session as sessionMethod,
52
+ stripe,
53
+ tempo
54
+ };
@@ -0,0 +1,47 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __dvmCreateRequire } from "node:module";
3
+ const require = __dvmCreateRequire(import.meta.url);
4
+ import {
5
+ BodyDigest_exports,
6
+ Receipt_exports,
7
+ Store_exports,
8
+ evm_exports,
9
+ x402_exports
10
+ } from "./chunk-ECEM3ZAS.js";
11
+ import {
12
+ Challenge_exports,
13
+ Constants_exports,
14
+ Credential_exports,
15
+ Errors_exports,
16
+ Expires_exports,
17
+ Mcp_exports,
18
+ Method_exports,
19
+ PaymentRequest_exports,
20
+ zod_exports
21
+ } from "./chunk-2VVVWBQA.js";
22
+ import "./chunk-EZHT2RLJ.js";
23
+ import "./chunk-CJTE5TS3.js";
24
+ import "./chunk-GZWKCIYN.js";
25
+ import "./chunk-LH3QPVN6.js";
26
+ import "./chunk-6O27TEXD.js";
27
+ import "./chunk-65EY7CT4.js";
28
+ import "./chunk-F55NNH2F.js";
29
+ import "./chunk-MLDUKBU3.js";
30
+ import "./chunk-7OK7MBT6.js";
31
+ import "./chunk-IYHTITNZ.js";
32
+ export {
33
+ BodyDigest_exports as BodyDigest,
34
+ Challenge_exports as Challenge,
35
+ Constants_exports as Constants,
36
+ Credential_exports as Credential,
37
+ Errors_exports as Errors,
38
+ Expires_exports as Expires,
39
+ Mcp_exports as Mcp,
40
+ Method_exports as Method,
41
+ PaymentRequest_exports as PaymentRequest,
42
+ Receipt_exports as Receipt,
43
+ Store_exports as Store,
44
+ evm_exports as evm,
45
+ x402_exports as x402,
46
+ zod_exports as z
47
+ };