@dvmkit/dvm-cli 0.4.2 → 0.6.0

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 (32) hide show
  1. package/README.md +18 -0
  2. package/dist/{chunk-JVQFBKDX.js → chunk-3YE43JJR.js} +3 -3
  3. package/dist/{chunk-2TKOJBBB.js → chunk-4KINCBHL.js} +53 -51
  4. package/dist/{chunk-CSRGRJB6.js → chunk-EE2MREOM.js} +68 -4
  5. package/dist/chunk-ERJFRCJO.js +150 -0
  6. package/dist/chunk-FL2ICZW5.js +383 -0
  7. package/dist/chunk-FSYEZERJ.js +1667 -0
  8. package/dist/{chunk-6KEZKHN7.js → chunk-ID5G54HJ.js} +211 -35
  9. package/dist/{chunk-4NWEJTAW.js → chunk-MJ4X4BEW.js} +7953 -8036
  10. package/dist/{chunk-KBFK5MM5.js → chunk-QICJRKB7.js} +6972 -1321
  11. package/dist/{chunk-ECEM3ZAS.js → chunk-R55XNXAR.js} +53 -185
  12. package/dist/{chunk-OOA6X5MI.js → chunk-SHZMNEXE.js} +58 -17
  13. package/dist/{chunk-PRN4FHDY.js → chunk-TZWZTS37.js} +38 -23
  14. package/dist/{chunk-DRO3JP42.js → chunk-VOO5IAK7.js} +582 -83
  15. package/dist/{chunk-2VVVWBQA.js → chunk-WTM2EICO.js} +2 -352
  16. package/dist/chunk-XHOFQ3OS.js +717 -0
  17. package/dist/{chunk-KUBOPQ3N.js → chunk-Z4CZUMUT.js} +937 -1599
  18. package/dist/{client-OWIOFBKS.js → client-RYDA62DU.js} +11 -8
  19. package/dist/{dist-2G3QBGID.js → dist-GKCEIY2A.js} +7 -4
  20. package/dist/dvm.js +866 -121
  21. package/dist/{internal-DS42OMXR.js → internal-INUTGTXQ.js} +52 -38
  22. package/dist/{payout-reporter-TQ3YIFLZ-64RGUGTA.js → payout-reporter-3Y2U55ZX-CMKACKA3.js} +2 -2
  23. package/dist/{pocket-refill-3WMWHMOT.js → pocket-refill-K5T4LZF6.js} +18 -14
  24. package/dist/{revenue-reporter-VN4WYN74-T7HYTIDM.js → revenue-reporter-MAERPYGK-CCPZXGFA.js} +2 -2
  25. package/dist/tempo-AXTE4ZEA.js +34 -0
  26. package/dist/{tempo-lifecycle-TJ62A7UX-OLLWSS3I.js → tempo-lifecycle-ZBBLFBMH-HWI4PLYP.js} +11 -7
  27. package/dist/{tempo-wallet-RCGBBAJH-TSTQAZKT.js → tempo-wallet-B5XXV3YH-SRQBMYFV.js} +2 -2
  28. package/dist/{x402-S47Q77UE-33J7AIH3.js → x402-R6HPBY5D-VMSW7Z32.js} +3 -3
  29. package/package.json +2 -2
  30. package/skills/dvm/calling.md +2 -0
  31. package/skills/dvm/credit.md +4 -0
  32. package/skills/dvm/wallets.md +4 -0
package/README.md CHANGED
@@ -48,3 +48,21 @@ Release automation is documented in [docs/releasing.md](docs/releasing.md). It p
48
48
  ## License
49
49
 
50
50
  Apache-2.0. See [LICENSE](./LICENSE) and [NOTICE](./NOTICE).
