Socket
Socket
Sign inDemoInstall

@propelauth/express

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

@propelauth/express - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

dist/UpdateUserEmailException.d.ts

12

dist/api.d.ts

@@ -7,2 +7,3 @@ import { Org, User, UserMetadata } from "./user";

export declare function fetchTokenVerificationMetadata(authUrl: URL, apiKey: string, manualTokenVerificationMetadata?: TokenVerificationMetadata): Promise<TokenVerificationMetadata>;
export declare function fetchUserMetadataByUserIdWithIdCheck(authUrl: URL, apiKey: string, userId: string, includeOrgs?: boolean): Promise<UserMetadata | null>;
export declare function fetchUserMetadataByQuery(authUrl: URL, apiKey: string, pathParam: string, query: any): Promise<UserMetadata | null>;

@@ -58,1 +59,12 @@ export declare function fetchBatchUserMetadata(authUrl: URL, apiKey: string, type: string, values: string[], keyFunction: (x: UserMetadata) => string, includeOrgs?: boolean): Promise<{

export declare function createUser(authUrl: URL, apiKey: string, createUserRequest: CreateUserRequest): Promise<User>;
export declare type UpdateUserMetadataRequest = {
username?: string;
firstName?: string;
lastName?: string;
};
export declare function updateUserMetadata(authUrl: URL, apiKey: string, userId: string, updateUserMetadataRequest: UpdateUserMetadataRequest): Promise<boolean>;
export declare type UpdateUserEmailRequest = {
newEmail: string;
requireEmailConfirmation: boolean;
};
export declare function updateUserEmail(authUrl: URL, apiKey: string, userId: string, updateUserEmail: UpdateUserEmailRequest): Promise<boolean>;

4

dist/auth.d.ts
/// <reference types="qs" />
import { NextFunction, Request, Response } from "express";
import { CreateUserRequest, OrgQuery, OrgQueryResponse, TokenVerificationMetadata, UsersInOrgQuery, UsersPagedResponse, UsersQuery } from "./api";
import { CreateUserRequest, OrgQuery, OrgQueryResponse, TokenVerificationMetadata, UpdateUserEmailRequest, UpdateUserMetadataRequest, UsersInOrgQuery, UsersPagedResponse, UsersQuery } from "./api";
import { Org, User, UserMetadata, UserRole } from "./user";

@@ -43,2 +43,4 @@ export declare type AuthOptions = {

createUser: (createUserRequest: CreateUserRequest) => Promise<User>;
updateUserMetadata: (userId: string, updateUserMetadataRequest: UpdateUserMetadataRequest) => Promise<boolean>;
updateUserEmail: (userId: string, updateUserEmailRequest: UpdateUserEmailRequest) => Promise<boolean>;
UserRole: typeof UserRole;

@@ -45,0 +47,0 @@ };

@@ -7,3 +7,3 @@ {

},
"version": "1.2.3",
"version": "1.2.4",
"license": "MIT",

@@ -10,0 +10,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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