@web3-storage/capabilities
Advanced tools
Comparing version 11.3.0 to 11.3.1
export { top } from "./top.js"; | ||
/** | ||
* @deprecated - Use `ucan.attest` instead. | ||
*/ | ||
export const session: Types.TheCapabilityParser<Types.CapabilityMatch<"ucan/attest", `did:${string}:${string}` & `did:${string}` & Types.Phantom<{ | ||
protocol: "did:"; | ||
}>, Schema.InferStruct<{ | ||
proof: Schema.Schema<Types.Link<unknown, number, number, 1>, any>; | ||
}>>>; | ||
/** | ||
* Account identifier. | ||
@@ -4,0 +12,0 @@ */ |
{ | ||
"name": "@web3-storage/capabilities", | ||
"version": "11.3.0", | ||
"version": "11.3.1", | ||
"description": "Capabilities provided by web3.storage", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/web3-storage/w3protocol/tree/main/packages/capabilities", |
@@ -13,2 +13,3 @@ /** | ||
import * as Types from '@ucanto/interface' | ||
import { attest } from './ucan.js' | ||
import { equalWith, equal, and, SpaceDID, checkLink } from './utils.js' | ||
@@ -18,2 +19,7 @@ export { top } from './top.js' | ||
/** | ||
* @deprecated - Use `ucan.attest` instead. | ||
*/ | ||
export const session = attest | ||
/** | ||
* Account identifier. | ||
@@ -20,0 +26,0 @@ */ |
Sorry, the diff of this file is not supported yet
146995
3405