@lavapayments/nodejs 5.2.14 → 5.3.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 +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -64,6 +64,7 @@ declare class Lava {
|
|
|
64
64
|
cerebras: string;
|
|
65
65
|
targon: string;
|
|
66
66
|
gmicloud: string;
|
|
67
|
+
chutes: string;
|
|
67
68
|
};
|
|
68
69
|
/**
|
|
69
70
|
* Create a new Lava client
|
|
@@ -223,6 +224,8 @@ type RestRequest = {
|
|
|
223
224
|
type RestUsage = {
|
|
224
225
|
items: {
|
|
225
226
|
date: string;
|
|
227
|
+
start: string;
|
|
228
|
+
end: string;
|
|
226
229
|
total_requests: number;
|
|
227
230
|
total_usage_tokens: number;
|
|
228
231
|
total_usage_cost: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ declare class Lava {
|
|
|
64
64
|
cerebras: string;
|
|
65
65
|
targon: string;
|
|
66
66
|
gmicloud: string;
|
|
67
|
+
chutes: string;
|
|
67
68
|
};
|
|
68
69
|
/**
|
|
69
70
|
* Create a new Lava client
|
|
@@ -223,6 +224,8 @@ type RestRequest = {
|
|
|
223
224
|
type RestUsage = {
|
|
224
225
|
items: {
|
|
225
226
|
date: string;
|
|
227
|
+
start: string;
|
|
228
|
+
end: string;
|
|
226
229
|
total_requests: number;
|
|
227
230
|
total_usage_tokens: number;
|
|
228
231
|
total_usage_cost: string;
|
package/dist/index.js
CHANGED
|
@@ -235,7 +235,8 @@ var Lava = class {
|
|
|
235
235
|
fireworks: `${this.baseUrl}forward?u=https://api.fireworks.ai/inference/v1`,
|
|
236
236
|
cerebras: `${this.baseUrl}forward?u=https://api.cerebras.ai/v1`,
|
|
237
237
|
targon: `${this.baseUrl}forward?u=https://api.targon.com/v1`,
|
|
238
|
-
gmicloud: `${this.baseUrl}forward?u=https://api.gmi-serving.com/v1
|
|
238
|
+
gmicloud: `${this.baseUrl}forward?u=https://api.gmi-serving.com/v1`,
|
|
239
|
+
chutes: `${this.baseUrl}forward?u=https://llm.chutes.ai/v1`
|
|
239
240
|
};
|
|
240
241
|
}
|
|
241
242
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -208,7 +208,8 @@ var Lava = class {
|
|
|
208
208
|
fireworks: `${this.baseUrl}forward?u=https://api.fireworks.ai/inference/v1`,
|
|
209
209
|
cerebras: `${this.baseUrl}forward?u=https://api.cerebras.ai/v1`,
|
|
210
210
|
targon: `${this.baseUrl}forward?u=https://api.targon.com/v1`,
|
|
211
|
-
gmicloud: `${this.baseUrl}forward?u=https://api.gmi-serving.com/v1
|
|
211
|
+
gmicloud: `${this.baseUrl}forward?u=https://api.gmi-serving.com/v1`,
|
|
212
|
+
chutes: `${this.baseUrl}forward?u=https://llm.chutes.ai/v1`
|
|
212
213
|
};
|
|
213
214
|
}
|
|
214
215
|
/**
|