diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index eaab2c8a..8772a6a3 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -3,7 +3,7 @@ on: push: branches: - master - - 5.x.x-beta + - angular-19 pull_request: branches: - master diff --git a/package.json b/package.json index 46b112e7..e1b4e6a4 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,11 @@ "release": { "branches": [ "master", + { + "name": "angular-19", + "prerelease": true, + "channel": "beta" + }, { "name": "5.x.x-beta", "prerelease": true, diff --git a/projects/stream-chat-angular/package.json b/projects/stream-chat-angular/package.json index 41a2d2fd..1018b646 100644 --- a/projects/stream-chat-angular/package.json +++ b/projects/stream-chat-angular/package.json @@ -1,6 +1,6 @@ { "name": "stream-chat-angular", - "version": "5.8.5", + "version": "5.9.0-angular-19.2", "description": "Angular components to create chat conversations or livestream style chat", "author": "GetStream", "homepage": "https://getstream.io/chat/", @@ -17,8 +17,8 @@ } }, "peerDependencies": { - "@angular/common": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", - "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", + "@angular/common": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "@breezystack/lamejs": "^1.2.7", "@ngx-translate/core": "^14.0.0 || ^15.0.0", "rxjs": "^7.4.0", diff --git a/projects/stream-chat-angular/src/assets/version.ts b/projects/stream-chat-angular/src/assets/version.ts index 45eff984..a5a8c57b 100644 --- a/projects/stream-chat-angular/src/assets/version.ts +++ b/projects/stream-chat-angular/src/assets/version.ts @@ -1 +1 @@ -export const version = '5.8.5'; +export const version = '5.9.0-angular-19.2'; diff --git a/projects/stream-chat-angular/src/lib/voice-recorder/audio-recorder.service.ts b/projects/stream-chat-angular/src/lib/voice-recorder/audio-recorder.service.ts index c99538b1..a17c113b 100644 --- a/projects/stream-chat-angular/src/lib/voice-recorder/audio-recorder.service.ts +++ b/projects/stream-chat-angular/src/lib/voice-recorder/audio-recorder.service.ts @@ -1,4 +1,4 @@ -import { Injectable } from '@angular/core'; +import { Injectable, NgModule } from '@angular/core'; import { AmplitudeRecorderService } from './amplitude-recorder.service'; import { isSafari } from '../is-safari'; import { MediaRecorderConfig, MultimediaRecorder } from './media-recorder'; @@ -7,12 +7,11 @@ import { ChatClientService } from '../chat-client.service'; import { TranscoderService } from './transcoder.service'; import { resampleWaveForm } from '../wave-form-sampler'; import { AudioRecording, MediaRecording } from '../types'; -import { NgModel } from '@angular/forms'; /** * The `AudioRecorderService` can record an audio file, the SDK uses this to record a voice message */ -@Injectable({ providedIn: NgModel }) +@Injectable({ providedIn: NgModule }) export class AudioRecorderService extends MultimediaRecorder< Omit > {