deesse 0.1.1 → 0.1.2

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 @@
1
+ export declare const auth: import("better-auth/*").Auth<import("better-auth/*").BetterAuthOptions>;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.auth = void 0;
4
+ const _1 = require("better-auth/*");
5
+ const config_1 = require("../config");
6
+ exports.auth = (0, _1.betterAuth)((0, config_1.getConfig)().auth);
@@ -1 +1,3 @@
1
+ import { Config } from "./types";
2
+ export declare const getConfig: () => Config;
1
3
  export declare const defineConfig: () => void;
@@ -1,5 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defineConfig = void 0;
3
+ exports.defineConfig = exports.getConfig = void 0;
4
+ const getConfig = () => {
5
+ return {};
6
+ };
7
+ exports.getConfig = getConfig;
4
8
  const defineConfig = () => { };
5
9
  exports.defineConfig = defineConfig;
@@ -0,0 +1,4 @@
1
+ import { BetterAuthOptions } from "better-auth/*";
2
+ export type Config = {
3
+ auth: BetterAuthOptions;
4
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from "./config";
2
+ export * from "./auth";
package/dist/index.js CHANGED
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./config"), exports);
18
+ __exportStar(require("./auth"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deesse",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "The fullstack web framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,5 +17,8 @@
17
17
  "prepublishOnly": "npm run build"
18
18
  },
19
19
  "author": "",
20
- "license": "ISC"
20
+ "license": "ISC",
21
+ "dependencies": {
22
+ "better-auth": "^1.4.3"
23
+ }
21
24
  }