New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@canvas-js/interfaces

Package Overview
Dependencies
Maintainers
3
Versions
227
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@canvas-js/interfaces - npm Package Compare versions

Comparing version 0.13.10 to 0.13.11

7

lib/SessionSigner.d.ts

@@ -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)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc