@hienlh/ppm 0.9.55 → 0.9.56
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -282,8 +282,6 @@ export function getAllAccountUsages(): AccountUsageEntry[] {
|
|
|
282
282
|
const result: AccountUsageEntry[] = [];
|
|
283
283
|
for (const acc of accounts) {
|
|
284
284
|
const withTokens = accountService.getWithTokens(acc.id);
|
|
285
|
-
// Skip expired accounts without refresh token (temporary/disposable)
|
|
286
|
-
if (acc.expiresAt && acc.expiresAt < nowS && !withTokens?.refreshToken) continue;
|
|
287
285
|
const isOAuth = withTokens?.accessToken.startsWith("sk-ant-oat") ?? false;
|
|
288
286
|
const row = snapshotMap.get(acc.id);
|
|
289
287
|
result.push({
|