51
+
52
+ ### Provider content expiry
53
+
54
+ `dvm status`, `dvm status --messages`, `dvm messages`, and the reply from `dvm message` report `content_expires_at` (epoch milliseconds or `null` for no automatic expiry) and `content_available` when the provider supplies them. Missing legacy fields mean unknown. `content_metadata_known` is true only when both fields are known; `content_metadata_source` identifies a provider observation or `unknown`. These observations do not renew expiry. A passed deadline alone does not prove content is unavailable.
55
+
56
+ Terminal `dvm status` can replay a saved outcome and receipt offline (`source: "local"`), so its current content metadata is unknown. Use `dvm status --messages` for a fresh authenticated read. Message commands make a separate status read after retrieving messages, bounded to at most five seconds; a failed observation leaves metadata unknown and preserves the messages. Content can change between these reads.
57
+
58
+ Save output before automatic expiry with `dvm messages <job-id> --no-stream > messages.json`. For a portable job without a local record, retain the original `--endpoint` and `--job-token` options before the redirection, or keep `DVM_JOB_ENDPOINT` and `DVM_JOB_TOKEN` set. Never copy the token into shared output or logs. A job already saved in the local record can use the command without those overrides. `--human` retains the existing artifact saves to private temporary files at the printed paths. Unavailable provider content does not remove existing local saves or stored receipts; verify the latter offline with `dvm receipts verify <job-id>`. A no-expiry observation does not promise permanent availability.
59
+
60
+ ### Durable local wallet history
61
+
62
+ `dvm wallet history` lists budget charges, credit draws, completed refunds, expired credit losses, and active recovery, newest first. Confirmed spending and completed credit history have no automatic expiry. Older entries already removed by an earlier release cannot be reconstructed. Budget limits still use rolling windows.
63
+
64
+ Filter with `--today`, `--since <date-or-duration>`, `--endpoint <url>`, or `--kind <kind>`. Kinds are `job`, `float_fund`, `credit_fund`, `credit_draw`, `completed_refund`, `expired_credit_loss`, and `active_recovery`. `--limit` defaults to 50. Equal timestamps sort by descending row ID. Repeat the same filters with `--cursor <next_cursor>` to continue; if matching local records change, the command refuses the continuation and asks you to restart. `--offset` is a convenience for unchanged records. Each invocation reads the ledger, active recovery, and the completed SDK journal through 100-record snapshot pages; output pagination does not bound total archive scanning or memory use.
65
+
66
+ `total_usd` sums budget charges on the displayed page, counting funding once. Credit draws, refunds, losses, and active recovery do not add another wallet outflow. Legacy `msats` values are BTC-equivalent budget valuations, not evidence of native Bitcoin settlement. Native rail, currency, amount, fee, and collection time remain unknown when the saved evidence cannot establish them. `active_recovery` means unresolved, never refunded.
67
+
68
+ `dvm credit receipts <dvm> --export` writes JSONL bundles from both active reclaim evidence and archived completed refunds, offline. Existing top-level `drain_id`, `credit_id`, `endpoint`, `caller_pubkey`, `collected_at`, `receipts`, and optional `builder` remain. Bundles add native settlement fields, unsigned local `settled_at` observations, outcome, and fresh offline verification provenance. Receipt signatures and the pinned builder advertisement establish receipt authenticity; local settlement markers and fees are separate observations. Unknown fields stay `null`. No wallet keys, bearer proofs, or unresolved recovery credentials are exported. Unsupported signed artifact fields cause export to fail before emitting bundles; `--drain-id` can select a supported bundle. `--export` takes precedence over `--refetch` and never fetches a replacement anchor.
@@ -10,9 +10,9 @@ import {
10
10
  resolveRpcHttpTransportOptions,
11
11
  resolveRpcOverride,
12
12
  updateConfig
13
- } from "./chunk-2TKOJBBB.js";
13
+ } from "./chunk-4KINCBHL.js";
14
14
 
15
- // node_modules/@dvmkit/sdk/dist/chunk-YYQG4R7T.js
15
+ // node_modules/@dvmkit/sdk/dist/chunk-GFY5FRX3.js
16
16
  var TEMPO_USDC_MAINNET = "0x20C000000000000000000000b9537d11c60E8b50";
