@better-auth/api-key 1.5.7-beta.1 → 1.6.0

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,10 +1,11 @@
1
- import { n as ApiKeyConfigurationOptions, r as ApiKeyOptions, t as ApiKey } from "./types-BR70O3Q3.mjs";
2
- import { i as API_KEY_ERROR_CODES, n as apiKey } from "./index-WXH3i1Uh.mjs";
1
+ import { i as API_KEY_ERROR_CODES, n as apiKey } from "./index-CajK1bx0.mjs";
2
+ import { n as ApiKeyConfigurationOptions, r as ApiKeyOptions, t as ApiKey } from "./types-CCe5L05Y.mjs";
3
3
  import * as better_auth0 from "better-auth";
4
4
 
5
5
  //#region src/client.d.ts
6
6
  declare const apiKeyClient: () => {
7
7
  id: "api-key";
8
+ version: string;
8
9
  $InferServerPlugin: ReturnType<typeof apiKey>;
9
10
  pathMethods: {
10
11
  "/api-key/create": "POST";
@@ -47,5 +48,4 @@ declare const apiKeyClient: () => {
47
48
  };
48
49
  type ApiKeyClientPlugin = ReturnType<typeof apiKeyClient>;
49
50
  //#endregion
50
- export { API_KEY_ERROR_CODES, ApiKey, ApiKeyClientPlugin, ApiKeyConfigurationOptions, ApiKeyOptions, apiKeyClient };
51
- //# sourceMappingURL=client.d.mts.map
51
+ export { API_KEY_ERROR_CODES, ApiKey, ApiKeyClientPlugin, ApiKeyConfigurationOptions, ApiKeyOptions, apiKeyClient };
package/dist/client.mjs CHANGED
@@ -1,8 +1,9 @@
1
- import { t as API_KEY_ERROR_CODES } from "./error-codes-C8MQDPqn.mjs";
1
+ import { n as API_KEY_ERROR_CODES, t as PACKAGE_VERSION } from "./version-8TBaF5K2.mjs";
2
2
  //#region src/client.ts
3
3
  const apiKeyClient = () => {
4
4
  return {
5
5
  id: "api-key",
6
+ version: PACKAGE_VERSION,
6
7
  $InferServerPlugin: {},
7
8
  pathMethods: {
8
9
  "/api-key/create": "POST",
@@ -14,5 +15,3 @@ const apiKeyClient = () => {
14
15
  };
15
16
  //#endregion
16
17
  export { API_KEY_ERROR_CODES, apiKeyClient };
17
-
18
- //# sourceMappingURL=client.mjs.map