humanos 1.0.3 → 1.0.4

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/index.d.mts CHANGED
@@ -5558,7 +5558,7 @@ declare class WebhooksApi extends BaseAPI {
5558
5558
  }
5559
5559
 
5560
5560
  /** The API version this SDK release is pinned to (YYYY-MM-DD). */
5561
- declare const API_VERSION = "2026-03-24";
5561
+ declare const API_VERSION = "2026-05-20";
5562
5562
  /** Identifies this SDK's language in request headers. */
5563
5563
  declare const SDK_LANGUAGE = "typescript";
5564
5564
  interface HumanosClientConfig {
package/dist/index.d.ts CHANGED
@@ -5558,7 +5558,7 @@ declare class WebhooksApi extends BaseAPI {
5558
5558
  }
5559
5559
 
5560
5560
  /** The API version this SDK release is pinned to (YYYY-MM-DD). */
5561
- declare const API_VERSION = "2026-03-24";
5561
+ declare const API_VERSION = "2026-05-20";
5562
5562
  /** Identifies this SDK's language in request headers. */
5563
5563
  declare const SDK_LANGUAGE = "typescript";
5564
5564
  interface HumanosClientConfig {
package/dist/index.js CHANGED
@@ -2452,7 +2452,7 @@ function applySignatureInterceptor(axiosInstance, signatureSecret) {
2452
2452
  }
2453
2453
 
2454
2454
  // src/client.ts
2455
- var API_VERSION = "2026-03-24";
2455
+ var API_VERSION = "2026-05-20";
2456
2456
  var SDK_LANGUAGE = "typescript";
2457
2457
  var HumanosClient = class {
2458
2458
  constructor(clientConfig) {
package/dist/index.mjs CHANGED
@@ -2342,7 +2342,7 @@ function applySignatureInterceptor(axiosInstance, signatureSecret) {
2342
2342
  }
2343
2343
 
2344
2344
  // src/client.ts
2345
- var API_VERSION = "2026-03-24";
2345
+ var API_VERSION = "2026-05-20";
2346
2346
  var SDK_LANGUAGE = "typescript";
2347
2347
  var HumanosClient = class {
2348
2348
  constructor(clientConfig) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "humanos",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Official Humanos API SDK for TypeScript/JavaScript with automatic request signing and webhook verification",
5
5
  "author": "Humanos <tech@humanos.tech>",
6
6
  "main": "dist/index.js",
@@ -23,13 +23,23 @@
23
23
  "build": "tsup src/index.ts --format cjs,esm --dts --clean",
24
24
  "build:generated": "cd generated && tsc",
25
25
  "generate": "openapi-generator-cli generate --generator-key typescript-sdk",
26
- "prepublishOnly": "npm run build"
26
+ "prepublishOnly": "npm run build",
27
+ "test": "jest",
28
+ "test:watch": "jest --watch",
29
+ "test:coverage": "jest --coverage",
30
+ "test:unit": "jest tests/unit",
31
+ "test:contract": "jest tests/contract --runInBand"
27
32
  },
28
33
  "dependencies": {
29
34
  "axios": "^1.0.0"
30
35
  },
31
36
  "devDependencies": {
37
+ "@types/jest": "^29.5.14",
32
38
  "@types/node": "^20.0.0",
39
+ "dotenv": "^17.4.2",
40
+ "jest": "^29.7.0",
41
+ "ts-jest": "^29.4.10",
42
+ "ts-node": "^10.9.2",
33
43
  "tsup": "^8.5.1",
34
44
  "typescript": "^5.0.0"
35
45
  },