Skip to content

Commit

Permalink
Merge pull request #670 from GetStream/angular-19
Browse files Browse the repository at this point in the history
feat: add support for Angular 19
  • Loading branch information
szuperaz authored Nov 22, 2024
2 parents 9d705ef + 03ef69e commit ced382c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- master
- 5.x.x-beta
- angular-19
pull_request:
branches:
- master
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
"release": {
"branches": [
"master",
{
"name": "angular-19",
"prerelease": true,
"channel": "beta"
},
{
"name": "5.x.x-beta",
"prerelease": true,
Expand Down
6 changes: 3 additions & 3 deletions projects/stream-chat-angular/package.json
Original file line number Diff line number Diff line change
@@ -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/",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion projects/stream-chat-angular/src/assets/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '5.8.5';
export const version = '5.9.0-angular-19.2';
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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<AudioRecording, keyof MediaRecording>
> {
Expand Down

0 comments on commit ced382c

Please sign in to comment.