@farm.js/authjs 0.1.0-beta.98 → 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
  Auth.js 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/authjs@beta
8
+ npm install @farm.js/authjs
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
@@ -10,5 +10,15 @@ export interface AuthJsIntegrationInput {
10
10
  instance: AuthJsInstance;
11
11
  log?: FarmIntegrationLogger;
12
12
  }
13
- export declare function authjs(input: AuthJsIntegrationInput): any;
13
+ export declare function authjs(input: AuthJsIntegrationInput): import("@farm.js/core").DefinedIntegration<{
14
+ category: "auth";
15
+ type: string;
16
+ instance: AuthJsInstance;
17
+ log: import("@farm.js/core/integrations").FarmIntegrationLogger | undefined;
18
+ routes: {
19
+ path: string;
20
+ methods: import("@farm.js/core/integrations").FarmIntegrationRouteMethod[];
21
+ handler(request: Request, context: import("@farm.js/core").FarmIntegrationHandlerContext): Response | Promise<Response>;
22
+ }[];
23
+ }>;
14
24
  //# 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;AAK3D,MAAM,WAAW,gBAAgB;IAC/B,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;IACzD,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;CAC3D;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,gBAAgB,CAAC;CAC5B;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,cAAc,CAAC;IACzB,GAAG,CAAC,EAAE,qBAAqB,CAAC;CAC7B;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,sBAAsB,OAkBnD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAK3D,MAAM,WAAW,gBAAgB;IAC/B,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;IACzD,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;CAC3D;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,gBAAgB,CAAC;CAC5B;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,cAAc,CAAC;IACzB,GAAG,CAAC,EAAE,qBAAqB,CAAC;CAC7B;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,sBAAsB;;;;;;;;;;GAkBnD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farm.js/authjs",
3
- "version": "0.1.0-beta.98",
3
+ "version": "0.1.0",
4
4
  "description": "Auth.js 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/integration-utils": "0.1.0-beta.98",
29
- "@farm.js/core": "0.1.0-beta.98"
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",