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

@accounts/two-factor

Package Overview
Dependencies
Maintainers
3
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accounts/two-factor - npm Package Compare versions

Comparing version 1.0.0-alpha-20231122105229-8edd073f to 1.0.0-alpha-20231122120807-69a661e3

2

lib/errors.d.ts

@@ -1,2 +0,2 @@

import { ErrorMessages } from './types';
import { type ErrorMessages } from './types';
export declare const errors: ErrorMessages;

@@ -1,4 +0,4 @@

import { GeneratedSecret } from '@levminer/speakeasy';
import { User, DatabaseInterfaceUser } from '@accounts/types';
import { AccountsTwoFactorOptions } from './types';
import { type GeneratedSecret } from '@levminer/speakeasy';
import { type User, type DatabaseInterfaceUser } from '@accounts/types';
import { type AccountsTwoFactorOptions } from './types';
export declare class TwoFactor<CustomUser extends User = User> {

@@ -5,0 +5,0 @@ private options;

@@ -1,2 +0,2 @@

import { ErrorMessages } from './error-messages';
import { type ErrorMessages } from './error-messages';
export interface AccountsTwoFactorOptions {

@@ -3,0 +3,0 @@ /**

@@ -1,4 +0,4 @@

import { GeneratedSecret } from '@levminer/speakeasy';
import { type GeneratedSecret } from '@levminer/speakeasy';
export interface TwoFactorService {
secret: GeneratedSecret;
}

@@ -1,3 +0,3 @@

import { User } from '@accounts/types';
import { TwoFactorService } from '../types';
import { type User } from '@accounts/types';
import { type TwoFactorService } from '../types';
/**

@@ -4,0 +4,0 @@ * Return the user two factor service object

{
"name": "@accounts/two-factor",
"version": "1.0.0-alpha-20231122105229-8edd073f",
"version": "1.0.0-alpha-20231122120807-69a661e3",
"license": "MIT",

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

"dependencies": {
"@accounts/types": "1.0.0-alpha-20231122105229-8edd073f",
"@accounts/types": "1.0.0-alpha-20231122120807-69a661e3",
"@levminer/speakeasy": "1.4.2",

@@ -32,0 +32,0 @@ "tslib": "2.6.2"

@@ -1,2 +0,2 @@

import { ErrorMessages } from './types';
import { type ErrorMessages } from './types';

@@ -3,0 +3,0 @@ export const errors: ErrorMessages = {

@@ -1,5 +0,5 @@

import { GeneratedSecret, generateSecret, totp } from '@levminer/speakeasy';
import { User, DatabaseInterfaceUser } from '@accounts/types';
import { type GeneratedSecret, generateSecret, totp } from '@levminer/speakeasy';
import { type User, type DatabaseInterfaceUser } from '@accounts/types';
import { errors } from './errors';
import { AccountsTwoFactorOptions } from './types';
import { type AccountsTwoFactorOptions } from './types';
import { getUserTwoFactorService } from './utils';

@@ -6,0 +6,0 @@

@@ -1,2 +0,2 @@

import { ErrorMessages } from './error-messages';
import { type ErrorMessages } from './error-messages';

@@ -3,0 +3,0 @@ export interface AccountsTwoFactorOptions {

@@ -1,2 +0,2 @@

import { GeneratedSecret } from '@levminer/speakeasy';
import { type GeneratedSecret } from '@levminer/speakeasy';

@@ -3,0 +3,0 @@ export interface TwoFactorService {

@@ -1,3 +0,3 @@

import { User } from '@accounts/types';
import { TwoFactorService } from '../types';
import { type User } from '@accounts/types';
import { type TwoFactorService } from '../types';

@@ -4,0 +4,0 @@ /**

Sorry, the diff of this file is not supported yet

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