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

@dappworks/urpc

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dappworks/urpc - npm Package Compare versions

Comparing version 0.0.33 to 0.0.34

25

dist/index.d.ts

@@ -28,3 +28,3 @@ // Generated by dts-bundle-generator v9.5.1

export type Item<T> = T extends (infer U)[] ? U : T;
export interface URPC_Function<T extends Object = {}, R = any> {
export interface URPC_Function<T extends Object = {}, R extends any = any, V = any> {
uid: string;

@@ -37,3 +37,4 @@ type?: "func";

input: T;
}) => R;
val?: Item<R>;
}) => V;
uiConfig?: () => FormConfigType<T>;

@@ -45,3 +46,3 @@ }

uiConfig?: FormConfigItem;
} | URPC_Action<T, R>;
} | URPC_Action<T, R> | URPC_Function<T, R, any>;
export type URPC_Action<T extends Object = {}, R extends any = any> = {

@@ -62,2 +63,3 @@ type?: "action";

get: G;
value: ReturnType<G>;
schema?: (val: R) => {

@@ -84,3 +86,3 @@ [F in keyof Item<R>]?: SchemaItem<any, R>;

}
export type URPC_Entity = URPC_Function<any, any> | URPC_Variable<any>;
export type URPC_Entity = URPC_Function<any, any, any> | URPC_Variable<any>;
export type URPC_Schema = {

@@ -94,3 +96,3 @@ [key: string]: URPC_Entity | URPC_Schema;

static Var<G extends () => any>(args: Partial<URPC_Variable<G>>): URPC_Variable<G>;
static Func<T extends Object = {}, R = any>(args: Partial<URPC_Function<T, R>>): URPC_Function<T, R>;
static Func<T extends Object = {}, R = any, V = any>(args: Partial<URPC_Function<T, R, V>>): URPC_Function<T, R, V>;
static Action<T extends Object = {}, R = any>(args: Partial<URPC_Action<T, R>>): URPC_Action<T, R>;

@@ -163,4 +165,4 @@ constructor(args?: Partial<URPC<T>>);

method: R;
input: Partial<T[R] extends URPC_Function<infer Z extends Object, any> ? Z : never>;
}): Promise<T[R] extends URPC_Function<any, infer Z_1> ? Z_1 : never>;
input: Partial<T[R] extends URPC_Function<infer Z extends Object, any, any> ? Z : never>;
}): Promise<T[R] extends URPC_Function<any, infer Z_1 extends unknown, any> ? Z_1 : never>;
};

@@ -184,4 +186,4 @@ var: {

method: R_2;
input: Partial<T[R_2] extends URPC_Function<infer Z_3 extends Object, any> ? Z_3 : never>;
}): Promise<T[R_2] extends URPC_Function<any, infer Z_4> ? Z_4 : never>;
input: Partial<T[R_2] extends URPC_Function<infer Z_3 extends Object, any, any> ? Z_3 : never>;
}): Promise<T[R_2] extends URPC_Function<any, infer Z_4 extends unknown, any> ? Z_4 : never>;
};

@@ -234,3 +236,3 @@ };

uiConfig?: FormConfigItem | undefined;
} | URPC_Action<any, any>) | undefined;
} | URPC_Function<any, any, any> | URPC_Action<any, any>) | undefined;
} & {

@@ -240,3 +242,3 @@ [key: string]: {

uiConfig?: FormConfigItem | undefined;
} | URPC_Action<any, any>;
} | URPC_Function<any, any, any> | URPC_Action<any, any>;
}) | null;

@@ -285,2 +287,3 @@ input?: undefined;

method: string;
value: any;
input?: any;

@@ -287,0 +290,0 @@ }): Promise<any>;

{
"name": "@dappworks/urpc",
"version": "0.0.33",
"version": "0.0.34",
"module": "index.ts",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

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