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

@syncot/auth

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncot/auth - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

20

lib/auth.d.ts

@@ -49,21 +49,17 @@ import { Presence } from '@syncot/presence';

/**
* Resolves to true, if the user may read from the specified document,
* otherwise resolves to false.
* Determines if the user may read from the specified document.
*/
mayReadDocument(typeName: string, id: string): Promise<boolean>;
mayReadDocument(typeName: string, id: string): boolean | Promise<boolean>;
/**
* Resolves to true, if the user may write to the specified document,
* otherwise resolves to false.
* Determines if the user may write to the specified document.
*/
mayWriteDocument(typeName: string, id: string): Promise<boolean>;
mayWriteDocument(typeName: string, id: string): boolean | Promise<boolean>;
/**
* Resolves to true, if the user may read/load the specified presence object,
* otherwise resolves to false.
* Determines if the user may read/load the specified presence object.
*/
mayReadPresence(presence: Presence): Promise<boolean>;
mayReadPresence(presence: Presence): boolean | Promise<boolean>;
/**
* Resolves to true, if the user may write/store the specified presence object,
* otherwise resolves to false.
* Determines if the user may write/store the specified presence object.
*/
mayWritePresence(presence: Presence): Promise<boolean>;
mayWritePresence(presence: Presence): boolean | Promise<boolean>;
}

4

package.json
{
"name": "@syncot/auth",
"version": "0.0.8",
"version": "0.0.9",
"description": "Interfaces and type definitions related to authentication and authorization.",

@@ -33,3 +33,3 @@ "keywords": [

},
"gitHead": "8de3f7bbee6695ec65937da8b8bbdbe9c867b996"
"gitHead": "26a9162af9e2253c6451c29523370ab3b2b1f20b"
}
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