Skip to content

Commit 4f051bf

Browse files
committed
fixes
1 parent acf45ae commit 4f051bf

File tree

8 files changed

+24
-191
lines changed

8 files changed

+24
-191
lines changed

build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ targets:
2222
generate_for:
2323
include:
2424
- lib/src/json/**.dart
25+
- lib/src/token_source/**.dart
2526
options:
2627
include_if_null: false
2728
explicit_to_json: true

lib/livekit_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export 'src/track/remote/audio.dart';
5757
export 'src/track/remote/remote.dart';
5858
export 'src/track/remote/video.dart';
5959
export 'src/track/track.dart';
60-
export 'src/types/attribute_typings.dart';
60+
export 'src/json/agent_attributes.dart';
6161
export 'src/types/data_stream.dart';
6262
export 'src/types/other.dart';
6363
export 'src/types/participant_permissions.dart';

lib/src/agent/agent.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ import 'package:flutter/foundation.dart';
1616

1717
import 'package:collection/collection.dart';
1818

19+
import '../json/agent_attributes.dart';
1920
import '../participant/participant.dart';
2021
import '../participant/remote.dart';
2122
import '../track/remote/audio.dart';
2223
import '../track/remote/video.dart';
23-
import '../types/attribute_typings.dart';
2424
import '../types/other.dart';
2525
import 'constants.dart';
2626

lib/src/agent/constants.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@
1616
const lkAgentStateAttributeKey = 'lk.agent.state';
1717
const lkPublishOnBehalfAttributeKey = 'lk.publish_on_behalf';
1818
const lkAgentNameAttributeKey = 'lk.agent_name';
19+
const lkAgentInputsAttributeKey = 'lk.agent.inputs';
20+
const lkAgentOutputsAttributeKey = 'lk.agent.outputs';

lib/src/json/agent_attributes.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ class TranscriptionAttributes {
9191
@JsonKey(name: 'lk.transcription_final', fromJson: _boolFromJson, toJson: _boolToJson)
9292
final bool? lkTranscriptionFinal;
9393

94-
factory TranscriptionAttributes.fromJson(Map<String, dynamic> json) =>
95-
_$TranscriptionAttributesFromJson(json);
94+
factory TranscriptionAttributes.fromJson(Map<String, dynamic> json) => _$TranscriptionAttributesFromJson(json);
9695

9796
Map<String, dynamic> toJson() => _$TranscriptionAttributesToJson(this);
9897
}

lib/src/json/agent_attributes.g.dart

Lines changed: 18 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/types/attribute_typings.dart

Lines changed: 0 additions & 103 deletions
This file was deleted.

lib/src/types/attribute_typings.g.dart

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)