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() {
1010 }
1111 // Ideally we'd get an OS version as well, but that's a little complex.
1212 // Platform.operatingSystemVersion is very verbose.
13- return 'powersync-dart/$libraryVersion $dart ${Platform .operatingSystem }' ;
13+ return 'powersync-dart-core /$libraryVersion $dart ${Platform .operatingSystem }' ;
1414}
1515
1616Map <String , String > userAgentHeaders () {
Original file line number Diff line number Diff line change 11import 'package:powersync_core/src/version.dart' ;
22
33String powerSyncUserAgent () {
4- return 'powersync-dart/$libraryVersion Dart (flutter-web)' ;
4+ return 'powersync-dart-core /$libraryVersion Dart (flutter-web)' ;
55}
66
77Map <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';
22import 'package:yaml/yaml.dart' ;
33
44void main () {
5- final pubspecFile = File ('packages/powersync /pubspec.yaml' );
5+ final pubspecFile = File ('packages/powersync_core /pubspec.yaml' );
66 final pubspecContent = pubspecFile.readAsStringSync ();
77 final yaml = loadYaml (pubspecContent);
88 final version = yaml['version' ];
You can’t perform that action at this time.
0 commit comments