@bash-app/bash-common 29.21.24 → 29.21.26

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "29.21.24",
3
+ "version": "29.21.26",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -14,7 +14,7 @@ import {
14
14
  } from "@prisma/client";
15
15
  import { ServiceExt, CheckoutExt, PublicUser, VolunteerServiceExt, BashEventExt} from "./extendedSchemas";
16
16
 
17
- export const PASSWORD_MIN_LENGTH = 10 as const;
17
+ export const PASSWORD_MIN_LENGTH = 8 as const;
18
18
  export const PASSWORD_REQUIREMENTS_REGEX = new RegExp(String.raw`^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&^#])[A-Za-z\d@$!%*?&^#]{${PASSWORD_MIN_LENGTH},}$`);
19
19
  export const BASH_FEE_PERCENTAGE = 0.10;
20
20
  export const GOOGLE_CALLBACK_URL = '/auth/google/callback' as const;
@@ -79,8 +79,6 @@ export const PRISMA_USER_TTL_SECONDS = 60 * 7; // 7 hours
79
79
  export const PRISMA_BASH_EVENT_TTL_SECONDS = 60 as const;
80
80
  export const PRISMA_SERVICE_TTL_SECONDS = 60 as const;
81
81
 
82
- export const MIN_PASSWORD_LENGTH = 8 as const;
83
-
84
82
  export const DEBOUNCE_WAIT = 1000 as const;
85
83
 
86
84
  export const ASSET_KEY_DELIM = '__' as const;