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

@effect/rpc

Package Overview
Dependencies
Maintainers
0
Versions
295
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect/rpc - npm Package Compare versions

Comparing version 0.39.3 to 0.39.4

6

package.json
{
"name": "@effect/rpc",
"version": "0.39.3",
"version": "0.39.4",
"description": "Functional programming in TypeScript",

@@ -13,4 +13,4 @@ "license": "MIT",

"peerDependencies": {
"@effect/platform": "^0.65.3",
"@effect/schema": "^0.73.2",
"@effect/platform": "^0.65.4",
"@effect/schema": "^0.73.3",
"effect": "^3.8.2"

@@ -17,0 +17,0 @@ },

@@ -78,3 +78,3 @@ # Introduction

// router.ts
import { Router, Rpc } from "@effect/rpc"
import { RpcRouter, Rpc } from "@effect/rpc"
import { Effect, Ref } from "effect"

@@ -116,3 +116,3 @@ import { User, UserById, UserCreate, UserList } from "./request.js"

export const appRouter = Router.make(
export const appRouter = RpcRouter.make(
Rpc.effect(UserList, () => db.user.findMany()),

@@ -119,0 +119,0 @@ Rpc.effect(UserById, ({ id }) => db.user.findById(id)),

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