17
17
  var TEMPO_CHAIN_ID = 4217;
18
18
  var TEMPO_MODERATO_CHAIN_ID = 42431;
@@ -100,7 +100,7 @@ async function generateTempoKey(opts = {}) {
100
100
  );
101
101
  }
102
102
  if (existing && opts.force) {
103
- const { assertTempoWalletIdle } = await import("./tempo-lifecycle-TJ62A7UX-OLLWSS3I.js");
103
+ const { assertTempoWalletIdle } = await import("./tempo-lifecycle-ZBBLFBMH-HWI4PLYP.js");
104
104
  await assertTempoWalletIdle("replace");
105
105
  }
106
106
  const { privateKeyToAccount, generatePrivateKey } = await import("./accounts-2WZE4N5F.js");
@@ -1592,55 +1592,10 @@ var require_proper_lockfile = __commonJS({
1592
1592
  }
1593
1593
  });
1594
1594
 
1595
- // node_modules/@dvmkit/sdk/dist/chunk-MKI6OVW4.js
1595
+ // node_modules/@dvmkit/sdk/dist/chunk-CZULM42S.js
1596
1596
  import { homedir } from "os";
1597
1597
  import { join } from "path";
1598
1598
  import { chmodSync, mkdirSync, statSync } from "fs";
1599
- var DvmError = class extends Error {
1600
- constructor(code, message, hint, data, display, proseSources) {
1601
- super(message);
1602
- this.code = code;
1603
- this.hint = hint;
1604
- this.data = data;
1605
- this.display = display;
1606
- this.proseSources = proseSources;
1607
- this.name = "DvmError";
1608
- }
1609
- code;
1610
- hint;
1611
- data;
1612
- display;
1613
- proseSources;
1614
- };
1615
- function providerProseSources(...sources) {
1616
- const provenance = {};
1617
- for (const source of sources) {
1618
- if (!source) continue;
1619
- for (const field of ["message", "hint", "display"]) {
1620
- if (typeof source[field] === "string") provenance[field] = "provider";
1621
- }
1622
- }
1623
- return Object.keys(provenance).length > 0 ? provenance : void 0;
1624
- }
1625
- function isAbortError(err) {
1626
- return err instanceof Error && (err.name === "AbortError" || err.name === "TimeoutError");
1627
- }
1628
- function transportErrorCode(err) {
1629
- let current = err;
1630
- const seen = /* @__PURE__ */ new Set();
1631
- for (let depth = 0; depth < 5 && isErrorLike(current) && !seen.has(current); depth++) {
1632
- seen.add(current);
1633
- const code = current.code;
1634
- if (typeof code === "string" && /^(?:E[A-Z0-9_]{1,63}|UND_ERR_[A-Z0-9_]{1,63})$/.test(code)) {
1635
- return code;
1636
- }
1637
- current = current.cause;
1638
- }
1639
- return void 0;
1640
- }
1641
- function isErrorLike(value) {
1642
- return (typeof value === "object" || typeof value === "function") && value !== null;
1643
- }
1644
1599
  var CONFIG_DIR = process.env.DVM_CONFIG_DIR ?? join(homedir(), ".dvm");
1645
1600
  var CONFIG_FILE = join(CONFIG_DIR, "config.json");
1646
1601
  var CONFIG_BACKUP_FILE = join(CONFIG_DIR, "config.json.bak");
@@ -1745,6 +1700,53 @@ function resolveRpcHttpTransportOptions(source, envValue) {
1745
1700
  return { fetchOptions: { headers } };
1746
1701
  }
1747
1702
 
