@dvmkit/sdk 0.2.0-rc.9 → 0.3.0-rc.9

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 (58) hide show
  1. package/README.md +2 -0
  2. package/dist/{chunk-V7EVFLAK.js → chunk-2D75MNNG.js} +154 -523
  3. package/dist/{chunk-BIFLRKMO.js → chunk-2KGG5ORW.js} +1 -1
  4. package/dist/{chunk-5URG56JJ.js → chunk-A4CM2BD3.js} +18 -2
  5. package/dist/{chunk-FT6HTUM4.js → chunk-AJNFXR7J.js} +1 -1
  6. package/dist/{chunk-S3XAHZQY.js → chunk-COYKJRMM.js} +24 -3
  7. package/dist/{chunk-UP2F5RRT.js → chunk-D7YQYLLM.js} +1 -4
  8. package/dist/{chunk-OMIQMMME.js → chunk-FPOLJRBF.js} +3 -3
  9. package/dist/{chunk-QP53RWAD.js → chunk-HHTL3ZFT.js} +9 -6
  10. package/dist/{chunk-PCUQZDZA.js → chunk-LTAIBLS2.js} +537 -321
  11. package/dist/{chunk-JDT5LCJC.js → chunk-MD3H3BF7.js} +1 -1
  12. package/dist/{chunk-KSQEFVFJ.js → chunk-MMCE7XSR.js} +1 -1
  13. package/dist/{chunk-MRAGS5VP.js → chunk-N5B66UOS.js} +4 -16
  14. package/dist/{chunk-2ATUAUAO.js → chunk-O6D72KYA.js} +2 -2
  15. package/dist/{chunk-KXCKFIJI.js → chunk-QX52F6IB.js} +1 -1
  16. package/dist/{chunk-PHHAYRQV.js → chunk-U5VNEALI.js} +23 -10
  17. package/dist/{chunk-JLXYOV4Y.js → chunk-V5ZRATJH.js} +1 -1
  18. package/dist/{chunk-6GRIKOFB.js → chunk-VA7GT6C6.js} +5 -16
  19. package/dist/{chunk-O2X2CCKH.js → chunk-VIVXB4CD.js} +1 -1
  20. package/dist/{chunk-L67WTZX2.js → chunk-XMDQOXHO.js} +10 -33
  21. package/dist/{chunk-QT4ONTST.js → chunk-XRLKGCAW.js} +1 -1
  22. package/dist/{chunk-KMZXTBLA.js → chunk-XZ7LW4S5.js} +0 -1
  23. package/dist/{chunk-XQXJKJ3P.js → chunk-YO56VCTQ.js} +0 -4
  24. package/dist/{credit-ledger-5ZEJRI46.js → credit-ledger-MHA652TV.js} +2 -2
  25. package/dist/{credit-menu-D4Gcdgc4.d.ts → credit-menu-BlCL7gZx.d.ts} +175 -533
  26. package/dist/{fx-B0SLBe5x.d.ts → fx-DhyT1Cjh.d.ts} +1 -1
  27. package/dist/index.d.ts +5 -17
  28. package/dist/internal/caller.d.ts +109 -698
  29. package/dist/internal/caller.js +10 -12
  30. package/dist/internal/server.d.ts +17 -42
  31. package/dist/internal/server.js +16 -15
  32. package/dist/{job-store-B2uZvga4.d.ts → job-store-D3CcZp_g.d.ts} +6 -10
  33. package/dist/{lightning-backend-CQBnQgsT.d.ts → lightning-backend-BhsyrBLa.d.ts} +1 -15
  34. package/dist/{memory-credit-ledger-ZOH6C3N4.js → memory-credit-ledger-BYBATRN3.js} +3 -3
  35. package/dist/{mpp-secret-state-WNAQQ6K4.js → mpp-secret-state-B5GCILVH.js} +1 -1
  36. package/dist/{mpp-setup-IOJBF7DB.js → mpp-setup-MPP3ST5X.js} +1 -1
  37. package/dist/{payout-reporter-5PIRYFVQ.js → payout-reporter-KEMUXEUO.js} +2 -2
  38. package/dist/{postgres-consumed-credential-store-ISRHBMOU.js → postgres-consumed-credential-store-6N2V5MJN.js} +1 -1
  39. package/dist/postgres-job-store-VE2JRUEC.js +7 -0
  40. package/dist/postgres-kv-store-DXGTKXLU.js +7 -0
  41. package/dist/{postgres-replay-store-IZFLTTAC.js → postgres-replay-store-ZF4JNZOW.js} +2 -2
  42. package/dist/{processed-payment-store-FIDI3RNH.js → processed-payment-store-GKMAWOM3.js} +2 -2
  43. package/dist/revenue-reporter-O75BGYFK.js +7 -0
  44. package/dist/server/index.d.ts +37 -140
  45. package/dist/server/index.js +64 -127
  46. package/dist/{step-cache-CXg7ziML.d.ts → step-cache-v2yhyhSZ.d.ts} +359 -1112
  47. package/dist/{tempo-charge-store-76TDAF34.js → tempo-charge-store-SDTUNTKA.js} +2 -2
  48. package/dist/{tempo-lifecycle-DXM7QXJQ.js → tempo-lifecycle-G5SB4HFC.js} +4 -4
  49. package/dist/{tempo-session-store-2JNOKJGX.js → tempo-session-store-WF3VZXNF.js} +2 -2
  50. package/dist/{tempo-wallet-O67H5M4N.js → tempo-wallet-ZFNUDFVO.js} +1 -1
  51. package/dist/testing/index.d.ts +2 -2
  52. package/dist/testing/index.js +2 -2
  53. package/dist/{usd-BNDg1715.d.ts → usd-Cu9G6xv2.d.ts} +1 -1
  54. package/dist/{x402-7S2EFINY.js → x402-CI6PSHNO.js} +4 -4
  55. package/package.json +2 -2
  56. package/dist/postgres-job-store-OGQ6IT4U.js +0 -7
  57. package/dist/postgres-kv-store-D5E2EZ24.js +0 -7
  58. package/dist/revenue-reporter-NNCNRY4C.js +0 -7
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  PostgresTempoChargeStore
3
- } from "./chunk-MRAGS5VP.js";
3
+ } from "./chunk-N5B66UOS.js";
4
4
  import "./chunk-YG7G4DPZ.js";
