🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@isoftdata/svelte-user-configuration

Package Overview
Dependencies
Maintainers
12
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@isoftdata/svelte-user-configuration - npm Package Compare versions

Comparing version
2.3.3
to
2.4.0
+3
-1
dist/UserAccountInfo.svelte

@@ -24,2 +24,3 @@ <script lang="ts">

hasPermissionToChangePassword?: boolean
hasPermissionToChangeUsername?: boolean
generateNewActivationPIN?: (userName: string, hasWorkEmail: boolean) => Promise<void>

@@ -50,2 +51,3 @@ confirmPasswordSet?: ConfirmPasswordSetFn

hasPermissionToChangePassword = false,
hasPermissionToChangeUsername = true,
generateNewActivationPIN = () => Promise.resolve(),

@@ -264,3 +266,3 @@ confirmPasswordSet = undefined,

bind:input={usernameInput}
readonly={myAccountMode || undefined}
readonly={myAccountMode || !hasPermissionToChangeUsername || undefined}
tabindex={myAccountMode ? -1 : undefined}

@@ -267,0 +269,0 @@ onchange={() => accountInfoChanged?.(userAccount)}

@@ -10,2 +10,3 @@ import type { HTMLDivAttributes } from './';

hasPermissionToChangePassword?: boolean;
hasPermissionToChangeUsername?: boolean;
generateNewActivationPIN?: (userName: string, hasWorkEmail: boolean) => Promise<void>;

@@ -12,0 +13,0 @@ confirmPasswordSet?: ConfirmPasswordSetFn;

@@ -50,2 +50,3 @@ <script lang="ts">

hasPermissionToChangePassword?: HasPermissionToChangePassword
hasPermissionToChangeUsername?: boolean
passwordValidationRules?: PasswordValidationRules | undefined

@@ -92,2 +93,3 @@ error?: ErrorFn

hasPermissionToChangePassword = false,
hasPermissionToChangeUsername = true,
passwordValidationRules = undefined,

@@ -137,2 +139,3 @@ error = undefined,

{hasPermissionToChangePassword}
{hasPermissionToChangeUsername}
icon={userAccountInfoIcon}

@@ -139,0 +142,0 @@ bind:userAccount

@@ -16,2 +16,3 @@ import { type Snippet } from 'svelte';

hasPermissionToChangePassword?: HasPermissionToChangePassword;
hasPermissionToChangeUsername?: boolean;
passwordValidationRules?: PasswordValidationRules | undefined;

@@ -18,0 +19,0 @@ error?: ErrorFn;

{
"name": "@isoftdata/svelte-user-configuration",
"version": "2.3.3",
"version": "2.4.0",
"exports": {

@@ -68,3 +68,3 @@ ".": {

"engines": {
"pnpm": "10.x"
"pnpm": ">=10.x"
},

@@ -71,0 +71,0 @@ "scripts": {