1703
+ // node_modules/@dvmkit/sdk/dist/chunk-LIRAHP7B.js
1704
+ var DvmError = class extends Error {
1705
+ constructor(code, message, hint, data, display, proseSources) {
1706
+ super(message);
1707
+ this.code = code;
1708
+ this.hint = hint;
1709
+ this.data = data;
1710
+ this.display = display;
1711
+ this.proseSources = proseSources;
1712
+ this.name = "DvmError";
1713
+ }
1714
+ code;
1715
+ hint;
1716
+ data;
1717
+ display;
1718
+ proseSources;
1719
+ };
1720
+ function providerProseSources(...sources) {
1721
+ const provenance = {};
1722
+ for (const source of sources) {
1723
+ if (!source) continue;
1724
+ for (const field of ["message", "hint", "display"]) {
1725
+ if (typeof source[field] === "string") provenance[field] = "provider";
1726
+ }
1727
+ }
1728
+ return Object.keys(provenance).length > 0 ? provenance : void 0;
1729
+ }
1730
+ function isAbortError(err) {
1731
+ return err instanceof Error && (err.name === "AbortError" || err.name === "TimeoutError");
1732
+ }
1733
+ function transportErrorCode(err) {
1734
+ let current = err;
1735
+ const seen = /* @__PURE__ */ new Set();
1736
+ for (let depth = 0; depth < 5 && isErrorLike(current) && !seen.has(current); depth++) {
1737
+ seen.add(current);
1738
+ const code = current.code;
1739
+ if (typeof code === "string" && /^(?:E[A-Z0-9_]{1,63}|UND_ERR_[A-Z0-9_]{1,63})$/.test(code)) {
1740
+ return code;
1741
+ }
1742
+ current = current.cause;
1743
+ }
1744
+ return void 0;
1745
+ }
1746
+ function isErrorLike(value) {
1747
+ return (typeof value === "object" || typeof value === "function") && value !== null;
1748
+ }
1749
+
1748
1750
  // node_modules/@noble/hashes/utils.js
1749
1751
  function isBytes(a) {
1750
1752
  return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
@@ -4279,7 +4281,7 @@ var schnorr = /* @__PURE__ */ (() => {
4279
4281
  };
4280
4282
  })();
4281
4283
 
4282
- // node_modules/@dvmkit/sdk/dist/chunk-MG67KXU7.js
4284
+ // node_modules/@dvmkit/sdk/dist/chunk-MZRJR2CW.js
4283
4285
  var import_proper_lockfile = __toESM(require_proper_lockfile(), 1);
