@dvmkit/sdk 0.3.1-rc.10 → 0.3.2-rc.10

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 (47) hide show
  1. package/dist/{chunk-MD3H3BF7.js → chunk-2A33VHYM.js} +1 -1
  2. package/dist/{chunk-AJNFXR7J.js → chunk-3KYLYVY4.js} +4 -1
  3. package/dist/{chunk-YO56VCTQ.js → chunk-BWGRKGKG.js} +190 -75
  4. package/dist/{chunk-MMCE7XSR.js → chunk-C2AGARLM.js} +1 -13
  5. package/dist/chunk-D42FMCLJ.js +1423 -0
  6. package/dist/{chunk-QX52F6IB.js → chunk-DSVGYW3B.js} +7 -4
  7. package/dist/{chunk-CC3UY6OS.js → chunk-HNIKSOI2.js} +378 -373
  8. package/dist/{chunk-4A2RAKCW.js → chunk-IBDDIG4K.js} +7 -3
  9. package/dist/{chunk-D7YQYLLM.js → chunk-J7PW2U6P.js} +1 -1
  10. package/dist/{chunk-FDKRXOZO.js → chunk-KL4C3LQV.js} +57 -49
  11. package/dist/{chunk-VA7GT6C6.js → chunk-LHN75BTX.js} +56 -53
  12. package/dist/{chunk-C3MTFLC6.js → chunk-M4RSKQAV.js} +14 -12
  13. package/dist/{chunk-U5VNEALI.js → chunk-PPHE7XUU.js} +1 -1
  14. package/dist/{chunk-GAIPXGM3.js → chunk-SP42AI5T.js} +1 -1
  15. package/dist/{chunk-N5B66UOS.js → chunk-U2EYIPFX.js} +4 -1
  16. package/dist/{chunk-H2MEFVH6.js → chunk-UQCK5VMA.js} +7 -4
  17. package/dist/{chunk-XMDQOXHO.js → chunk-Y7JZLO5J.js} +4 -1
  18. package/dist/{chunk-HHTL3ZFT.js → chunk-YEO5GW7U.js} +16 -13
  19. package/dist/{chunk-O6D72KYA.js → chunk-YRDA7EWN.js} +1 -1
  20. package/dist/{chunk-VIVXB4CD.js → chunk-YYQG4R7T.js} +1 -1
  21. package/dist/{chunk-FPOLJRBF.js → chunk-Z3EHBW2G.js} +2 -2
  22. package/dist/{chunk-2D75MNNG.js → chunk-ZHTUITDW.js} +8 -5
  23. package/dist/{chunk-XZ7LW4S5.js → chunk-ZUTI56L7.js} +20 -16
  24. package/dist/{credit-ledger-MHA652TV.js → credit-ledger-4CCHRJE2.js} +3 -2
  25. package/dist/index.js +4 -3
  26. package/dist/internal/caller.d.ts +32 -3
  27. package/dist/internal/caller.js +22 -12
  28. package/dist/internal/index.js +1 -1
  29. package/dist/internal/server.js +16 -15
  30. package/dist/memory-credit-ledger-TERNM5T6.js +10 -0
  31. package/dist/{mpp-setup-MPP3ST5X.js → mpp-setup-OQ4OV7A5.js} +2 -1
  32. package/dist/{payout-reporter-KEMUXEUO.js → payout-reporter-TQ3YIFLZ.js} +2 -1
  33. package/dist/{postgres-consumed-credential-store-6N2V5MJN.js → postgres-consumed-credential-store-LFQNC7LD.js} +4 -1
  34. package/dist/{postgres-job-store-VE2JRUEC.js → postgres-job-store-FGOJ7UIX.js} +2 -1
  35. package/dist/{postgres-replay-store-ZF4JNZOW.js → postgres-replay-store-DFQSXPCG.js} +2 -1
  36. package/dist/{pricing-MU5GNUJZ.js → pricing-UJAPJLOM.js} +2 -1
  37. package/dist/{revenue-reporter-O75BGYFK.js → revenue-reporter-VN4WYN74.js} +2 -1
  38. package/dist/server/index.d.ts +1 -1
  39. package/dist/server/index.js +112 -112
  40. package/dist/{tempo-charge-store-SDTUNTKA.js → tempo-charge-store-EA66LSVJ.js} +2 -1
  41. package/dist/{tempo-lifecycle-G5SB4HFC.js → tempo-lifecycle-TJ62A7UX.js} +3 -3
  42. package/dist/{tempo-session-store-WF3VZXNF.js → tempo-session-store-65NA77KJ.js} +3 -2
  43. package/dist/{tempo-wallet-ZFNUDFVO.js → tempo-wallet-RCGBBAJH.js} +1 -1
  44. package/dist/testing/index.js +4 -3
  45. package/dist/{x402-CI6PSHNO.js → x402-S47Q77UE.js} +2 -2
  46. package/package.json +1 -1
  47. package/dist/memory-credit-ledger-BYBATRN3.js +0 -9
