get your claude code tokens here

chore: fix the bun check

dunkirk.sh 23b2041b faddd984

verified
Changed files
+2 -6
src
+1 -1
package.json
···
{
"name": "anthropic-api-key",
-
"version": "0.1.5",
+
"version": "0.1.6",
"description": "CLI to fetch Anthropic API access tokens via OAuth with PKCE using Bun.",
"type": "module",
"private": false,
+1 -5
src/index.ts
···
#!/usr/bin/env bun
// Detect if running under Node.js instead of Bun
-
if (
-
typeof Bun === "undefined" ||
-
// @ts-ignore
-
(typeof process !== "undefined" && process.release?.name === "node")
-
) {
+
if (typeof Bun === "undefined") {
console.error(
"❌ This CLI requires Bun. Please install Bun from https://bun.sh/",
);