Skip to content

Commit 10a1a4b

Browse files
authored
fix: put access.session back (#1100)
1 parent 9b752f9 commit 10a1a4b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/capabilities/src/access.js

+6
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@
1010
*/
1111
import { capability, URI, DID, Schema, fail, ok } from '@ucanto/validator'
1212
import * as Types from '@ucanto/interface'
13+
import { attest } from './ucan.js'
1314
import { equalWith, equal, and, SpaceDID, checkLink } from './utils.js'
1415
export { top } from './top.js'
1516

17+
/**
18+
* @deprecated - Use `ucan.attest` instead.
19+
*/
20+
export const session = attest
21+
1622
/**
1723
* Account identifier.
1824
*/

0 commit comments

Comments
 (0)