@dvmkit/sdk 0.7.0-rc.9 → 0.8.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.
Files changed (57) hide show
  1. package/NOTICE +1 -1
  2. package/README.md +57 -261
  3. package/dist/{chunk-5CSR33B5.js → chunk-2U6LAASN.js} +1 -1
  4. package/dist/chunk-66HGCPBU.js +25 -0
  5. package/dist/{chunk-QM2OS3NJ.js → chunk-7PM4R4GD.js} +1 -1
  6. package/dist/{chunk-YE53E4BT.js → chunk-AGE5XZKE.js} +1 -1
  7. package/dist/{chunk-RJFBBEWQ.js → chunk-ALWVJ2RB.js} +1 -1
  8. package/dist/{chunk-FYETJDBB.js → chunk-AVV5SYGO.js} +2 -2
  9. package/dist/{chunk-5PLQOC4B.js → chunk-BFGQG4WY.js} +9 -1
  10. package/dist/{chunk-IOKEKMIU.js → chunk-FM6QAGJC.js} +2 -2
  11. package/dist/{chunk-KXWROQGK.js → chunk-FUJ36YDV.js} +1 -24
  12. package/dist/{chunk-6JZDFYQL.js → chunk-G3MPHW5I.js} +1 -1
  13. package/dist/{chunk-2HAFZ5GC.js → chunk-IHQUBATH.js} +2 -2
  14. package/dist/{chunk-YS6PWVCZ.js → chunk-ILBSZMJL.js} +1 -1
  15. package/dist/{chunk-RGSWVNQG.js → chunk-IOQIXRGM.js} +2 -43
  16. package/dist/{chunk-YNHXOONR.js → chunk-J5J63WDC.js} +1 -1
  17. package/dist/{chunk-G7IXOVKV.js → chunk-JIZ4ZIXX.js} +331 -102
  18. package/dist/{chunk-ZLWPEIE2.js → chunk-NA2KOR6G.js} +1 -1
  19. package/dist/{chunk-2DE32RAW.js → chunk-NU5RWJ5B.js} +1 -1
  20. package/dist/chunk-OP7VCGQR.js +47 -0
  21. package/dist/{chunk-QN3CQOE2.js → chunk-QKE5NDPF.js} +368 -7
  22. package/dist/{chunk-7RZEJJTN.js → chunk-RSNC5T6C.js} +2 -2
  23. package/dist/{chunk-2GTLF74N.js → chunk-UDJNZ3UG.js} +1 -1
  24. package/dist/{chunk-WGK5KZ6S.js → chunk-UVS7MRJX.js} +3 -3
  25. package/dist/{chunk-HU6ZMQDN.js → chunk-UWGBI5WK.js} +58 -1
  26. package/dist/{chunk-OFSOLHRX.js → chunk-WMGXJQI3.js} +1 -1
  27. package/dist/{chunk-5TIFEMHJ.js → chunk-ZEPJF4JC.js} +2 -2
  28. package/dist/{content-retention-U7dJM7Ph.d.ts → content-retention-B7ddtJ2y.d.ts} +1 -1
  29. package/dist/{credit-ledger-F2LWQU6N.js → credit-ledger-KIQIE6I6.js} +3 -3
  30. package/dist/{credit-menu-CUJdCfpt.d.ts → credit-menu-BH3g9GQa.d.ts} +5 -5
  31. package/dist/{fx-BvG2Wnjk.d.ts → fx-DN26_J7o.d.ts} +1 -1
  32. package/dist/index.d.ts +5 -5
  33. package/dist/index.js +4 -4
  34. package/dist/internal/caller.d.ts +10 -8
  35. package/dist/internal/caller.js +12 -9
  36. package/dist/internal/server.d.ts +7 -7
  37. package/dist/internal/server.js +22 -20
  38. package/dist/{job-store-DjgN2AOk.d.ts → job-store-Cq21JT37.d.ts} +1 -1
  39. package/dist/{lightning-backend-DeasHNOP.d.ts → lightning-backend-S8F8nf8q.d.ts} +1 -1
  40. package/dist/{memory-credit-ledger-XOOWJTBZ.js → memory-credit-ledger-ATYFAYBG.js} +4 -4
  41. package/dist/{mpp-setup-KGX6PLAF.js → mpp-setup-ZTORW3VF.js} +4 -2
  42. package/dist/{payout-reporter-W3CCLYCN.js → payout-reporter-NN6K2IVQ.js} +2 -2
  43. package/dist/{postgres-consumed-credential-store-LUJ5CUJS.js → postgres-consumed-credential-store-XJTE5PCA.js} +1 -1
  44. package/dist/{postgres-job-store-IX7IUXF4.js → postgres-job-store-AR6ZJUQV.js} +2 -2
  45. package/dist/{postgres-replay-store-Q6MEQDWZ.js → postgres-replay-store-33K33QV7.js} +2 -2
  46. package/dist/{pricing-ZUEFO3CM.js → pricing-G5IN5YJE.js} +3 -3
  47. package/dist/{revenue-reporter-NRS2FANA.js → revenue-reporter-KDUZLD5F.js} +2 -2
  48. package/dist/server/index.d.ts +10 -10
  49. package/dist/server/index.js +30 -28
  50. package/dist/{step-cache-C9JRSFhM.d.ts → step-cache-CR12EZ1Q.d.ts} +136 -4
  51. package/dist/{tempo-charge-store-NZJTJCUO.js → tempo-charge-store-XEGJYM3G.js} +2 -2
  52. package/dist/{tempo-session-store-ENFDLDKC.js → tempo-session-store-3WTDOO7H.js} +3 -3
  53. package/dist/testing/index.d.ts +3 -3
  54. package/dist/testing/index.js +8 -6
  55. package/dist/{usd-DXDkHn_8.d.ts → usd-s_VZ_eS7.d.ts} +1 -1
  56. package/dist/{x402-T7WVKDD4.js → x402-HQ5GRQZU.js} +6 -5
  57. package/package.json +18 -3
