@ucanto/server
Advanced tools
Comparing version 3.0.8 to 4.0.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18025
+ Added@ipld/dag-json@10.2.3(transitive)
+ Added@ipld/dag-ucan@3.4.0(transitive)
+ Added@ucanto/core@4.4.0(transitive)
+ Added@ucanto/interface@4.4.1(transitive)
+ Added@ucanto/validator@4.4.0(transitive)
- Removed@ipld/dag-json@9.1.1(transitive)
- Removed@ipld/dag-ucan@2.0.1(transitive)
- Removed@ucanto/core@3.0.5(transitive)
- Removed@ucanto/interface@3.0.1(transitive)
- Removed@ucanto/validator@3.0.7(transitive)
- Removedmultiformats@10.0.3(transitive)
Updated@ucanto/core@^4.0.2
Updated@ucanto/interface@^4.0.2
Updated@ucanto/validator@^4.0.2