Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koatty_core

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koatty_core - npm Package Compare versions

Comparing version 1.9.0-0 to 1.9.0-2

14

CHANGELOG.md

@@ -5,2 +5,16 @@ # Changelog

## [1.9.0-2](https://github.com/koatty/koatty_core/compare/v1.9.0-1...v1.9.0-2) (2024-01-15)
### Bug Fixes
* IHttpImplementation ([106e83c](https://github.com/koatty/koatty_core/commit/106e83c98ba0a2cecec74a020ec1562d2cf51de9))
## [1.9.0-1](https://github.com/koatty/koatty_core/compare/v1.9.0-0...v1.9.0-1) (2024-01-15)
### Bug Fixes
* HttpImplementation ([39af80c](https://github.com/koatty/koatty_core/commit/39af80c2fcd8f122e05c20210b37818ec32a043e))
## [1.9.0-0](https://github.com/koatty/koatty_core/compare/v1.8.6...v1.9.0-0) (2024-01-15)

@@ -7,0 +21,0 @@

24

dist/index.d.ts
/*!
* @Author: richen
* @Date: 2024-01-15 21:13:23
* @Date: 2024-01-15 21:28:19
* @License: BSD (3-Clause)

@@ -57,11 +57,3 @@ * @Copyright (c) - <richenlin(at)gmail.com>

/**
* Implementation
*
* @export
* @interface Implementation
*/
export declare interface Implementation {
[methodName: string]: UntypedHandleCall;
}
export declare type IHttpImplementation = (ctx: KoattyContext, next: KoattyNext) => Promise<any>;

@@ -82,2 +74,12 @@ /**

/**
* gRPC Implementation
*
* @export
* @interface IRpcImplementation
*/
export declare interface IRpcImplementation {
[methodName: string]: UntypedHandleCall;
}
export declare type IRpcServerCall<RequestType, ResponseType> = IRpcServerUnaryCall<RequestType, ResponseType> | IRpcServerReadableStream<RequestType, ResponseType> | IRpcServerWriteableStream<RequestType, ResponseType> | IRpcServerDuplexStream<RequestType, ResponseType>;

@@ -429,3 +431,3 @@

service?: ServiceDefinition;
implementation?: Function | Implementation;
implementation?: Function | IRpcImplementation | IHttpImplementation;
}

@@ -432,0 +434,0 @@

/*!
* @Author: richen
* @Date: 2024-01-15 21:13:12
* @Date: 2024-01-15 21:28:07
* @License: BSD (3-Clause)

@@ -5,0 +5,0 @@ * @Copyright (c) - <richenlin(at)gmail.com>

{
"name": "koatty_core",
"version": "1.9.0-0",
"version": "1.9.0-2",
"description": "Koatty framework core",

@@ -5,0 +5,0 @@ "scripts": {

{
"name": "koatty_core",
"version": "1.9.0-0",
"version": "1.9.0-2",
"description": "Koatty framework core",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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