@@ -1,51 +1,13 @@
1
1
  import {
2
2
  initCallerLoggers
3
- } from "./chunk-KXWROQGK.js";
3
+ } from "./chunk-66HGCPBU.js";
4
4
  import {
5
5
  bindDiagnosticCapabilityAuthority,
6
6
  bindDiagnosticIdentityAuthority,
7
- emitDiagnostic,
8
7
  extendDiagnosticIdentityAuthority,
9
8
  projectDiagnosticFields,
10
9
  projectSpanRow
11
- } from "./chunk-5PLQOC4B.js";
12
-
13
- // src/sdk/logger.ts
14
- function createConsoleLogger(_jobId) {
15
- return {
16
- debug(_message, data) {
17
- emitDiagnostic("debug", "diagnostic.message", data);
18
- },
19
- info(_message, data) {
20
- emitDiagnostic("info", "diagnostic.message", data);
21
- },
22
- warn(_message, data) {
23
- emitDiagnostic("warn", "diagnostic.message", data);
24
- },
25
- error(_message, data) {
26
- emitDiagnostic("error", "diagnostic.message", data);
27
- }
28
- };
29
- }
30
- function createStdoutLogger(context) {
31
- const emit = (level) => (_message, data) => {
32
- emitDiagnostic(level, "diagnostic.message", {
33
- ...projectDiagnosticFields(context),
34
- ...projectDiagnosticFields(data)
35
- });
36
- };
37
- return {
38
- debug: emit("debug"),
39
- info: emit("info"),
40
- warn: emit("warn"),
41
- error: emit("error")
42
- };
43
- }
44
- function createNoopLogger() {
45
- const noop2 = () => {
46
- };
47
- return { debug: noop2, info: noop2, warn: noop2, error: noop2 };
48
- }
10
+ } from "./chunk-BFGQG4WY.js";
49
11
 
50
12
  // src/observability/context.ts
51
13
  import { AsyncLocalStorage } from "async_hooks";
@@ -452,9 +414,6 @@ function buildNoopLoggers() {
452
414
  }
453
415
 
454
416
  export {
455
- createConsoleLogger,
456
- createStdoutLogger,
457
- createNoopLogger,
458
417
  randomTraceId,
459
418
  withTraceContext,
460
419
  currentContext,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  diagnosticConsole
3
- } from "./chunk-5PLQOC4B.js";
3
+ } from "./chunk-BFGQG4WY.js";
4
4
  import {
5
5
  withSdkInitLock
6
6
  } from "./chunk-COYKJRMM.js";