Socket
Socket
Sign inDemoInstall

@aesop-fables/triginta

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aesop-fables/triginta - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

lib/index.d.ts

@@ -7,3 +7,3 @@ import { IHandler } from './IHandler';

export * from './HttpLambdaServices';
export { default as RouteRegistry } from './RouteRegistry';
export { default as RouteRegistry, IRouteRegistry } from './RouteRegistry';
export * from './invokeHttpHandler';

@@ -10,0 +10,0 @@ export * from './IConfiguredRoute';

import { IConfiguredRoute } from './IConfiguredRoute';
declare class RouteRegistry {
export interface IRouteRegistry {
allRoutes(): IConfiguredRoute[];
register(route: IConfiguredRoute): void;
}
declare class RouteRegistry implements IRouteRegistry {
private readonly routes;

@@ -4,0 +8,0 @@ allRoutes(): IConfiguredRoute[];

@@ -1,7 +0,6 @@

import { IServiceContainer, Newable } from '@aesop-fables/containr';
import { Handler, APIGatewayProxyEventV2, APIGatewayProxyStructuredResultV2 } from 'aws-lambda';
import { IHttpEndpoint } from './IHttpEndpoint';
import { IServiceContainer } from '@aesop-fables/containr';
import { IRouteRegistry } from './RouteRegistry';
export declare type TrigintaConfig = {
container: IServiceContainer;
createHttpLambda: <Input, Output>(newable: Newable<IHttpEndpoint<Input, Output>>) => Handler<APIGatewayProxyEventV2, APIGatewayProxyStructuredResultV2>;
routes: IRouteRegistry;
};
{
"name": "@aesop-fables/triginta",
"version": "0.3.1",
"version": "0.3.2",
"description": "A lightweight framework that wraps the basic infrastructure usages of AWS Lambda (SQS, Kinesis, etc.).",

@@ -5,0 +5,0 @@ "type": "commonjs",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc