Socket
Socket
Sign inDemoInstall

server-act

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

server-act - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

8

dist/index.d.ts

@@ -21,13 +21,13 @@ import { z } from 'zod';

*/
middleware: <TContext>(middleware: () => Promise<TContext> | TContext) => ActionBuilder<{
middleware: <TContext>(middleware: () => Promise<TContext> | TContext) => Omit<ActionBuilder<{
_input: TParams["_input"];
_context: TContext;
}>;
}>, "middleware">;
/**
* Input validation for the action.
*/
input: <TParser extends z.ZodType>(input: TParser) => ActionBuilder<{
input: <TParser extends z.ZodType>(input: TParser) => Omit<ActionBuilder<{
_input: TParser;
_context: TParams["_context"];
}>;
}>, "input">;
/**

@@ -34,0 +34,0 @@ * Create an action.

{
"name": "server-act",
"version": "1.2.1",
"version": "1.2.2",
"homepage": "https://github.com/chungweileong94/server-act#readme",

@@ -5,0 +5,0 @@ "author": "chungweileong94",

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