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.27 to 0.0.28

14

dist/index.d.ts

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

}
export interface URPC_Variable<T extends () => any = () => any, G extends () => any | undefined = () => any> {
export interface URPC_Variable<T extends () => any = () => any> {
uid: string;

@@ -47,11 +47,9 @@ type?: "var";

schema?: (val: ReturnType<T>) => {
[F in keyof Item<ReturnType<T>>]?: {
[F in keyof Item<ReturnType<T>> | string]?: {
type?: string;
uiConfig?: FormConfigItem;
} | {
type: "action";
call(val: Item<ReturnType<G>>): any;
call?: (val: Item<ReturnType<T>>) => any;
};
};
_schema?: ReturnType<Required<URPC_Variable<T, G>>["schema"]>;
_schema?: ReturnType<Required<URPC_Variable<T>>["schema"]>;
actions?: ActionType<Item<ReturnType<T>>>;

@@ -70,3 +68,3 @@ patch?: {

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

@@ -141,3 +139,3 @@ [key: string]: URPC_Entity | URPC_Schema;

var: {
set<R_1 extends keyof T, V extends T[R_1] extends URPC_Variable<infer Z_2 extends () => any, any> ? Z_2 : never>(params: {
set<R_1 extends keyof T, V extends T[R_1] extends URPC_Variable<infer Z_2 extends () => any> ? Z_2 : never>(params: {
name: R_1;

@@ -144,0 +142,0 @@ value: ReturnType<V>;

{
"name": "@dappworks/urpc",
"version": "0.0.27",
"version": "0.0.28",
"module": "index.ts",

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

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