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

@ucanto/server

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ucanto/server - npm Package Compare versions

Comparing version 3.0.8 to 4.0.2

6

dist/src/server.d.ts

@@ -42,4 +42,4 @@ export function create<Service extends Record<string, any>>(options: API.Server<Service>): API.ServerView<Service>;

my?: ((issuer: `did:${string}:${string}`) => API.Capability<API.Ability, `${string}:${string}`, unknown>[]) | undefined;
resolve?: ((proof: API.UCANLink<API.Capabilities, API.UCAN.Code, number>) => API.Await<API.Result<API.Delegation<API.Capabilities>, API.UnavailableProof>>) | undefined;
id: API.Principal<string>;
resolve?: ((proof: API.UCANLink<API.Capabilities, API.MulticodecCode<number, string>, API.SigAlg>) => API.Await<API.Result<API.Delegation<API.Capabilities>, API.UnavailableProof>>) | undefined;
id: API.Principal<`did:${string}:${string}`>;
principal: API.PrincipalParser;

@@ -56,3 +56,3 @@ canIssue: (capability: {

catch: (err: API.HandlerExecutionError) => void;
get id(): API.Principal<string>;
get id(): API.Principal<`did:${string}:${string}`>;
/**

@@ -59,0 +59,0 @@ * @template {API.Capability} C

{
"name": "@ucanto/server",
"description": "UCAN RPC Server",
"version": "3.0.8",
"version": "4.0.2",
"types": "./dist/src/lib.d.ts",

@@ -23,5 +23,5 @@ "main": "./src/lib.js",

"dependencies": {
"@ucanto/core": "^3.0.5",
"@ucanto/interface": "^3.0.1",
"@ucanto/validator": "^3.0.7"
"@ucanto/core": "^4.0.2",
"@ucanto/interface": "^4.0.2",
"@ucanto/validator": "^4.0.2"
},

@@ -32,5 +32,5 @@ "devDependencies": {

"@types/mocha": "^9.1.0",
"@ucanto/principal": "^3.0.1",
"@ucanto/client": "^3.0.5",
"@ucanto/transport": "^3.0.5",
"@ucanto/principal": "^4.0.2",
"@ucanto/client": "^4.0.2",
"@ucanto/transport": "^4.0.2",
"@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