refactor: consolidate duplicate toNumber into utils.ts, remove usage/shared.ts
This commit is contained in:
@@ -10,8 +10,7 @@ import type {
|
||||
UsageReport,
|
||||
UsageWindow,
|
||||
} from "../usage";
|
||||
import { isRecord } from "../utils";
|
||||
import { toNumber } from "./shared";
|
||||
import { isRecord, toNumber } from "../utils";
|
||||
|
||||
const CODEX_USAGE_PATH = "wham/usage";
|
||||
const JWT_AUTH_CLAIM = "https://api.openai.com/auth";
|
||||
|
||||
Reference in New Issue
Block a user