5
- import "./chunk-S3XAHZQY.js";
5
+ import "./chunk-COYKJRMM.js";
6
6
  export {
7
7
  PostgresTempoChargeStore
8
8
  };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  assertTempoWalletIdle
3
- } from "./chunk-OMIQMMME.js";
4
- import "./chunk-O2X2CCKH.js";
5
- import "./chunk-KSQEFVFJ.js";
3
+ } from "./chunk-FPOLJRBF.js";
4
+ import "./chunk-VIVXB4CD.js";
5
+ import "./chunk-MMCE7XSR.js";
6
6
  import "./chunk-MG67KXU7.js";
7
- import "./chunk-5URG56JJ.js";
7
+ import "./chunk-A4CM2BD3.js";
8
8
  import "./chunk-MKI6OVW4.js";
9
9
  import "./chunk-FUJ36YDV.js";
10
10
  import "./chunk-AT6V3SY7.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PostgresTempoSessionStore,
3
3
  assertMonotonicTransition
4
- } from "./chunk-UP2F5RRT.js";
4
+ } from "./chunk-D7YQYLLM.js";
5
5
  import "./chunk-YG7G4DPZ.js";
6
- import "./chunk-S3XAHZQY.js";
6
+ import "./chunk-COYKJRMM.js";
7
7
  import "./chunk-C3MTFLC6.js";
8
8
  export {
9
9
  PostgresTempoSessionStore,
@@ -15,7 +15,7 @@ import {
15
15
  tempoTokenReference,
16
16
  tempoWrongAssetHint,
17
17
  tryResolveTempoAsset
18
- } from "./chunk-O2X2CCKH.js";
18
+ } from "./chunk-VIVXB4CD.js";
19
19
  import "./chunk-MG67KXU7.js";
20
20
  import "./chunk-MKI6OVW4.js";
21
21
  import "./chunk-FUJ36YDV.js";
@@ -1,5 +1,5 @@
1
- import { Y as JobReceipt, a1 as Message, a2 as MessageType, K as KVStore, L as Logger, u as ResponseContent, P as PaymentContent, S as SDKJobContext } from '../step-cache-CXg7ziML.js';
2
- import { c as StreamableJobStore, R as ReceiptIssuingStore, J as JobRecord, d as RequestIdClaim, e as RequestIdClaimResult, f as JobRetentionCursor, O as OutgoingMessage, A as AppendOutgoingOptions, P as PaymentCreditDelta, V as VerifyAndCreditResult, g as JobCounters } from '../job-store-B2uZvga4.js';
1
+ import { Y as JobReceipt, a1 as Message, a2 as MessageType, K as KVStore, L as Logger, u as ResponseContent, P as PaymentContent, S as SDKJobContext } from '../step-cache-v2yhyhSZ.js';
2
+ import { c as StreamableJobStore, R as ReceiptIssuingStore, J as JobRecord, d as RequestIdClaim, e as RequestIdClaimResult, f as JobRetentionCursor, O as OutgoingMessage, A as AppendOutgoingOptions, P as PaymentCreditDelta, V as VerifyAndCreditResult, g as JobCounters } from '../job-store-D3CcZp_g.js';
3
3
  import 'hono';
4
4
  import 'mppx';
5
5
  import '@x402/core/server';
@@ -5,10 +5,10 @@ import {
5
5
  JobCancelledError,
6
6
  MemoryJobStore,
7
7
  createInstrumentedFetch
8
- } from "../chunk-JDT5LCJC.js";
8
+ } from "../chunk-MD3H3BF7.js";
9
9
  import {
10
10
  createNoopLogger
11
- } from "../chunk-XQXJKJ3P.js";
11
+ } from "../chunk-YO56VCTQ.js";
12
12
  import "../chunk-66HGCPBU.js";
13
13
  import "../chunk-FUJ36YDV.js";
14
14
  import {
@@ -1,4 +1,4 @@
1
- import { C as Currency } from './step-cache-CXg7ziML.js';
1
+ import { C as Currency } from './step-cache-v2yhyhSZ.js';
2
2
 
3
3
  /**
4
4
  * Thrown by `fiatToSatsCeil` / `satsToFiat` when the supplied `ratePerBtc` is
@@ -10,12 +10,12 @@ import {
10
10
  saveX402Wallet,
11
11
  tryX402Payment,
12
12
  x402WrongAssetHint
13
- } from "./chunk-2ATUAUAO.js";
14
- import "./chunk-KSQEFVFJ.js";
13
+ } from "./chunk-O6D72KYA.js";
14
+ import "./chunk-MMCE7XSR.js";
15
15
  import "./chunk-MG67KXU7.js";
16
16
  import {
17
17
  verifyX402Payment
18
- } from "./chunk-BIFLRKMO.js";
18
+ } from "./chunk-2KGG5ORW.js";
19
19
  import "./chunk-BQ2NMWKE.js";
20
20
  import {
21
21
  X402_DEFAULT_FACILITATOR,
@@ -42,7 +42,7 @@ import {
42
42
  x402NetworkToCaip2,
43
43
  x402SupportedNetworksHint
44
44
  } from "./chunk-Z4BNLUZF.js";
45
- import "./chunk-5URG56JJ.js";
45
+ import "./chunk-A4CM2BD3.js";
46
46
  import "./chunk-MKI6OVW4.js";
47
47
  import "./chunk-66HGCPBU.js";
48
48
  import "./chunk-FUJ36YDV.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvmkit/sdk",
3
- "version": "0.2.0-rc.9",
3
+ "version": "0.3.0-rc.9",
4
4
  "description": "SDK for building accountless, pay-per-use Digital Vending Machines",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -72,7 +72,7 @@
72
72
  "@scure/bip39": "2.0.1",
73
73
  "@x402/core": "2.21.0",
74
74
  "@x402/evm": "2.21.0",
75
- "hono": "4.12.34",
75
+ "hono": "4.13.5",
76
76
  "jose": "6.2.1",
77
77
  "mppx": "0.8.15",
78
78
  "nostr-tools": "2.23.3",
@@ -1,7 +0,0 @@
1
- import {
2
- PostgresJobStore
3
- } from "./chunk-QP53RWAD.js";
4
- import "./chunk-S3XAHZQY.js";
5
- export {
6
- PostgresJobStore
7
- };
@@ -1,7 +0,0 @@
1
- import {
2
- PostgresKVStore
3
- } from "./chunk-JLXYOV4Y.js";
4
- import "./chunk-S3XAHZQY.js";
5
- export {
6
- PostgresKVStore
7
- };
@@ -1,7 +0,0 @@
1
- import {
2
- RevenueReporter
3
- } from "./chunk-6GRIKOFB.js";
4
- import "./chunk-S3XAHZQY.js";
5
- export {
6
- RevenueReporter
7
- };