@punks/backend-entity-manager 0.0.505 → 0.0.508

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;
@@ -5,4 +5,5 @@ export declare class AwsSesEmailProvider implements IEmailProvider<AwsSesEmailTe
5
5
  constructor();
6
6
  sendTemplatedEmail<TPayload, TAugmentedPayload>(input: TemplatedEmailInput<TPayload>, template: IEmailTemplate<AwsSesEmailTemplateData, TPayload, TAugmentedPayload>, options?: EmailSendOptions): Promise<void>;
7
7
  sendHtmlEmail<TPayload>(input: HtmlEmailInput<TPayload>, options?: EmailSendOptions): Promise<void>;
8
+ private invokeEmailSend;
8
9
  }
@@ -6,5 +6,7 @@ export type AwsSesSettings = {
6
6
  defaultSender: string;
7
7
  defaultCc?: string[];
8
8
  defaultBcc?: string[];
9
+ sandboxMode?: boolean;
10
+ sandboxAddresses?: string[];
9
11
  };
10
12
  export declare const awsSesSettings: AppInMemorySettings<AwsSesSettings>;
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;
@@ -3659,6 +3664,8 @@ type AwsSesSettings = {
3659
3664
  defaultSender: string;
3660
3665
  defaultCc?: string[];
3661
3666
  defaultBcc?: string[];
3667
+ sandboxMode?: boolean;
3668
+ sandboxAddresses?: string[];
3662
3669
  };
3663
3670
 
3664
3671
  declare class AwsEmailModule {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.505",
3
+ "version": "0.0.508",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -131,4 +131,4 @@
131
131
  ],
132
132
  "testTimeout": 100000
133
133
  }
134
- }
134
+ }