@friendsofshopware/app-server-sdk-hono
Advanced tools
Comparing version 0.0.46 to 0.0.47
@@ -9,3 +9,3 @@ import { HTTPException } from "hono/http-exception"; | ||
cfg.appPath = cfg.appPath || "/app/*"; | ||
hono.use(async (ctx, next) => { | ||
hono.use('*', async (ctx, next) => { | ||
if (app === null) { | ||
@@ -12,0 +12,0 @@ const appUrl = cfg.appUrl || buildBaseUrl(ctx.req.url); |
@@ -5,3 +5,3 @@ { | ||
"name": "@friendsofshopware/app-server-sdk-hono", | ||
"version": "0.0.46", | ||
"version": "0.0.47", | ||
"description": "Hono Integration for Shopware App Server SDK", | ||
@@ -26,4 +26,4 @@ "license": "MIT", | ||
"@friendsofshopware/app-server-sdk": "^0.0.40", | ||
"hono": "^3.1.8" | ||
"hono": "^3.12.11" | ||
} | ||
} |
@@ -12,10 +12,10 @@ import type { Context as HonoContext, Hono } from "hono"; | ||
} | ||
type Variables = { | ||
app: AppServer; | ||
shop: ShopInterface; | ||
context: Context; | ||
}; | ||
export declare function configureAppServer(hono: Hono<{ | ||
Variables: Variables; | ||
}>, cfg: MiddlewareConfig): void; | ||
declare module 'hono' { | ||
interface ContextVariableMap { | ||
app: AppServer; | ||
shop: ShopInterface; | ||
context: Context; | ||
} | ||
} | ||
export declare function configureAppServer(hono: Hono, cfg: MiddlewareConfig): void; | ||
export {}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4131
Updatedhono@^3.12.11