gemini-reverse 1.0.7 → 1.0.8
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/client.js +1 -1
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -317,7 +317,7 @@ class GeminiClient {
|
|
|
317
317
|
const resetTs = getNestedValue(item, [3, 0]);
|
|
318
318
|
const total = getNestedValue(item, [4]);
|
|
319
319
|
const remaining = getNestedValue(item, [5]);
|
|
320
|
-
const quotaId = quotaIdList.join('-');
|
|
320
|
+
const quotaId = quotaIdList.filter(x => x != null).join('-') || String(actionId);
|
|
321
321
|
const label = actionLabels[actionId] || `Gemini ${key}`;
|
|
322
322
|
this._quotas[quotaId] = { usage_percentage: usageLevel, reset_time: resetTs, total, remaining, action_id: actionId, label: `${label} [${quotaId}]` };
|
|
323
323
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gemini-reverse",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Unofficial Node.js client for gemini.google.com — inspired by Gemini-API (Python). Supports streaming, chat sessions, gems, file uploads, and TypeScript.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|