@lavapayments/nodejs 2.4.0 → 2.5.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.
package/dist/index.d.mts CHANGED
@@ -160,13 +160,13 @@ interface ServiceCharge {
160
160
  }
161
161
  interface Request {
162
162
  request_id: string;
163
- connection_id: string;
164
- product_id: string;
163
+ connection_id?: string;
164
+ product_id?: string;
165
165
  provider: string;
166
166
  provider_key_type: "managed" | "unmanaged";
167
167
  model: string;
168
168
  endpoint: string;
169
- response_id: string | null;
169
+ response_id?: string;
170
170
  model_usage: ModelUsage;
171
171
  fee: Fee;
172
172
  service_charge: ServiceCharge;
package/dist/index.d.ts CHANGED
@@ -160,13 +160,13 @@ interface ServiceCharge {
160
160
  }
161
161
  interface Request {
162
162
  request_id: string;
163
- connection_id: string;
164
- product_id: string;
163
+ connection_id?: string;
164
+ product_id?: string;
165
165
  provider: string;
166
166
  provider_key_type: "managed" | "unmanaged";
167
167
  model: string;
168
168
  endpoint: string;
169
- response_id: string | null;
169
+ response_id?: string;
170
170
  model_usage: ModelUsage;
171
171
  fee: Fee;
172
172
  service_charge: ServiceCharge;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lavapayments/nodejs",
3
- "version": "2.4.0",
3
+ "version": "2.5.1",
4
4
  "description": "Backend SDK for Lava Payments API - enabling usage-based billing for AI services",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,6 +28,7 @@
28
28
  ],
29
29
  "author": "Lava",
30
30
  "license": "MIT",
31
+ "homepage": "https://github.com/lavapayments/nodejs",
31
32
  "devDependencies": {
32
33
  "@types/node": "^20.0.0",
33
34
  "@types/eslint": "^8.0.0",