New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ucanto/client

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ucanto/client - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

6

dist/src/connection.d.ts
export function connect<T extends Record<string, any>>(options: API.ConnectionOptions<T>): API.ConnectionView<T>;
export function execute<C extends API.Capability<API.Ability, `${string}:${string}`>, T extends Record<string, any>, I extends API.Transport.Tuple<API.ServiceInvocation<C, T>>>(invocations: I, connection: API.Connection<T>): Promise<API.InferServiceInvocations<I, T>>;
export function execute<C extends API.Capability<API.Ability, `${string}:${string}`, any>, T extends Record<string, any>, I extends API.Transport.Tuple<API.ServiceInvocation<C, T>>>(invocations: I, connection: API.Connection<T>): Promise<API.InferServiceInvocations<I, T>>;
import * as API from "@ucanto/interface";

@@ -13,3 +13,3 @@ /**

constructor(options: API.ConnectionOptions<T>);
id: API.Principal<number>;
id: API.Principal<string>;
options: API.ConnectionOptions<T>;

@@ -25,5 +25,5 @@ encoder: API.RequestEncoder;

*/
execute<C extends API.Capability<API.Ability, `${string}:${string}`>, I extends API.Transport.Tuple<API.ServiceInvocation<C, T>>>(...invocations: I): Promise<API.InferServiceInvocations<I, T>>;
execute<C extends API.Capability<API.Ability, `${string}:${string}`, any>, I extends API.Transport.Tuple<API.ServiceInvocation<C, T>>>(...invocations: I): Promise<API.InferServiceInvocations<I, T>>;
}
export {};
//# sourceMappingURL=connection.d.ts.map
{
"name": "@ucanto/client",
"description": "UCAN RPC Client",
"version": "1.0.1",
"version": "2.0.0",
"keywords": [

@@ -24,3 +24,3 @@ "UCAN",

"dependencies": {
"@ucanto/interface": "^1.0.0",
"@ucanto/interface": "^2.0.0",
"multiformats": "^9.8.1"

@@ -32,5 +32,5 @@ },

"@types/mocha": "^9.1.0",
"@ucanto/principal": "^1.0.1",
"@ucanto/core": "^1.0.1",
"@ucanto/transport": "^1.0.1",
"@ucanto/principal": "^2.0.0",
"@ucanto/core": "^2.0.0",
"@ucanto/transport": "^2.0.0",
"@web-std/fetch": "^4.1.0",

@@ -37,0 +37,0 @@ "@web-std/file": "^3.0.2",

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