File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
packages/powersync_core/lib/src Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ String powerSyncUserAgent() {
10
10
}
11
11
// Ideally we'd get an OS version as well, but that's a little complex.
12
12
// Platform.operatingSystemVersion is very verbose.
13
- return 'powersync-dart/$libraryVersion $dart ${Platform .operatingSystem }' ;
13
+ return 'powersync-dart-core /$libraryVersion $dart ${Platform .operatingSystem }' ;
14
14
}
15
15
16
16
Map <String , String > userAgentHeaders () {
Original file line number Diff line number Diff line change 1
1
import 'package:powersync_core/src/version.dart' ;
2
2
3
3
String powerSyncUserAgent () {
4
- return 'powersync-dart/$libraryVersion Dart (flutter-web)' ;
4
+ return 'powersync-dart-core /$libraryVersion Dart (flutter-web)' ;
5
5
}
6
6
7
7
Map <String , String > userAgentHeaders () {
Original file line number Diff line number Diff line change 1
- const String libraryVersion = '1.9.3 ' ;
1
+ const String libraryVersion = '0.0.1 ' ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import 'dart:io';
2
2
import 'package:yaml/yaml.dart' ;
3
3
4
4
void main () {
5
- final pubspecFile = File ('packages/powersync /pubspec.yaml' );
5
+ final pubspecFile = File ('packages/powersync_core /pubspec.yaml' );
6
6
final pubspecContent = pubspecFile.readAsStringSync ();
7
7
final yaml = loadYaml (pubspecContent);
8
8
final version = yaml['version' ];
You can’t perform that action at this time.
0 commit comments