@dvmkit/dvm-cli 0.7.0-rc.2 → 0.7.0-rc.3

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 (24) hide show
  1. package/dist/{chunk-6QHVPJNX.js → chunk-2I5XAIQ4.js} +3 -3
  2. package/dist/{chunk-RQYMWLX4.js → chunk-3PV36227.js} +2 -2
  3. package/dist/{chunk-7UAQTHNP.js → chunk-5QO3MGMH.js} +4 -4
  4. package/dist/{chunk-PG7MEKJI.js → chunk-5VOAE2CL.js} +2 -2
  5. package/dist/{chunk-JTMBSEZO.js → chunk-6JP6ZBWW.js} +4 -4
  6. package/dist/{chunk-ZXVOMXT4.js → chunk-7OA2XUM4.js} +2 -2
  7. package/dist/{chunk-VLZ2K7JL.js → chunk-BHJLMVO2.js} +27 -6
  8. package/dist/{chunk-FPWP4S5S.js → chunk-C5XIOTRP.js} +36 -5
  9. package/dist/{chunk-IQV4KG63.js → chunk-EQXNDN5I.js} +2 -2
  10. package/dist/{chunk-U3YRNLZ5.js → chunk-IERBEO4C.js} +3 -3
  11. package/dist/{chunk-VIYUB3XT.js → chunk-LIITTIEN.js} +347 -85
  12. package/dist/{chunk-WN5R367B.js → chunk-ZM5QFHEY.js} +30 -2
  13. package/dist/{client-IDO4IAXG.js → client-PGOH2ION.js} +6 -6
  14. package/dist/dvm.js +1779 -620
  15. package/dist/{internal-7FXJTFBU.js → internal-VIAWW5ED.js} +13 -5
  16. package/dist/{lifecycle-LRS3IBQL.js → lifecycle-VHGTNHHE.js} +6 -6
  17. package/dist/{payout-reporter-WT7XYW42-U2QPDIYC.js → payout-reporter-3UVWPGMO-WWZWXWCG.js} +6 -4
  18. package/dist/{pocket-refill-J5OWRBXH.js → pocket-refill-BHNKMENF.js} +10 -10
  19. package/dist/{revenue-reporter-7UR3W2SD-C5OMRGK3.js → revenue-reporter-E56J3NZK-NZ5H27ZI.js} +2 -2
  20. package/dist/{tempo-lifecycle-HS2NIFKT.js → tempo-lifecycle-NDBO3V3A.js} +8 -8
  21. package/dist/{tempo-wallet-BA2LKR45.js → tempo-wallet-BAU7ASWF.js} +7 -7
  22. package/dist/{wallet-RPPUCQUR.js → wallet-RB2RPWIN.js} +7 -7
  23. package/dist/{x402-ZU4GML7Z-RYEACIIT.js → x402-BN26TQZ6-4MWLNZGT.js} +2 -2
  24. package/package.json +2 -2
@@ -2,7 +2,7 @@
2
2
  import { createRequire as __dvmCreateRequire } from "node:module";
3
3
  const require = __dvmCreateRequire(import.meta.url);
4
4
 
5
- // node_modules/@dvmkit/sdk/dist/chunk-LAKP6FUI.js
5
+ // node_modules/@dvmkit/sdk/dist/chunk-FXDQMJQ2.js
6
6
  import { isIP } from "net";
