From 10a1a4bfc5ec79ea0b7b2049fd7d1953ca0810ef Mon Sep 17 00:00:00 2001 From: Irakli Gozalishvili Date: Wed, 8 Nov 2023 10:47:17 -0800 Subject: [PATCH] fix: put access.session back (#1100) --- packages/capabilities/src/access.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/capabilities/src/access.js b/packages/capabilities/src/access.js index d6d188c18..cd1508d81 100644 --- a/packages/capabilities/src/access.js +++ b/packages/capabilities/src/access.js @@ -10,9 +10,15 @@ */ import { capability, URI, DID, Schema, fail, ok } from '@ucanto/validator' import * as Types from '@ucanto/interface' +import { attest } from './ucan.js' import { equalWith, equal, and, SpaceDID, checkLink } from './utils.js' export { top } from './top.js' +/** + * @deprecated - Use `ucan.attest` instead. + */ +export const session = attest + /** * Account identifier. */