@meeovi/auth 1.0.7 → 1.0.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/index.d.ts CHANGED
@@ -1,4 +1,7 @@
1
- export * from './src/useAuth';
1
+ import { inferAdditionalFields, adminClient } from "better-auth/client/plugins";
2
+ export * from "./src/useAuth";
3
+ export { inferAdditionalFields, adminClient };
4
+ export { createAuthClient } from "better-auth/vue";
2
5
  export * from "better-auth";
3
6
  export * from "@better-auth/cli";
4
7
  export * from "@better-auth/oauth-provider";
package/dist/index.js CHANGED
@@ -1,4 +1,10 @@
1
- export * from './src/useAuth';
1
+ import { inferAdditionalFields, adminClient } from "better-auth/client/plugins";
2
+ export * from "./src/useAuth";
3
+ // Correct plugin exports
4
+ export { inferAdditionalFields, adminClient };
5
+ // Vue client creator
6
+ export { createAuthClient } from "better-auth/vue";
7
+ // Re-export Better Auth core
2
8
  export * from "better-auth";
3
9
  export * from "@better-auth/cli";
4
10
  export * from "@better-auth/oauth-provider";
@@ -6,4 +12,5 @@ export * from "@better-auth/passkey";
6
12
  export * from "@better-auth/scim";
7
13
  export * from "@better-auth/sso";
8
14
  export * from "@better-auth/stripe";
15
+ // Namespaced export for polar-sh
9
16
  export * as polarSh from "@polar-sh/better-auth";
package/index.ts CHANGED
@@ -1,8 +1,13 @@
1
- export * from './src/useAuth'
1
+ import { inferAdditionalFields, adminClient } from "better-auth/client/plugins";
2
+ export * from "./src/useAuth";
2
3
 
3
- export { inferAdditionalFields, adminClient } from "better-auth/client/plugins";
4
+ // Correct plugin exports
5
+ export { inferAdditionalFields, adminClient };
6
+
7
+ // Vue client creator
4
8
  export { createAuthClient } from "better-auth/vue";
5
9
 
10
+ // Re-export Better Auth core
6
11
  export * from "better-auth";
7
12
  export * from "@better-auth/cli";
8
13
  export * from "@better-auth/oauth-provider";
@@ -10,4 +15,6 @@ export * from "@better-auth/passkey";
10
15
  export * from "@better-auth/scim";
11
16
  export * from "@better-auth/sso";
12
17
  export * from "@better-auth/stripe";
13
- export * as polarSh from "@polar-sh/better-auth";
18
+
19
+ // Namespaced export for polar-sh
20
+ export * as polarSh from "@polar-sh/better-auth";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meeovi/auth",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Authentication for M Framework.",
5
5
  "license": "MIT",
6
6
  "author": "Meeovi",