@hono/auth-js 1.0.10 → 1.0.11

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/dist/index.js CHANGED
@@ -34,7 +34,6 @@ var import_http_exception = require("hono/http-exception");
34
34
  var import_core2 = require("@auth/core");
35
35
  function setEnvDefaults(env2, config) {
36
36
  config.secret ??= env2.AUTH_SECRET;
37
- config.basePath ||= "/api/auth";
38
37
  (0, import_core2.setEnvDefaults)(env2, config);
39
38
  }
40
39
  async function cloneRequest(input, request, headers) {
package/dist/index.mjs CHANGED
@@ -5,7 +5,6 @@ import { HTTPException } from "hono/http-exception";
5
5
  import { setEnvDefaults as coreSetEnvDefaults } from "@auth/core";
6
6
  function setEnvDefaults(env2, config) {
7
7
  config.secret ??= env2.AUTH_SECRET;
8
- config.basePath ||= "/api/auth";
9
8
  coreSetEnvDefaults(env2, config);
10
9
  }
11
10
  async function cloneRequest(input, request, headers) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hono/auth-js",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "A third-party Auth js middleware for Hono",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -57,7 +57,7 @@
57
57
  "react": ">=18"
58
58
  },
59
59
  "devDependencies": {
60
- "@auth/core": "^0.30.0",
60
+ "@auth/core": "^0.35.3",
61
61
  "@types/react": "^18",
62
62
  "hono": "^3.11.7",
63
63
  "jest": "^29.7.0",