7
7
  var diagnostic_catalogue_v1_default = {
8
8
  version: 1,
@@ -339,6 +339,9 @@ var diagnostic_catalogue_v1_default = {
339
339
  "revenue_skipped_unsettled_draw",
340
340
  "rollback",
341
341
  "router.proxy",
342
+ "sanctions_ip_data_incomplete",
343
+ "sanctions_ip_data_load_failed",
344
+ "sanctions_ip_data_stale",
342
345
  "scrape_cache_touch_failed",
343
346
  "scrape_cache_write_failed",
344
347
  "scrape_card_segmentation_failed",
@@ -827,6 +830,7 @@ var diagnostic_catalogue_v1_default = {
827
830
  "quota_exceeded",
828
831
  "rate_limited",
829
832
  "rate_limited_by_target",
833
+ "region_unavailable",
830
834
  "replay_detected",
831
835
  "request_integrity_failed",
832
836
  "retry_hardened",
@@ -979,6 +983,7 @@ var diagnostic_catalogue_v1_default = {
979
983
  ],
980
984
  tokenFields: [],
981
985
  hashFields: [
986
+ "job_id_hash",
982
987
  "key_hash",
983
988
  "prefix_hash"
984
989
  ],
@@ -1020,6 +1025,14 @@ var diagnostic_catalogue_v1_default = {
1020
1025
  "rate_stale_refused",
1021
1026
  "unknown"
1022
1027
  ],
1028
+ fxSourceFailures: [
1029
+ "network_error",
1030
+ "http_error",
1031
+ "invalid_body",
1032
+ "no_usable_rate",
1033
+ "missing_currency",
1034
+ "unknown"
1035
+ ],
1023
1036
  paymentFailureCategories: [
1024
1037
  "invalid_challenge",
1025
1038
  "malformed_credential",
@@ -1045,12 +1058,24 @@ var diagnostic_catalogue_v1_default = {
1045
1058
  paymentPhases: [
1046
1059
  "upfront",
1047
1060
  "mid-job"
1061
+ ],
1062
+ sanctionsRegions: [
1063
+ "BY",
1064
+ "CU",
1065
+ "IR",
1066
+ "KP",
1067
+ "RU",
1068
+ "UA-09",
1069
+ "UA-14",
1070
+ "UA-40",
1071
+ "UA-43"
1048
1072
  ]
1049
1073
  };
1050
1074
  var DIAGNOSTIC_CATALOGUE_VERSION = diagnostic_catalogue_v1_default.version;
1051
1075
  var PAYMENT_ENUMS = {
1052
1076
  reason: new Set(diagnostic_catalogue_v1_default.paymentSkipReasons),
1053
1077
  cause: new Set(diagnostic_catalogue_v1_default.denominationCauses),
1078
+ source_failure: new Set(diagnostic_catalogue_v1_default.fxSourceFailures),
1054
1079
  failure_category: new Set(diagnostic_catalogue_v1_default.paymentFailureCategories),
1055
1080
  failure_stage: new Set(diagnostic_catalogue_v1_default.paymentFailureStages),
1056
1081
  phase: new Set(diagnostic_catalogue_v1_default.paymentPhases)
@@ -1079,6 +1104,7 @@ var CLIENT_PROTOCOL_VERSIONS = new Set(
1079
1104
  diagnostic_catalogue_v1_default.clientProtocolVersions
1080
1105
  );
1081
1106
  var CLIENT_VERSION_FIELDS = new Set(diagnostic_catalogue_v1_default.clientVersionFields);
1107
+ var SANCTIONS_REGIONS = new Set(diagnostic_catalogue_v1_default.sanctionsRegions);
1082
1108
  var SPAN_ID_RE = /^(?!0{16}$)[0-9a-f]{16}$/;
1083
1109
  var TRACE_ID_RE = /^(?!0{32}$)[0-9a-f]{32}$/;
1084
1110
  var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
@@ -1273,7 +1299,7 @@ function projectField(key, value, dataset, authority, identityAuthority) {
1273
1299
  if (key === "route") return projectQualifiedRoute(value);
1274
1300
  if (key === "http.route" || key === "resource_path")
1275
1301
  return projectRouteTemplate(value);
1276
- if (key === "status_code" || key === "http.status_code") {
1302
+ if (key === "status_code" || key === "http.status_code" || key === "source_status") {
1277
1303
  return Number.isInteger(value) && value >= 100 && value <= 599 ? value : void 0;
1278
1304
  }
1279
1305
  if (key === "method" || key === "http.method") {
@@ -1307,6 +1333,8 @@ function projectField(key, value, dataset, authority, identityAuthority) {
1307
1333
  return typeof value === "string" && STRIPE_EVENT_RE.test(value) ? value : void 0;
1308
1334
  if (key === "reject_reason")
1309
1335
  return value === "scanner_probe" ? value : void 0;
1336
+ if (key === "sanctions_region")
1337
+ return typeof value === "string" && SANCTIONS_REGIONS.has(value) ? value : void 0;
1310
1338
  return void 0;
1311
1339
  }
1312
1340
  function projectService(value) {
@@ -3,8 +3,8 @@ import { createRequire as __dvmCreateRequire } from "node:module";
3
3
  const require = __dvmCreateRequire(import.meta.url);
4
4
  import {
5
5
  tryX402Payment
6
- } from "./chunk-RQYMWLX4.js";
7
- import "./chunk-VIYUB3XT.js";
6
+ } from "./chunk-3PV36227.js";
7
+ import "./chunk-LIITTIEN.js";
8
8
  import "./chunk-JBU7RKQ3.js";
9
9
  import "./chunk-KDNFUDOG.js";
10
10
  import "./chunk-IUTVV6N5.js";
@@ -13,11 +13,11 @@ import "./chunk-6LP4EGKA.js";
13
13
  import "./chunk-N3UJT2NJ.js";
14
14
  import "./chunk-SYFKO6BA.js";
15
15
  import "./chunk-PUOXBKY2.js";
16
- import "./chunk-JTMBSEZO.js";
17
- import "./chunk-IQV4KG63.js";
18
- import "./chunk-FPWP4S5S.js";
16
+ import "./chunk-6JP6ZBWW.js";
17
+ import "./chunk-EQXNDN5I.js";
18
+ import "./chunk-C5XIOTRP.js";
19
19
  import "./chunk-R2DSAZBO.js";
20
- import "./chunk-WN5R367B.js";
20
+ import "./chunk-ZM5QFHEY.js";
21
21
  import "./chunk-EVQERRCP.js";
22
22
  import "./chunk-RA24J4QM.js";
23
23
  import "./chunk-B4WHUMZM.js";