@isoftdata/svelte-user-configuration 1.2.5 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -317,12 +317,12 @@ $: isCreatingNewUser = userAccount.id === null;
317
317
  try {
318
318
  await confirmPasswordSet({ currentPassword, newPassword })
319
319
  await success?.({
320
- heading: translate('configuration.user.passwordChangeSuccess', 'Password Changed!'),
321
- message: translate('configuration.user.passwordChangeSuccess', 'Password changed successfully'),
320
+ heading: translate('configuration.user.passwordChangeSuccessHeading', 'Password Changed!'),
321
+ message: translate('configuration.user.passwordChangeSuccessMessage', 'Password changed successfully'),
322
322
  })
323
323
  } catch (err) {
324
324
  await error?.({
325
- heading: translate('configuration.user.passwordChangeFailure', 'Failed To Change Password'),
325
+ heading: translate('configuration.user.passwordChangeErrorHeading', 'Failed To Change Password'),
326
326
  message: err instanceof Error ? err.message : translate('workOrder.unknownError', 'An unknown error occurred'),
327
327
  })
328
328
  console.error(err)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isoftdata/svelte-user-configuration",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",