Skip to content

Commit 4265aa6

Browse files
committed
Update user-agent format.
1 parent 4130a72 commit 4265aa6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/powersync/lib/src/user_agent/user_agent_native.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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/$libraryVersion $dart ${Platform.operatingSystem}';
1414
}
1515

1616
Map<String, String> userAgentHeaders() {

packages/powersync/lib/src/user_agent/user_agent_web.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'package:powersync/src/version.dart';
22

33
String powerSyncUserAgent() {
4-
return 'powersync-dart/$libraryVersion (flutter-web)';
4+
return 'powersync-dart/$libraryVersion Dart (flutter-web)';
55
}
66

77
Map<String, String> userAgentHeaders() {

0 commit comments

Comments
 (0)