@canvas-js/interfaces
Advanced tools
Comparing version 0.13.10 to 0.13.11
@@ -36,5 +36,8 @@ import type { SignatureScheme, Signer } from "./Signer.js"; | ||
/** | ||
* Verify that `session.data` authorizes `session.publicKey` | ||
* to take actions on behalf of the user `session.did` | ||
* Request a signature from the signer's Wallet, and use it to return a session. | ||
*/ | ||
authorize(data: AbstractSessionData, authorizationData?: AuthorizationData): Awaitable<Session<AuthorizationData>>; | ||
/** | ||
* Verify that `session.data` authorizes `session.publicKey` to take actions on behalf of the user `session.did`. | ||
*/ | ||
verifySession: (topic: string, session: Session<AuthorizationData>) => Awaitable<void>; | ||
@@ -41,0 +44,0 @@ clear(topic: string): Awaitable<void>; |
{ | ||
"name": "@canvas-js/interfaces", | ||
"version": "0.13.10", | ||
"version": "0.13.11", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "author": "Canvas Technologies, Inc. (https://canvas.xyz)", |
8856
183