@dvmkit/sdk 0.16.2 → 0.17.1
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/{chunk-XSF5YTEY.js → chunk-2PN4DKZW.js} +1 -1
- package/dist/{chunk-F2LNWZCV.js → chunk-3KRFFLAT.js} +1 -1
- package/dist/{chunk-V73WRF46.js → chunk-5CCQEAQV.js} +1 -1
- package/dist/{chunk-4IFZHJQK.js → chunk-5RLNRLLB.js} +1 -1
- package/dist/{chunk-7QGS27UT.js → chunk-72A4PHLD.js} +1 -1
- package/dist/{chunk-XBQTFOIT.js → chunk-7RWE6ELV.js} +1 -1
- package/dist/{chunk-N4SBDUVD.js → chunk-A6EY4K46.js} +1 -1
- package/dist/{chunk-5U2RG3ZW.js → chunk-ALTE7I6C.js} +5 -0
- package/dist/{chunk-K4ZQE7IB.js → chunk-B5MPLDRC.js} +2 -2
- package/dist/{chunk-PP5WHB6T.js → chunk-C5XNZLZ7.js} +1 -1
- package/dist/{chunk-2UZOJRRS.js → chunk-CVN2YNMG.js} +1 -1
- package/dist/{chunk-MD34LE6M.js → chunk-CXRI4N4Y.js} +1 -1
- package/dist/{chunk-ELNWQS24.js → chunk-EIDRCGTY.js} +1 -1
- package/dist/{chunk-ICHC4VDZ.js → chunk-KRX7VNBG.js} +1 -1
- package/dist/{chunk-TN6MWTZI.js → chunk-LY2JYSJS.js} +1 -1
- package/dist/{chunk-7N5VDCG3.js → chunk-MWDUGMN2.js} +2 -2
- package/dist/{chunk-FRGKANTZ.js → chunk-ORBWKYDE.js} +1 -1
- package/dist/{chunk-VQHBJXBL.js → chunk-QTKGFG3I.js} +1 -1
- package/dist/{chunk-PBT3H2LZ.js → chunk-RX6FT7XA.js} +1 -1
- package/dist/{chunk-OYBSDJR6.js → chunk-VKFR5PCW.js} +2 -2
- package/dist/{chunk-V4CBI5HB.js → chunk-Y6JJDOGO.js} +1 -1
- package/dist/{chunk-KERFCBT7.js → chunk-YRQMDRI4.js} +502 -129
- package/dist/{content-retention-BASsjgKw.d.ts → content-retention-B_hOQS36.d.ts} +1 -1
- package/dist/{credit-ledger-VWZ5NP7V.js → credit-ledger-5HMJ6VUX.js} +3 -3
- package/dist/{credit-menu-BfXaeHgR.d.ts → credit-menu-D-h0zJCZ.d.ts} +42 -10
- package/dist/{fx-BmvWGISH.d.ts → fx-CpqQaIfg.d.ts} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -4
- package/dist/internal/caller.d.ts +14 -8
- package/dist/internal/caller.js +7 -7
- package/dist/internal/server.d.ts +7 -7
- package/dist/internal/server.js +20 -20
- package/dist/{job-store-CA7u1nHV.d.ts → job-store-CgXT79tS.d.ts} +1 -1
- package/dist/{lightning-backend-BOcopzXk.d.ts → lightning-backend-B1hRUIOb.d.ts} +1 -1
- package/dist/{memory-credit-ledger-DZWRQGSF.js → memory-credit-ledger-ME6FH462.js} +4 -4
- package/dist/{mpp-setup-3NJY354I.js → mpp-setup-BLIYBORK.js} +3 -3
- package/dist/{payout-reporter-P3652TLG.js → payout-reporter-5QAHCYIO.js} +2 -2
- package/dist/{postgres-consumed-credential-store-S2CBQ4NO.js → postgres-consumed-credential-store-4PCJEZBD.js} +1 -1
- package/dist/{postgres-job-store-JRSG54VJ.js → postgres-job-store-E5GXLRB4.js} +2 -2
- package/dist/{postgres-replay-store-ZPILIJIW.js → postgres-replay-store-GH5AINQR.js} +2 -2
- package/dist/{pricing-3P7KAONY.js → pricing-JJYLTTWK.js} +3 -3
- package/dist/{revenue-reporter-2P3PWJJM.js → revenue-reporter-6XARUEG6.js} +2 -2
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +32 -31
- package/dist/{step-cache-BCRHimiY.d.ts → step-cache-Bezn-_ZL.d.ts} +41 -3
- package/dist/{tempo-charge-store-2LK6IDLS.js → tempo-charge-store-A3CDF7D5.js} +2 -2
- package/dist/{tempo-session-store-5MHCH3YW.js → tempo-session-store-EWBE5HJM.js} +3 -3
- package/dist/testing/index.d.ts +3 -3
- package/dist/testing/index.js +6 -6
- package/dist/{usd-B8_WMfHT.d.ts → usd-CJwU3-A4.d.ts} +1 -1
- package/dist/{x402-6T73AZQ6.js → x402-HVCUEWWU.js} +3 -3
- package/package.json +1 -1
|
@@ -69,6 +69,7 @@ var diagnostic_catalogue_v1_default = {
|
|
|
69
69
|
"cashu_mint_recovery_failed",
|
|
70
70
|
"cashu_mint_runtime_recovered",
|
|
71
71
|
"cashu_mint_runtime_sick",
|
|
72
|
+
"cashu_not_advertised",
|
|
72
73
|
"cashu_opts_env_ignored",
|
|
73
74
|
"cashu_refund_amount_unreported",
|
|
74
75
|
"ci_lane_report",
|
|
@@ -961,6 +962,10 @@ var diagnostic_catalogue_v1_default = {
|
|
|
961
962
|
"usdc"
|
|
962
963
|
],
|
|
963
964
|
booleanFields: [
|
|
965
|
+
"cashu_explicitly_excluded",
|
|
966
|
+
"cashu_lock_pubkey_missing",
|
|
967
|
+
"cashu_mode_missing",
|
|
968
|
+
"cashu_store_missing",
|
|
964
969
|
"client.capabilities_valid",
|
|
965
970
|
"client.protocol_version_valid",
|
|
966
971
|
"client.version_valid",
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-5UC7TOQC.js";
|
|
11
11
|
import {
|
|
12
12
|
applyRetryToPool
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EIDRCGTY.js";
|
|
14
14
|
import {
|
|
15
15
|
x402NetworkByCaip2
|
|
16
16
|
} from "./chunk-BPYMEMQX.js";
|
|
17
17
|
import {
|
|
18
18
|
diagnosticConsole
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ALTE7I6C.js";
|
|
20
20
|
|
|
21
21
|
// src/sdk/server/credit-ledger.ts
|
|
22
22
|
import { randomUUID } from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loggers
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LY2JYSJS.js";
|
|
4
4
|
import {
|
|
5
5
|
diagnosticConsole
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ALTE7I6C.js";
|
|
7
7
|
|
|
8
8
|
// src/sdk/server/mpp-setup.ts
|
|
9
9
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createX402FacilitatorAuthHeaders,
|
|
3
3
|
settleWithFacilitator,
|
|
4
4
|
verifyWithFacilitator
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3KRFFLAT.js";
|
|
6
6
|
import {
|
|
7
7
|
buildPaymentRequirements,
|
|
8
8
|
decodePayment,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-66HGCPBU.js";
|
|
16
16
|
import {
|
|
17
17
|
diagnosticConsole
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ALTE7I6C.js";
|
|
19
19
|
|
|
20
20
|
// src/lib/x402/verify.ts
|
|
21
21
|
async function verifyX402Payment(paymentHeader, config, requiredUsdcMicro, resource, btcUsdRate, exactVersions = { v1: true, v2: true }) {
|