Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@accounts/types

Package Overview
Dependencies
Maintainers
6
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accounts/types - npm Package Compare versions

Comparing version 0.26.0 to 0.27.0

5

lib/types/impersonation-result.d.ts
import { Tokens } from './tokens';
import { User } from './user';
export interface ImpersonationUserIdentity {
userId?: string;
username?: string;
email?: string;
}
export interface ImpersonationResult {

@@ -4,0 +9,0 @@ authorized: boolean;

2

lib/types/session/database-interface.d.ts

@@ -9,3 +9,3 @@ import { Session } from './session';

invalidateSession(sessionId: string): Promise<void>;
invalidateAllSessions(userId: string): Promise<void>;
invalidateAllSessions(userId: string, excludedSessionIds?: string[]): Promise<void>;
}
{
"name": "@accounts/types",
"version": "0.26.0",
"version": "0.27.0",
"description": "Accounts-js Types",

@@ -51,3 +51,3 @@ "main": "lib/index.js",

},
"gitHead": "403bd2ea58bc1116c061c5dc1b6e203e20ce2f1b"
"gitHead": "3f2f184f7d1f4229bfefb4ed99283de05a60d985"
}
import { Tokens } from './tokens';
import { User } from './user';
export interface ImpersonationUserIdentity {
userId?: string;
username?: string;
email?: string;
}
export interface ImpersonationResult {

@@ -5,0 +11,0 @@ authorized: boolean;

@@ -24,3 +24,3 @@ import { Session } from './session';

invalidateAllSessions(userId: string): Promise<void>;
invalidateAllSessions(userId: string, excludedSessionIds?: string[]): Promise<void>;
}
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