@farm.js/better-auth 0.1.0-beta.99 → 0.1.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/README.md CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Better Auth integration for Farm.js
4
4
 
5
- Farm.js is currently in beta.
5
+ See [Stability and Support](https://farmjs.dev/docs/stability) for what this package guarantees.
6
6
 
7
7
  ```bash
8
- npm install @farm.js/better-auth@beta
8
+ npm install @farm.js/better-auth
9
9
  ```
10
10
 
11
11
  See the [Farm.js repository](https://github.com/farming-labs/farm.js) for documentation, examples, and support.
package/dist/index.d.ts CHANGED
@@ -6,5 +6,15 @@ export interface BetterAuthIntegrationInput {
6
6
  instance: BetterAuthInstance;
7
7
  log?: FarmIntegrationLogger;
8
8
  }
9
- export declare function betterAuth(input: BetterAuthIntegrationInput): any;
9
+ export declare function betterAuth(input: BetterAuthIntegrationInput): import("@farm.js/core").DefinedIntegration<{
10
+ category: "auth";
11
+ type: string;
12
+ instance: BetterAuthInstance;
13
+ log: import("@farm.js/core/integrations").FarmIntegrationLogger | undefined;
14
+ routes: {
15
+ path: string;
16
+ methods: import("@farm.js/core/integrations").FarmIntegrationRouteMethod[];
17
+ handler(request: Request, context: import("@farm.js/core").FarmIntegrationHandlerContext): Response | Promise<Response>;
18
+ }[];
19
+ }>;
10
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAG3D,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;CACzD;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,GAAG,CAAC,EAAE,qBAAqB,CAAC;CAC7B;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,0BAA0B,OAW3D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAG3D,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;CACzD;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,GAAG,CAAC,EAAE,qBAAqB,CAAC;CAC7B;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,0BAA0B;;;;;;;;;;GAW3D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farm.js/better-auth",
3
- "version": "0.1.0-beta.99",
3
+ "version": "0.1.0",
4
4
  "description": "Better Auth integration for Farm.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -25,8 +25,8 @@
25
25
  "access": "public"
26
26
  },
27
27
  "dependencies": {
28
- "@farm.js/core": "0.1.0-beta.99",
29
- "@farm.js/integration-utils": "0.1.0-beta.99"
28
+ "@farm.js/integration-utils": "0.1.0",
29
+ "@farm.js/core": "0.1.0"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc",