hunk.code_window:     }
       return this.notifire;
     }
     async registerProviders(): Promise<any> {
       const providerPromises = [];
       for (let i = 0; i < this.providers.length; i += 1) {
         const waiting = await this.notifire.registerProvider(this.providers[i]);
         providerPromises.push(waiting);
       }
  
hunk.labels: keep keep keep keep replace replace replace replace replace replace keep
hunk.after_edit:   async registerProviders(): Promise<void> {
       for (const provider of this.providers) {
         await this.notifire.registerProvider(provider);
  
hunk.file_path: packages/nest/src/services/notifire.service.ts
hunk.type: replace
file: import { post } from './api.service';
  
  export async function initializeSession(
    appId: string,
    userId: string,
    userInfo: { email: string; firstName: string; lastName: string; phone: string }
  ) {
    return await post(`/widgets/session/initialize`, {
      applicationIdentifier: appId,
      $user_id: userId,
      $first_name: userInfo.firstName,
      $last_name: userInfo.lastName,
      $email: userInfo.email,
      $phone: userInfo.phone,
    });
  }
  