@dvmkit/sdk 0.9.0 → 0.10.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.
- package/dist/{chunk-4VV7WACY.js → chunk-2XQLL6N6.js} +1 -1
- package/dist/{chunk-LCCG5HQM.js → chunk-3Q6FTZDB.js} +2 -2
- package/dist/{chunk-TRY7BJA4.js → chunk-3R7NQA3Z.js} +1 -1
- package/dist/{chunk-KGL3YMZA.js → chunk-AJ6UHXUA.js} +1 -1
- package/dist/{chunk-BAQRUYRL.js → chunk-EWZFANHJ.js} +1 -1
- package/dist/{chunk-K2MSIKMM.js → chunk-FFXXGCVG.js} +1 -1
- package/dist/{chunk-WLPLHXNP.js → chunk-JNECYURT.js} +1 -1
- package/dist/{chunk-TFDR2YP2.js → chunk-KFCEXCZM.js} +1 -1
- package/dist/{chunk-IYQQXEHV.js → chunk-LDIPVPKI.js} +1 -1
- package/dist/{chunk-QSZW2I5Y.js → chunk-M3T5JYDJ.js} +15 -8
- package/dist/{chunk-Q3VYRU5R.js → chunk-MB6R4XPZ.js} +1 -1
- package/dist/{chunk-IBX2ORBV.js → chunk-MMGSYMIC.js} +1 -1
- package/dist/{chunk-LFVIZH2G.js → chunk-MU3IE434.js} +278 -152
- package/dist/{chunk-OIP44KBB.js → chunk-QGNXYVBO.js} +47 -12
- package/dist/{chunk-73C4JN2E.js → chunk-QNKK7SPY.js} +273 -54
- package/dist/{chunk-YYRY32NR.js → chunk-STJBBVNL.js} +2 -2
- package/dist/{chunk-WB3E7KE7.js → chunk-VMHYGKWT.js} +1 -1
- package/dist/{chunk-GAZBBMAA.js → chunk-VTHYQCDB.js} +1 -1
- package/dist/{chunk-LW7KZQHG.js → chunk-VUGEEMLT.js} +1 -1
- package/dist/{chunk-HC4I7LAV.js → chunk-W3VGCNG6.js} +1 -1
- package/dist/{chunk-GODOH2AF.js → chunk-Y6DO5WSO.js} +1 -1
- package/dist/{chunk-ZBQKXAYK.js → chunk-YOSZIWC3.js} +1 -1
- package/dist/{content-retention-CVBYehRS.d.ts → content-retention-CrILCNxk.d.ts} +1 -1
- package/dist/{credit-ledger-CZQ56DYI.js → credit-ledger-4PZNAMDT.js} +3 -3
- package/dist/{credit-menu-QntEhZJS.d.ts → credit-menu-VwX_6KM7.d.ts} +4 -4
- package/dist/{fx-CMyNFenZ.d.ts → fx-BM5h4o5S.d.ts} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -4
- package/dist/internal/caller.d.ts +7 -7
- 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-qOD-FrQF.d.ts → job-store-92v8e1LQ.d.ts} +1 -1
- package/dist/{lightning-backend-DtdG6UT5.d.ts → lightning-backend-9oky_wJi.d.ts} +1 -1
- package/dist/{memory-credit-ledger-EMN7G3MO.js → memory-credit-ledger-RP7DT5IY.js} +4 -4
- package/dist/{mpp-setup-VW53KFPO.js → mpp-setup-FURD45LI.js} +3 -3
- package/dist/{payout-reporter-TZX2S7KG.js → payout-reporter-HVJ6WUF3.js} +2 -2
- package/dist/{postgres-consumed-credential-store-V464OAJB.js → postgres-consumed-credential-store-WO6OCFXZ.js} +1 -1
- package/dist/{postgres-job-store-27VOCSPO.js → postgres-job-store-FSRUPYH2.js} +2 -2
- package/dist/{postgres-replay-store-7GJFAQXY.js → postgres-replay-store-XXJSA457.js} +2 -2
- package/dist/{pricing-NNMBNP7N.js → pricing-X4XU5HXY.js} +3 -3
- package/dist/{revenue-reporter-4EAVPWXS.js → revenue-reporter-EV3K5L6B.js} +2 -2
- package/dist/server/index.d.ts +74 -11
- package/dist/server/index.js +65 -27
- package/dist/{step-cache-B7svmPz3.d.ts → step-cache--7yA5Ihr.d.ts} +48 -6
- package/dist/{tempo-charge-store-2RPOJBM2.js → tempo-charge-store-5JOIYUIH.js} +2 -2
- package/dist/{tempo-session-store-LI3Q3A3U.js → tempo-session-store-S6QMLQUA.js} +3 -3
- package/dist/testing/index.d.ts +3 -3
- package/dist/testing/index.js +6 -6
- package/dist/{usd-D3izFz71.d.ts → usd-C7lvLvLk.d.ts} +1 -1
- package/dist/{x402-SL36LSOD.js → x402-EN5LSOVM.js} +3 -3
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createX402FacilitatorAuthHeaders,
|
|
3
3
|
settleWithFacilitator,
|
|
4
4
|
verifyWithFacilitator
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VTHYQCDB.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-QGNXYVBO.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 }) {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
extendDiagnosticIdentityAuthority,
|
|
8
8
|
projectDiagnosticFields,
|
|
9
9
|
projectSpanRow
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QGNXYVBO.js";
|
|
11
11
|
|
|
12
12
|
// src/observability/context.ts
|
|
13
13
|
import { AsyncLocalStorage } from "async_hooks";
|
|
@@ -163,7 +163,8 @@ async function withSpan(opts, fn) {
|
|
|
163
163
|
attributeInput,
|
|
164
164
|
opts.dataset,
|
|
165
165
|
authority,
|
|
166
|
-
identityAuthority
|
|
166
|
+
identityAuthority,
|
|
167
|
+
opts.name
|
|
167
168
|
);
|
|
168
169
|
const childDimensions = bindDiagnosticIdentityAuthority(
|
|
169
170
|
bindDiagnosticCapabilityAuthority(
|
|
@@ -172,13 +173,15 @@ async function withSpan(opts, fn) {
|
|
|
172
173
|
ctx.dimensions,
|
|
173
174
|
opts.dataset,
|
|
174
175
|
authority,
|
|
175
|
-
identityAuthority
|
|
176
|
+
identityAuthority,
|
|
177
|
+
opts.name
|
|
176
178
|
),
|
|
177
179
|
...projectDiagnosticFields(
|
|
178
180
|
opts.dims,
|
|
179
181
|
opts.dataset,
|
|
180
182
|
authority,
|
|
181
|
-
identityAuthority
|
|
183
|
+
identityAuthority,
|
|
184
|
+
opts.name
|
|
182
185
|
)
|
|
183
186
|
},
|
|
184
187
|
authority
|
|
@@ -203,7 +206,8 @@ async function withSpan(opts, fn) {
|
|
|
203
206
|
{ ...attributes, ...identityCandidates },
|
|
204
207
|
opts.dataset,
|
|
205
208
|
authority,
|
|
206
|
-
latestIdentityAuthority()
|
|
209
|
+
latestIdentityAuthority(),
|
|
210
|
+
opts.name
|
|
207
211
|
);
|
|
208
212
|
};
|
|
209
213
|
const emitRow = () => {
|
|
@@ -227,7 +231,8 @@ async function withSpan(opts, fn) {
|
|
|
227
231
|
childCtx.dimensions,
|
|
228
232
|
opts.dataset,
|
|
229
233
|
authority,
|
|
230
|
-
activeIdentityAuthority
|
|
234
|
+
activeIdentityAuthority,
|
|
235
|
+
opts.name
|
|
231
236
|
),
|
|
232
237
|
attributes,
|
|
233
238
|
error_message: null,
|
|
@@ -263,7 +268,8 @@ async function withSpan(opts, fn) {
|
|
|
263
268
|
overrides,
|
|
264
269
|
opts.dataset,
|
|
265
270
|
authority,
|
|
266
|
-
latestIdentityAuthority()
|
|
271
|
+
latestIdentityAuthority(),
|
|
272
|
+
opts.name
|
|
267
273
|
)
|
|
268
274
|
};
|
|
269
275
|
}
|
|
@@ -284,7 +290,8 @@ async function withSpan(opts, fn) {
|
|
|
284
290
|
nextAttributes,
|
|
285
291
|
opts.dataset,
|
|
286
292
|
authority,
|
|
287
|
-
latestIdentityAuthority()
|
|
293
|
+
latestIdentityAuthority(),
|
|
294
|
+
opts.name
|
|
288
295
|
);
|
|
289
296
|
if (nextStatus === "ok" || nextStatus === "error") status = nextStatus;
|
|
290
297
|
if (nextLevel === "info" || nextLevel === "warn" || nextLevel === "error") {
|