@punks/backend-entity-manager 0.0.506 → 0.0.509

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.
@@ -5,7 +5,12 @@ export declare enum UserCreationError {
5
5
  export type UserCreationInput<TUserRegistrationInfo, TUserContext extends IAuthUserContext> = {
6
6
  email: string;
7
7
  userName: string;
8
- password: string;
8
+ /**
9
+ * Password for the user account.
10
+ * - Required for standard email/password authentication
11
+ * - Should be omitted (undefined) when using passwordless OAuth login
12
+ */
13
+ password?: string;
9
14
  registrationInfo: TUserRegistrationInfo;
10
15
  context?: TUserContext;
11
16
  verified?: boolean;
package/dist/index.d.ts CHANGED
@@ -2085,7 +2085,12 @@ declare enum UserCreationError {
2085
2085
  type UserCreationInput<TUserRegistrationInfo, TUserContext extends IAuthUserContext> = {
2086
2086
  email: string;
2087
2087
  userName: string;
2088
- password: string;
2088
+ /**
2089
+ * Password for the user account.
2090
+ * - Required for standard email/password authentication
2091
+ * - Should be omitted (undefined) when using passwordless OAuth login
2092
+ */
2093
+ password?: string;
2089
2094
  registrationInfo: TUserRegistrationInfo;
2090
2095
  context?: TUserContext;
2091
2096
  verified?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.506",
3
+ "version": "0.0.509",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",