Skip to content
Myr

fix(adapter/aws-lambda): remove unneeded import and compatibility for LLRT (#3915)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* fix(lambda-edge): remove * changne aprocach * Revert "fix(lambda-edge): remove" This reverts commit e80ce9b3b64a7c5ed0a6492c9b66b5d5ad130670. * revert * revert 2

authored by EdamAmex · committed by GitHub · parent 40ea0ee · Browse files · 1 file+0 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−5 removed

  • other:+0 added−5 removed

1 file+0 added−5 removed

modified:src/adapter/aws-lambda/handler.ts-5 removed
1import crypto from 'node:crypto'1import type { Hono } from '../../hono'2import type { Env, Schema } from '../../types'3import { decodeBase64, encodeBase64 } from '../../utils/encode'4import type {
3 unmodified lines
8 Handler,9 LambdaContext,10} from './types'1113// eslint-disable-next-line @typescript-eslint/ban-ts-comment14// @ts-ignore15globalThis.crypto ??= crypto1612export type LambdaEvent = APIGatewayProxyEvent | APIGatewayProxyEventV2 | ALBProxyEvent1314// When calling HTTP API or Lambda directly through function urls15export interface APIGatewayProxyEventV2 {
483 unmodified lines