Files
better-auth/packages/api-key/package.json
T
Gustavo Valverde ef4fb0ff95 chore: merge main into next (#9533)
Sync main (through #9821/#9820/#9822/#9768) into next. Conflicting
package.json files keep next's version and intentional divergences (for
example the cli's c12 v4) while taking main's dependency updates, including
the samlify 2.13.1 and fast-xml-parser security bumps; the lockfile is
regenerated from the reconciled set. The 13 source/doc/test conflicts take
next's refactored architecture as the baseline; main's colliding fixes are
re-applied on top in the following per-domain commits.

Clean main fixes land via this merge, including the auto-restored
account-takeover defenses #9578 and #9577.
2026-05-31 00:10:16 +01:00

83 lines
1.9 KiB
JSON

{
"name": "@better-auth/api-key",
"version": "1.7.0-beta.3",
"description": "API Key plugin for Better Auth.",
"type": "module",
"license": "MIT",
"homepage": "https://www.better-auth.com/docs/plugins/api-key",
"repository": {
"type": "git",
"url": "git+https://github.com/better-auth/better-auth.git",
"directory": "packages/api-key"
},
"keywords": [
"auth",
"api-key",
"typescript",
"better-auth"
],
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"lint:package": "publint run --strict --pack false",
"lint:types": "attw --profile esm-only --pack .",
"typecheck": "tsc --project tsconfig.json",
"test": "vitest",
"coverage": "vitest run --coverage --coverage.provider=istanbul"
},
"files": [
"dist"
],
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"dev-source": "./src/index.ts",
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./client": {
"dev-source": "./src/client.ts",
"types": "./dist/client.d.mts",
"default": "./dist/client.mjs"
},
"./types": {
"dev-source": "./src/types.ts",
"types": "./dist/types.d.mts",
"default": "./dist/types.mjs"
}
},
"typesVersions": {
"*": {
"*": [
"./dist/index.d.mts"
],
"client": [
"./dist/client.d.mts"
],
"types": [
"./dist/types.d.mts"
]
}
},
"dependencies": {
"zod": "^4.3.6"
},
"devDependencies": {
"@better-auth/core": "workspace:*",
"better-auth": "workspace:*",
"tsdown": "catalog:"
},
"peerDependencies": {
"@better-auth/core": "workspace:^",
"@better-auth/utils": "catalog:",
"better-auth": "workspace:^",
"better-call": "catalog:"
}
}