@better-auth/api-key 1.7.0-beta.7 → 1.7.0-beta.8

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-CbtANSbR.mjs";
2
- import { i as API_KEY_ERROR_CODES, n as apiKey } from "./index-BU-xUFsI.mjs";
2
+ import { i as API_KEY_ERROR_CODES, n as apiKey } from "./index-K0I_tcSP.mjs";
3
3
  import * as better_auth0 from "better-auth";
4
4
 
5
5
  //#region src/client.d.ts
package/dist/client.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as API_KEY_ERROR_CODES, t as PACKAGE_VERSION } from "./version-DzO-nCoq.mjs";
1
+ import { n as API_KEY_ERROR_CODES, t as PACKAGE_VERSION } from "./version-C5EmlUHQ.mjs";
2
2
  //#region src/client.ts
3
3
  const apiKeyClient = () => {
4
4
  return {
@@ -187,7 +187,7 @@ declare function apiKey(_configurations?: (ApiKeyConfigurationOptions & ApiKeyOp
187
187
  image?: string | null | undefined;
188
188
  } & Record<string, any>;
189
189
  } | null) => void;
190
- socialProviders: better_auth0.UpstreamProvider[];
190
+ socialProviders: better_auth0.OAuthProvider[];
191
191
  authCookies: better_auth0.BetterAuthCookies;
192
192
  logger: ReturnType<typeof better_auth0.createLogger>;
193
193
  rateLimit: {
package/dist/index.d.mts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { n as ApiKeyConfigurationOptions, r as ApiKeyOptions, t as ApiKey } from "./types-CbtANSbR.mjs";
2
- import { i as API_KEY_ERROR_CODES, n as apiKey, r as defaultKeyHasher, t as API_KEY_TABLE_NAME } from "./index-BU-xUFsI.mjs";
2
+ import { i as API_KEY_ERROR_CODES, n as apiKey, r as defaultKeyHasher, t as API_KEY_TABLE_NAME } from "./index-K0I_tcSP.mjs";
3
3
  export { API_KEY_ERROR_CODES, API_KEY_TABLE_NAME, ApiKey, ApiKeyConfigurationOptions, 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-DzO-nCoq.mjs";
1
+ import { n as API_KEY_ERROR_CODES, t as PACKAGE_VERSION } from "./version-C5EmlUHQ.mjs";
2
2
  import { createAuthEndpoint, createAuthMiddleware } from "@better-auth/core/api";
3
3
  import { base64Url } from "@better-auth/utils/base64";
4
4
  import { createHash } from "@better-auth/utils/hash";
@@ -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-beta.7";
38
+ const PACKAGE_VERSION = "1.7.0-beta.8";
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-beta.7",
3
+ "version": "1.7.0-beta.8",
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.21.1",
64
- "@better-auth/core": "1.7.0-beta.7",
65
- "better-auth": "1.7.0-beta.7"
64
+ "@better-auth/core": "1.7.0-beta.8",
65
+ "better-auth": "1.7.0-beta.8"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "@better-auth/utils": "0.4.2",
69
69
  "better-call": "1.3.6",
70
- "@better-auth/core": "^1.7.0-beta.7",
71
- "better-auth": "^1.7.0-beta.7"
70
+ "@better-auth/core": "^1.7.0-beta.8",
71
+ "better-auth": "^1.7.0-beta.8"
72
72
  },
73
73
  "scripts": {
74
74
  "build": "tsdown",