Comparing version 0.0.0-1729216281 to 0.0.0-1729879085
@@ -1,2 +0,2 @@ | ||
declare const _default: import("hono/tiny").Hono<import("hono").Env, import("hono/types").BlankSchema, "/">; | ||
declare const _default: import("hono/hono-base").HonoBase<import("hono").Env, import("hono/types").BlankSchema, string>; | ||
export default _default; |
@@ -5,3 +5,2 @@ /// <reference types="node" resolution-mode="require"/> | ||
import { SessionBuilder } from "./session.js"; | ||
import { Hono } from "hono/tiny"; | ||
export interface OnSuccessResponder<T extends { | ||
@@ -41,2 +40,3 @@ type: any; | ||
}[keyof Providers]>(input: { | ||
basePath?: string; | ||
stream?: boolean; | ||
@@ -60,2 +60,2 @@ session?: Sessions; | ||
}; | ||
}): Hono<import("hono").Env, import("hono/types").BlankSchema, "/">; | ||
}): import("hono/hono-base").HonoBase<import("hono").Env, import("hono/types").BlankSchema, string>; |
@@ -42,3 +42,3 @@ import { SignJWT, importPKCS8, importSPKI, jwtVerify } from "jose"; | ||
export function AuthHandler(input) { | ||
const app = new Hono(); | ||
const app = input.basePath ? new Hono().basePath(input.basePath) : new Hono(); | ||
if (!input.callbacks.auth.error) { | ||
@@ -45,0 +45,0 @@ input.callbacks.auth.error = async (err) => { |
@@ -6,3 +6,3 @@ { | ||
"sideEffects": false, | ||
"version": "0.0.0-1729216281", | ||
"version": "0.0.0-1729879085", | ||
"main": "./dist/index.js", | ||
@@ -51,7 +51,7 @@ "exports": { | ||
"optionalDependencies": { | ||
"sst-linux-x64": "0.0.0-1729216281", | ||
"sst-darwin-x64": "0.0.0-1729216281", | ||
"sst-linux-x86": "0.0.0-1729216281", | ||
"sst-linux-arm64": "0.0.0-1729216281", | ||
"sst-darwin-arm64": "0.0.0-1729216281" | ||
"sst-linux-x86": "0.0.0-1729879085", | ||
"sst-linux-arm64": "0.0.0-1729879085", | ||
"sst-linux-x64": "0.0.0-1729879085", | ||
"sst-darwin-x64": "0.0.0-1729879085", | ||
"sst-darwin-arm64": "0.0.0-1729879085" | ||
}, | ||
@@ -58,0 +58,0 @@ "dependencies": { |
69838