@better-auth/api-key 1.7.0-rc.3 → 1.7.0-rc.4

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/dist/client.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as ApiKeyConfigurationOptions, r as ApiKeyOptions, t as ApiKey } from "./types-BLGcz4fR.mjs";
2
- import { i as API_KEY_ERROR_CODES, n as apiKey } from "./index-BX4nCO8Y.mjs";
2
+ import { i as API_KEY_ERROR_CODES, n as apiKey } from "./index-B-TtVXTT.mjs";
3
3
  //#region src/client.d.ts
4
4
  declare const apiKeyClient: () => {
5
5
  id: "api-key";
package/dist/client.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as API_KEY_ERROR_CODES, t as PACKAGE_VERSION } from "./version-iCenOgx3.mjs";
1
+ import { n as API_KEY_ERROR_CODES, t as PACKAGE_VERSION } from "./version-DeUa_AH4.mjs";
2
2
  //#region src/client.ts
3
3
  const apiKeyClient = () => {
4
4
  return {
@@ -200,6 +200,7 @@ declare function apiKey(_configurations?: (ApiKeyConfigurationOptions & ApiKeyOp
200
200
  updateAge: number;
201
201
  expiresIn: number;
202
202
  freshAge: number;
203
+ cookieCacheSigner?: import("better-auth").CookieCacheSigner | undefined;
203
204
  cookieRefreshCache: false | {
204
205
  enabled: true;
205
206
  updateAge: number;
package/dist/index.d.mts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { n as ApiKeyConfigurationOptions, r as ApiKeyOptions, t as ApiKey } from "./types-BLGcz4fR.mjs";
2
- import { i as API_KEY_ERROR_CODES, n as apiKey, r as defaultKeyHasher, t as API_KEY_TABLE_NAME } from "./index-BX4nCO8Y.mjs";
2
+ import { i as API_KEY_ERROR_CODES, n as apiKey, r as defaultKeyHasher, t as API_KEY_TABLE_NAME } from "./index-B-TtVXTT.mjs";
3
3
  export { API_KEY_ERROR_CODES, API_KEY_TABLE_NAME, type ApiKey, type ApiKeyConfigurationOptions, type ApiKeyOptions, apiKey, defaultKeyHasher };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as API_KEY_ERROR_CODES, t as PACKAGE_VERSION } from "./version-iCenOgx3.mjs";
1
+ import { n as API_KEY_ERROR_CODES, t as PACKAGE_VERSION } from "./version-DeUa_AH4.mjs";
2
2
  import { createAuthEndpoint, createAuthMiddleware } from "@better-auth/core/api";
3
3
  import { getIP } from "@better-auth/core/utils/ip";
4
4
  import { base64Url } from "@better-auth/utils/base64";
@@ -35,6 +35,6 @@ const API_KEY_ERROR_CODES = defineErrorCodes({
35
35
  });
36
36
  //#endregion
37
37
  //#region src/version.ts
38
- const PACKAGE_VERSION = "1.7.0-rc.3";
38
+ const PACKAGE_VERSION = "1.7.0-rc.4";
39
39
  //#endregion
40
40
  export { API_KEY_ERROR_CODES as n, PACKAGE_VERSION as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-auth/api-key",
3
- "version": "1.7.0-rc.3",
3
+ "version": "1.7.0-rc.4",
4
4
  "description": "API Key plugin for Better Auth.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -61,14 +61,14 @@
61
61
  },
62
62
  "devDependencies": {
63
63
  "tsdown": "0.22.7",
64
- "@better-auth/core": "1.7.0-rc.3",
65
- "better-auth": "1.7.0-rc.3"
64
+ "@better-auth/core": "1.7.0-rc.4",
65
+ "better-auth": "1.7.0-rc.4"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "@better-auth/utils": "0.4.2",
69
69
  "better-call": "1.3.7",
70
- "@better-auth/core": "^1.7.0-rc.3",
71
- "better-auth": "^1.7.0-rc.3"
70
+ "@better-auth/core": "^1.7.0-rc.4",
71
+ "better-auth": "^1.7.0-rc.4"
72
72
  },
73
73
  "scripts": {
74
74
  "build": "tsdown",