@voidwalkers/void-functions
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "@voidwalkers/void-functions", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Functions for Void Walkers Void", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -5,3 +5,3 @@ import {FunctionType} from '#src/lib/constants.js'; | ||
export function registerCallFunction(name, func) { | ||
export function registerCallFunction(name, func, options) { | ||
if (!registerHandler) { | ||
@@ -11,6 +11,6 @@ throw new Error('Register handler not set'); | ||
registerHandler(FunctionType.Call, name, func); | ||
registerHandler(FunctionType.Call, name, func, options); | ||
} | ||
export function registerHttpFunction(name, func) { | ||
export function registerHttpFunction(name, func, options) { | ||
if (!registerHandler) { | ||
@@ -20,3 +20,3 @@ throw new Error('Register handler not set'); | ||
registerHandler(FunctionType.Http, name, func); | ||
registerHandler(FunctionType.Http, name, func, options); | ||
} | ||
@@ -23,0 +23,0 @@ |
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
1898