@better-auth/core 1.3.18 → 1.4.0-beta.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @better-auth/core@1.3.18 build /home/runner/work/better-auth/better-auth/packages/core
2
+ > @better-auth/core@1.4.0-beta.4 build /home/runner/work/better-auth/better-auth/packages/core
3
3
  > unbuild --clean
4
4
 
5
5
  [info] Building core
@@ -7,15 +7,11 @@
7
7
  Generated an empty chunk: "index".
8
8
  Generated an empty chunk: "index".
9
9
  Generated an empty chunk: "index".
10
- Generated an empty chunk: "index".
11
- Generated an empty chunk: "index".
12
10
  [success] Build succeeded for core
13
- [log] dist/index.cjs (total size: 15 B, chunk size: 15 B)
14
-
15
11
  [log] dist/index.mjs (total size: 1 B, chunk size: 1 B)
16
12
 
17
- Σ Total dist size (byte size): 55 B
13
+ Σ Total dist size (byte size): 27 B
18
14
  [log]
19
15
  [warn] Build is done with some warnings:
20
16
 
21
- - Potential missing package.json files: dist/index.d.cjs
17
+ - Potential missing package.json files: dist/index.js
package/build.config.ts CHANGED
@@ -1,9 +1,6 @@
1
1
  import { defineBuildConfig } from "unbuild";
2
2
 
3
3
  export default defineBuildConfig({
4
- rollup: {
5
- emitCJS: true,
6
- },
7
4
  declaration: true,
8
5
  outDir: "dist",
9
6
  clean: true,
package/package.json CHANGED
@@ -1,27 +1,12 @@
1
1
  {
2
2
  "name": "@better-auth/core",
3
- "version": "1.3.18",
3
+ "version": "1.4.0-beta.4",
4
4
  "description": "The most comprehensive authentication library for TypeScript.",
5
5
  "type": "module",
6
- "main": "./dist/index.cjs",
7
- "module": "./dist/index.mjs",
8
6
  "exports": {
9
7
  ".": {
10
- "import": {
11
- "types": "./dist/index.d.ts",
12
- "default": "./dist/index.mjs"
13
- },
14
- "require": {
15
- "types": "./dist/index.d.cjs",
16
- "default": "./dist/index.cjs"
17
- }
18
- }
19
- },
20
- "typesVersions": {
21
- "*": {
22
- "index": [
23
- "dist/index.d.ts"
24
- ]
8
+ "types": "./dist/index.d.ts",
9
+ "import": "./dist/index.js"
25
10
  }
26
11
  },
27
12
  "devDependencies": {
package/dist/index.cjs DELETED
@@ -1,2 +0,0 @@
1
- 'use strict';
2
-
package/dist/index.d.cts DELETED
@@ -1,2 +0,0 @@
1
-
2
- export { };