verdifax 0.2.3 → 0.2.5

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Verdifax
3
+ Copyright (c) 2026 Verdifax, LLC
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.d.mts CHANGED
@@ -120,7 +120,7 @@ interface ClientConfig {
120
120
  baseURL?: string;
121
121
  /** X-Verdifax-Key value. Required for every endpoint except /health, /version, /dcae/verify. */
122
122
  apiKey?: string;
123
- /** Per-request timeout in ms. Defaults to 30000. */
123
+ /** Per-request timeout in ms. Defaults to 90000. */
124
124
  timeoutMs?: number;
125
125
  /** Override the default User-Agent. Useful for telemetry attribution. */
126
126
  userAgent?: string;
@@ -332,7 +332,7 @@ declare class VerdifaxClient {
332
332
  *
333
333
  * VERDIFAX_BASE_URL base URL (defaults to https://api.verdifax.com)
334
334
  * VERDIFAX_API_KEY X-Verdifax-Key value
335
- * VERDIFAX_TIMEOUT_MS per-request timeout in ms (defaults to 30000)
335
+ * VERDIFAX_TIMEOUT_MS per-request timeout in ms (defaults to 90000)
336
336
  * VERDIFAX_USER_AGENT override the default User-Agent
337
337
  * VERDIFAX_MAX_RETRIES retry budget for idempotent GETs (defaults to 3)
338
338
  */
package/dist/index.d.ts CHANGED
@@ -120,7 +120,7 @@ interface ClientConfig {
120
120
  baseURL?: string;
121
121
  /** X-Verdifax-Key value. Required for every endpoint except /health, /version, /dcae/verify. */
122
122
  apiKey?: string;
123
- /** Per-request timeout in ms. Defaults to 30000. */
123
+ /** Per-request timeout in ms. Defaults to 90000. */
124
124
  timeoutMs?: number;
125
125
  /** Override the default User-Agent. Useful for telemetry attribution. */
126
126
  userAgent?: string;
@@ -332,7 +332,7 @@ declare class VerdifaxClient {
332
332
  *
333
333
  * VERDIFAX_BASE_URL base URL (defaults to https://api.verdifax.com)
334
334
  * VERDIFAX_API_KEY X-Verdifax-Key value
335
- * VERDIFAX_TIMEOUT_MS per-request timeout in ms (defaults to 30000)
335
+ * VERDIFAX_TIMEOUT_MS per-request timeout in ms (defaults to 90000)
336
336
  * VERDIFAX_USER_AGENT override the default User-Agent
337
337
  * VERDIFAX_MAX_RETRIES retry budget for idempotent GETs (defaults to 3)
338
338
  */
package/dist/index.js CHANGED
@@ -106,7 +106,7 @@ function validateRouteId(value) {
106
106
 
107
107
  // src/client.ts
108
108
  var DEFAULT_BASE_URL = "https://api.verdifax.com";
109
- var DEFAULT_TIMEOUT_MS = 3e4;
109
+ var DEFAULT_TIMEOUT_MS = 9e4;
110
110
  var DEFAULT_MAX_RETRIES = 3;
111
111
  var DEFAULT_RETRY_BASE_DELAY_MS = 200;
112
112
  var SDK_USER_AGENT = "verdifax-sdk-node/0.2.0";
package/dist/index.mjs CHANGED
@@ -72,7 +72,7 @@ function validateRouteId(value) {
72
72
 
73
73
  // src/client.ts
74
74
  var DEFAULT_BASE_URL = "https://api.verdifax.com";
75
- var DEFAULT_TIMEOUT_MS = 3e4;
75
+ var DEFAULT_TIMEOUT_MS = 9e4;
76
76
  var DEFAULT_MAX_RETRIES = 3;
77
77
  var DEFAULT_RETRY_BASE_DELAY_MS = 200;
78
78
  var SDK_USER_AGENT = "verdifax-sdk-node/0.2.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verdifax",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Official Node.js / TypeScript SDK for the Verdifax orchestrator REST API.",
5
5
  "license": "MIT",
6
6
  "author": "Verdifax <team@verdifax.com>",
@@ -22,14 +22,19 @@
22
22
  "gdpr",
23
23
  "hipaa"
24
24
  ],
25
- "main": "./dist/index.cjs",
25
+ "main": "./dist/index.js",
26
26
  "module": "./dist/index.mjs",
27
27
  "types": "./dist/index.d.ts",
28
28
  "exports": {
29
29
  ".": {
30
- "types": "./dist/index.d.ts",
31
- "import": "./dist/index.mjs",
32
- "require": "./dist/index.cjs"
30
+ "import": {
31
+ "types": "./dist/index.d.mts",
32
+ "default": "./dist/index.mjs"
33
+ },
34
+ "require": {
35
+ "types": "./dist/index.d.ts",
36
+ "default": "./dist/index.js"
37
+ }
33
38
  }
34
39
  },
35
40
  "files": [
@@ -51,6 +56,9 @@
51
56
  "tsup": "^8.0.0",
52
57
  "typescript": "^5.4.0"
53
58
  },
59
+ "overrides": {
60
+ "esbuild": "^0.28.1"
61
+ },
54
62
  "publishConfig": {
55
63
  "access": "public",
56
64
  "provenance": true