@better-auth/core 1.3.18

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.
@@ -0,0 +1,21 @@
1
+
2
+ > @better-auth/core@1.3.18 build /home/runner/work/better-auth/better-auth/packages/core
3
+ > unbuild --clean
4
+
5
+ [info] Building core
6
+ [info] Cleaning dist directory: `./dist`
7
+ Generated an empty chunk: "index".
8
+ Generated an empty chunk: "index".
9
+ Generated an empty chunk: "index".
10
+ Generated an empty chunk: "index".
11
+ Generated an empty chunk: "index".
12
+ [success] Build succeeded for core
13
+ [log] dist/index.cjs (total size: 15 B, chunk size: 15 B)
14
+
15
+ [log] dist/index.mjs (total size: 1 B, chunk size: 1 B)
16
+
17
+ Σ Total dist size (byte size): 55 B
18
+ [log]
19
+ [warn] Build is done with some warnings:
20
+
21
+ - Potential missing package.json files: dist/index.d.cjs
package/LICENSE.md ADDED
@@ -0,0 +1,17 @@
1
+ The MIT License (MIT)
2
+ Copyright (c) 2024 - present, Bereket Engida
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
5
+ and associated documentation files (the "Software"), to deal in the Software without restriction,
6
+ including without limitation the rights to use, copy, modify, merge, publish, distribute,
7
+ sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
8
+ is furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all copies or
11
+ substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
14
+ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
15
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
16
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,12 @@
1
+ import { defineBuildConfig } from "unbuild";
2
+
3
+ export default defineBuildConfig({
4
+ rollup: {
5
+ emitCJS: true,
6
+ },
7
+ declaration: true,
8
+ outDir: "dist",
9
+ clean: true,
10
+ failOnWarn: false,
11
+ entries: ["./src/index.ts"],
12
+ });
package/dist/index.cjs ADDED
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1,2 @@
1
+
2
+ export { };
@@ -0,0 +1,2 @@
1
+
2
+ export { };
@@ -0,0 +1,2 @@
1
+
2
+ export { };
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@better-auth/core",
3
+ "version": "1.3.18",
4
+ "description": "The most comprehensive authentication library for TypeScript.",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.mjs",
8
+ "exports": {
9
+ ".": {
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
+ ]
25
+ }
26
+ },
27
+ "devDependencies": {
28
+ "unbuild": "3.6.1"
29
+ },
30
+ "scripts": {
31
+ "build": "unbuild --clean",
32
+ "stub": "unbuild --stub",
33
+ "typecheck": "tsc --project tsconfig.json"
34
+ }
35
+ }
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export {};
package/tsconfig.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "rootDir": "./src",
5
+ "outDir": "./dist",
6
+ "lib": ["esnext", "dom", "dom.iterable"],
7
+ "types": []
8
+ },
9
+ "include": ["src"]
10
+ }