4284
4286
  import {
4285
4287
  appendFileSync,
@@ -5068,10 +5070,6 @@ function isOpaqueToken(segment) {
5068
5070
  }
5069
5071
 
5070
5072
  export {
5071
- DvmError,
5072
- providerProseSources,
5073
- isAbortError,
5074
- transportErrorCode,
5075
5073
  CONFIG_DIR,
5076
5074
  CONFIG_FILE,
5077
5075
  CONFIG_BACKUP_FILE,
@@ -5101,6 +5099,10 @@ export {
5101
5099
  repairConfigDirMode,
5102
5100
  resolveRpcOverride,
5103
5101
  resolveRpcHttpTransportOptions,
5102
+ DvmError,
5103
+ providerProseSources,
5104
+ isAbortError,
5105
+ transportErrorCode,
5104
5106
  anumber,
5105
5107
  abytes,
5106
5108
  ahash,
@@ -4,9 +4,9 @@ const require = __dvmCreateRequire(import.meta.url);
4
4
  import {
5
5
  diagnosticConsole,
6
6
  withSdkInitLock
7
- } from "./chunk-PRN4FHDY.js";
7
+ } from "./chunk-TZWZTS37.js";
8
8
 
9
- // node_modules/@dvmkit/sdk/dist/chunk-LHN75BTX.js
9
+ // node_modules/@dvmkit/sdk/dist/chunk-Z4ZT5LNT.js
10
10
  import { randomUUID } from "crypto";
11
11
  var ENDPOINTS = {
12
12
  job_terminal: "/_internal/job-terminal",
@@ -39,14 +39,16 @@ var PLATFORM_REPORT_TABLE_COLUMNS = [
39
39
  ];
40
40
  var RevenueReporter = class _RevenueReporter {
41
41
  // 24h of failed retries
42
- constructor(db, platformUrl, platformToken) {
42
+ constructor(db, platformUrl, platformToken, hostedObligations) {
43
43
  this.db = db;
44
44
  this.platformUrl = platformUrl;
45
45
  this.platformToken = platformToken;
46
+ this.hostedObligations = hostedObligations;
46
47
  }
47
48
  db;
48
49
  platformUrl;
49
50
  platformToken;
51
+ hostedObligations;
50
52
  retryTimer = null;
51
53
  static RETRY_INTERVAL_MS = 3e4;
52
54
  static MAX_BACKOFF_MS = 3e5;
@@ -189,8 +191,44 @@ var RevenueReporter = class _RevenueReporter {
189
191
  * loop redelivers freely.
190
192
  */
191
193
  async enqueuePayout(payload, tx) {
194
+ if (this.hostedObligations && (payload.rail === "x402" || payload.rail === "tempo") && await this.hostedObligations.hasCompleteHistory(tx ?? this.db)) {
195
+ throw new Error("Hosted channel payout requires its original settlement obligation");
196
+ }
192
197
  await this.insertPending(tx ?? this.db, "payout", payload);
193
198
  }
199
+ async enqueueHostedPayout(payload, obligationIds, tx) {
200
+ if (!this.hostedObligations || payload.rail !== "x402" && payload.rail !== "tempo") {
201
+ throw new Error("Hosted channel payout has no managed obligation recorder");
202
+ }
203
+ const enqueue = async (query) => {
204
+ if (await this.hostedObligations.hasOriginalReport(
205
+ obligationIds,
206
+ payload.payoutId,
207
+ payload,
208
+ query
209
+ )) return;
210
+ const reportId = await this.insertPending(query, "payout", payload);
211
+ await this.hostedObligations.queueReport(
212
+ obligationIds,
213
+ payload.payoutId,
214
+ reportId,
215
+ payload,
216
+ query
217
+ );
218
+ };
219
+ if (tx) return enqueue(tx);
220
+ const client = await this.db.connect();
221
+ try {
222
+ await client.query("BEGIN");
223
+ await enqueue(client);
224
+ await client.query("COMMIT");
225
+ } catch (error) {
226
+ await client.query("ROLLBACK").catch(() => void 0);
227
+ throw error;
228
+ } finally {
229
+ client.release();
230
+ }
231
+ }
194
232
  /**
195
233
  * Report one landed payout on its own and try to deliver it at once — the
196
234
  * live Tempo settlement, which has no dvmkit transaction to join. Durable
@@ -519,6 +557,12 @@ var RevenueReporter = class _RevenueReporter {
519
557
  }
520
558
  }
521
559
  async enqueue(kind, payload, label) {
560
+ if (kind === "payout" && this.hostedObligations) {
561
+ const rail = payload.rail;
562
+ if ((rail === "x402" || rail === "tempo") && await this.hostedObligations.hasCompleteHistory()) {
563
+ throw new Error("Hosted channel payout requires its original settlement obligation");
564
+ }
565
+ }
522
566
  const id = await this.insertPending(this.db, kind, payload);
523
567
  void this.attemptDelivery(id, payload, kind, label).catch(() => {
524
568
  });
@@ -533,6 +577,9 @@ var RevenueReporter = class _RevenueReporter {
533
577
  return id;
534
578
  }
535
579
  async attemptDelivery(id, payload, kind, label) {
580
+ if (kind === "payout" && this.hostedObligations && (payload.rail === "x402" || payload.rail === "tempo")) {
581
+ await this.hostedObligations.assertReportReady(id, payload);
582
+ }
536
583
  const url = `${this.platformUrl}${ENDPOINTS[kind]}`;
537
584
  let res;
538
585
  try {
@@ -553,7 +600,24 @@ var RevenueReporter = class _RevenueReporter {
553
600
  throw err;
554
601
  }
555
602
  if (res.ok) {
556
- await this.db.query(`DELETE FROM ${PENDING_DVM_REPORTS_TABLE} WHERE id = $1`, [id]);
603
+ if (this.hostedObligations && kind === "payout") {
604
+ const client = await this.db.connect();
605
+ try {
606
+ await client.query("BEGIN");
607
+ const rail = payload.rail;
608
+ const requireLinked = (rail === "x402" || rail === "tempo") && await this.hostedObligations.hasCompleteHistory(client);
609
+ await this.hostedObligations.acknowledgeDelivered(id, client, requireLinked);
610
+ await client.query(`DELETE FROM ${PENDING_DVM_REPORTS_TABLE} WHERE id = $1`, [id]);
611
+ await client.query("COMMIT");
612
+ } catch (error) {
613
+ await client.query("ROLLBACK").catch(() => void 0);
614
+ throw error;
615
+ } finally {
616
+ client.release();
617
+ }
618
+ } else {
619
+ await this.db.query(`DELETE FROM ${PENDING_DVM_REPORTS_TABLE} WHERE id = $1`, [id]);
620
+ }
557
621
  diagnosticConsole.log(`[revenue-reporter] reported ${kind} ${label}`);
558
622
  return;
559
623
  }
@@ -0,0 +1,150 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __dvmCreateRequire } from "node:module";
3
+ const require = __dvmCreateRequire(import.meta.url);
4
+ import {
5
+ Assets_exports,
6
+ Assets_exports2,
7
+ AuthorizationConfigSchema,
8
+ AuthorizationPayloadSchema,
9
+ Chains_exports,
10
+ ChargePayloadSchema,
11
+ ChargeRequestInputSchema,
12
+ ChargeRequestSchema,
13
+ MethodDetailsSchema,
14
+ Methods_exports,
15
+ Types_exports as Types_exports2,
16
+ authorizationDomain,
17
+ authorizationTypes,
18
+ challengeHash,
19
+ charge,
20
+ chargeIntent,
21
+ credentialTypes,
22
+ eip3009,
23
+ evmNetworkPrefix as evmNetworkPrefix2,
24
+ networkOf,
25
+ paymentMethod as paymentMethod2,
26
+ toSource
27
+ } from "./chunk-FL2ICZW5.js";
28
+ import {
29
+ ExactEip3009PayloadSchema,
30
+ ExactPayloadSchema,
31
+ ExactPermit2PayloadSchema,
32
+ ExactTransferSchema,
33
+ ExtensionSchema,
34
+ ExtensionsSchema,
35
+ Header_exports,
36
+ PaymentPayloadSchema,
37
+ PaymentRequiredSchema,
38
+ PaymentRequirementsSchema,
39
+ ResourceInfoSchema,
40
+ SettleResponseSchema,
41
+ Types_exports,
42
+ VerifyResponseSchema,
43
+ assetTransferMethods,
44
+ constantTimeEqual,
45
+ evmNetworkPrefix,
46
+ exactIntent,
47
+ paymentMethod,
48
+ paymentRequiredHeader,
49
+ paymentResponseHeader,
50
+ paymentSignatureHeader,
51
+ schemes,
52
+ syntheticChallengeIdPrefix,
53
+ toPaymentRequirements,
54
+ versions
55
+ } from "./chunk-WTM2EICO.js";
56
+ import {
57
+ Base64_exports
58
+ } from "./chunk-EZHT2RLJ.js";
59
+ import {
60
+ Hash_exports
61
+ } from "./chunk-LH3QPVN6.js";
62
+ import {
63
+ Bytes_exports
64
+ } from "./chunk-F55NNH2F.js";
65
+ import {
66
+ __export
67
+ } from "./chunk-IYHTITNZ.js";
68
+
69
+ // node_modules/mppx/dist/BodyDigest.js
70
+ var BodyDigest_exports = {};
71
+ __export(BodyDigest_exports, {
72
+ compute: () => compute,
73
+ verify: () => verify
74
+ });
75
+ function compute(body) {
76
+ const str = typeof body === "object" ? JSON.stringify(body) : body;
77
+ const bytes = Bytes_exports.fromString(str);
78
+ const hash = Hash_exports.sha256(bytes, { as: "Bytes" });
79
+ const base64 = Base64_exports.fromBytes(hash);
80
+ return `sha-256=${base64}`;
81
+ }
82
+ function verify(digest, body) {
83
+ return constantTimeEqual(compute(body), digest);
84
+ }
85
+
86
+ // node_modules/mppx/dist/evm/index.js
87
+ var evm_exports = {};
88
+ __export(evm_exports, {
89
+ Assets: () => Assets_exports2,
90
+ AuthorizationConfigSchema: () => AuthorizationConfigSchema,
91
+ AuthorizationPayloadSchema: () => AuthorizationPayloadSchema,
92
+ Chains: () => Chains_exports,
93
+ ChargePayloadSchema: () => ChargePayloadSchema,
94
+ ChargeRequestInputSchema: () => ChargeRequestInputSchema,
95
+ ChargeRequestSchema: () => ChargeRequestSchema,
96
+ MethodDetailsSchema: () => MethodDetailsSchema,
97
+ Methods: () => Methods_exports,
98
+ Types: () => Types_exports2,
99
+ assets: () => Assets_exports2,
100
+ authorizationDomain: () => authorizationDomain,
101
+ authorizationTypes: () => authorizationTypes,
102
+ chains: () => Chains_exports,
103
+ challengeHash: () => challengeHash,
104
+ charge: () => charge,
105
+ chargeIntent: () => chargeIntent,
106
+ credentialTypes: () => credentialTypes,
107
+ eip3009: () => eip3009,
108
+ evmNetworkPrefix: () => evmNetworkPrefix2,
109
+ networkOf: () => networkOf,
110
+ paymentMethod: () => paymentMethod2,
111
+ toSource: () => toSource
112
+ });
113
+
114
+ // node_modules/mppx/dist/x402/index.js
115
+ var x402_exports = {};
116
+ __export(x402_exports, {
117
+ Assets: () => Assets_exports,
118
+ ExactEip3009PayloadSchema: () => ExactEip3009PayloadSchema,
119
+ ExactPayloadSchema: () => ExactPayloadSchema,
120
+ ExactPermit2PayloadSchema: () => ExactPermit2PayloadSchema,
121
+ ExactTransferSchema: () => ExactTransferSchema,
122
+ ExtensionSchema: () => ExtensionSchema,
123
+ ExtensionsSchema: () => ExtensionsSchema,
124
+ Header: () => Header_exports,
125
+ PaymentPayloadSchema: () => PaymentPayloadSchema,
126
+ PaymentRequiredSchema: () => PaymentRequiredSchema,
127
+ PaymentRequirementsSchema: () => PaymentRequirementsSchema,
128
+ ResourceInfoSchema: () => ResourceInfoSchema,
129
+ SettleResponseSchema: () => SettleResponseSchema,
130
+ Types: () => Types_exports,
131
+ VerifyResponseSchema: () => VerifyResponseSchema,
132
+ assetTransferMethods: () => assetTransferMethods,
133
+ assets: () => Assets_exports,
134
+ evmNetworkPrefix: () => evmNetworkPrefix,
135
+ exactIntent: () => exactIntent,
136
+ paymentMethod: () => paymentMethod,
137
+ paymentRequiredHeader: () => paymentRequiredHeader,
138
+ paymentResponseHeader: () => paymentResponseHeader,
139
+ paymentSignatureHeader: () => paymentSignatureHeader,
140
+ schemes: () => schemes,
141
+ syntheticChallengeIdPrefix: () => syntheticChallengeIdPrefix,
142
+ toPaymentRequirements: () => toPaymentRequirements,
143
+ versions: () => versions
144
+ });
145
+
146
+ export {
147
+ BodyDigest_exports,
148
+ evm_exports,
149
+ x402_exports
150
+ };