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

@elysiajs/eden

Package Overview
Dependencies
Maintainers
0
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elysiajs/eden - npm Package Compare versions

Comparing version 1.1.0-rc.0 to 1.1.0-rc.1

6

dist/treaty2.d.ts

@@ -59,5 +59,5 @@ import { InputSchema, Elysia } from 'elysia';

type CreateParams<Route extends Record<string, any>> = Extract<keyof Route, `:${string}`> extends infer Path extends string ? IsNever<Path> extends true ? Prettify<Sign<Route>> : // ! DO NOT USE PRETTIFY ON THIS LINE, OTHERWISE FUNCTION CALLING WILL BE OMITTED
((params: {
[param in Path extends `:${infer Param}` ? Param : never]: string | number;
}) => Prettify<Sign<Route[Path]>> & CreateParams<Route[Path]>) & Prettify<Sign<Route>> : never;
(((params: {
[param in Path extends `:${infer Param}` ? Param extends `${infer Param}?` ? Param : Param : never]: string | number;
}) => Prettify<Sign<Route[Path]>> & CreateParams<Route[Path]>) & Prettify<Sign<Route>>) & (Path extends `:${string}?` ? CreateParams<Route[Path]> : {}) : never;
export interface Config {

@@ -64,0 +64,0 @@ fetch?: Omit<RequestInit, 'headers' | 'method'>;

@@ -46,5 +46,5 @@ import type { Elysia } from 'elysia';

type CreateParams<Route extends Record<string, any>> = Extract<keyof Route, `:${string}`> extends infer Path extends string ? IsNever<Path> extends true ? Prettify<Sign<Route>> : // ! DO NOT USE PRETTIFY ON THIS LINE, OTHERWISE FUNCTION CALLING WILL BE OMITTED
((params: {
[param in Path extends `:${infer Param}` ? Param : never]: string | number;
}) => Prettify<Sign<Route[Path]>> & CreateParams<Route[Path]>) & Prettify<Sign<Route>> : never;
(((params: {
[param in Path extends `:${infer Param}` ? Param extends `${infer Param}?` ? Param : Param : never]: string | number;
}) => Prettify<Sign<Route[Path]>> & CreateParams<Route[Path]>) & Prettify<Sign<Route>>) & (Path extends `:${string}?` ? CreateParams<Route[Path]> : {}) : never;
export interface Config {

@@ -51,0 +51,0 @@ fetch?: Omit<RequestInit, 'headers' | 'method'>;

{
"name": "@elysiajs/eden",
"version": "1.1.0-rc.0",
"version": "1.1.0-rc.1",
"description": "Fully type-safe Elysia client",

@@ -70,3 +70,3 @@ "author": {

"@types/node": "^18.15.5",
"elysia": "^1.1.0-rc.3",
"elysia": "^1.1.0-rc.9",
"esbuild": "^0.19.3",

@@ -73,0 +73,0 @@ "eslint": "^8.26.0",

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