nats-hemera
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -231,4 +231,4 @@ /// <reference types="node" /> | ||
type ActPromiseResult = { | ||
data: any | ||
type ActPromiseResult<T> = { | ||
data: T | ||
context: Hemera<ClientRequest, ClientResponse> | ||
@@ -259,3 +259,3 @@ } | ||
act(pattern: string | Hemera.ClientPattern, handler: Hemera.ActHandler): void | ||
act(pattern: string | Hemera.ClientPattern): Promise<Hemera.ActPromiseResult> | ||
act<T>(pattern: string | Hemera.ClientPattern): Promise<Hemera.ActPromiseResult<T>> | ||
@@ -262,0 +262,0 @@ // add |
{ | ||
"name": "nats-hemera", | ||
"author": "Dustin Deus (https://github.com/StarpTech)", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"main": "lib/index.js", | ||
@@ -61,3 +61,3 @@ "homepage": "https://hemerajs.github.io/hemera/", | ||
"typings": "./index.d.ts", | ||
"gitHead": "ca0731186ddc56c051acf467a1257e11307f528d" | ||
"gitHead": "f429eead7a3e479a55008ee1d35e8f92d55f213e" | ||
} |
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
79446