@@ -17,7 +17,8 @@ import {
17
17
  parseMppMethodsAllowlist,
18
18
  resolveTempoNetwork,
19
19
  wrapMppx
20
- } from "./chunk-XZ7LW4S5.js";
20
+ } from "./chunk-ZUTI56L7.js";
21
+ import "./chunk-D42FMCLJ.js";
21
22
  export {
22
23
  MPPX_HMAC_MISMATCH_REASON,
23
24
  TEMPO_MAINNET_CHAIN_ID,
@@ -3,8 +3,9 @@ import {
3
3
  PAYOUT_SNAPSHOT_INTERVAL_MS,
4
4
  PayoutReporter,
5
5
  PostgresX402BatchStore
6
- } from "./chunk-XMDQOXHO.js";
6
+ } from "./chunk-Y7JZLO5J.js";
7
7
  import "./chunk-COYKJRMM.js";
8
+ import "./chunk-D42FMCLJ.js";
8
9
  export {
9
10
  MemoryX402BatchStore,
10
11
  PAYOUT_SNAPSHOT_INTERVAL_MS,
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  withSdkInitLock
3
3
  } from "./chunk-COYKJRMM.js";
4
+ import {
5
+ diagnosticConsole
6
+ } from "./chunk-D42FMCLJ.js";
4
7
 
5
8
  // src/sdk/server/postgres-consumed-credential-store.ts
6
9
  var DEFAULT_TABLE_NAME = "consumed_credentials";
@@ -63,7 +66,7 @@ var PostgresConsumedCredentialStore = class {
63
66
  }
64
67
  gcSweep(now) {
65
68
  this.pool.query(`DELETE FROM ${this.tableName} WHERE expires_at < $1`, [now]).catch((err) => {
66
- console.error("PostgresConsumedCredentialStore GC sweep failed:", err);
69
+ diagnosticConsole.error("PostgresConsumedCredentialStore GC sweep failed:", err);
67
70
  });
68
71
  }
69
72
  };
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  PostgresJobStore
3
- } from "./chunk-HHTL3ZFT.js";
3
+ } from "./chunk-YEO5GW7U.js";
4
4
  import "./chunk-COYKJRMM.js";
5
+ import "./chunk-D42FMCLJ.js";
5
6
  export {
6
7
  PostgresJobStore
7
8
  };
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  PostgresReplayStore
3
- } from "./chunk-AJNFXR7J.js";
3
+ } from "./chunk-3KYLYVY4.js";
4
4
  import "./chunk-COYKJRMM.js";
5
+ import "./chunk-D42FMCLJ.js";
5
6
  export {
6
7
  PostgresReplayStore
7
8
  };
@@ -12,7 +12,7 @@ import {
12
12
  resolveFxSourceFromEnv,
13
13
  validateCurrency,
14
14
  warmFxSnapshot
15
- } from "./chunk-4A2RAKCW.js";
15
+ } from "./chunk-IBDDIG4K.js";
16
16
  import {
17
17
  InvalidFxRateError,
18
18
  InvalidUsdPriceError,
@@ -23,6 +23,7 @@ import {
23
23
  roundUsd,
24
24
  satsToFiat
25
25
  } from "./chunk-AT6V3SY7.js";
26
+ import "./chunk-D42FMCLJ.js";
26
27
  export {
27
28
  DEFAULT_FX_CURRENCIES,
28
29
  DEFAULT_FX_RATE_SOURCE,
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  RevenueReporter
3
- } from "./chunk-VA7GT6C6.js";
3
+ } from "./chunk-LHN75BTX.js";
4
4
  import "./chunk-COYKJRMM.js";
5
+ import "./chunk-D42FMCLJ.js";
5
6
  export {
6
7
  RevenueReporter
7
8
  };
@@ -68,8 +68,8 @@ declare const CREDIT_REQUEST_SCHEMA: z.ZodObject<{
68
68
  fund_id: z.ZodString;
69
69
  commitment: z.ZodOptional<z.ZodString>;
70
70
  method: z.ZodOptional<z.ZodEnum<{
71
- tempo: "tempo";
72
71
  lightning: "lightning";
72
+ tempo: "tempo";
73
73
  }>>;
74
74
  intent: z.ZodOptional<z.ZodEnum<{
75
75
  charge: "charge";