File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
react-native/src/sync/stream Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ import { BSON } from 'bson';
1818
1919import { fetch } from 'react-native-fetch-api' ;
2020
21- import { version as POWERSYNC_RN_VERSION } from '../../../package.json' ;
22-
2321export const STREAMING_POST_TIMEOUT_MS = 30_000 ;
2422
2523/**
@@ -48,7 +46,7 @@ export class ReactNativeRemote extends AbstractRemote {
4846 getUserAgent ( ) : string {
4947 return [
5048 super . getUserAgent ( ) ,
51- `powersync-react-native/ ${ POWERSYNC_RN_VERSION } ` ,
49+ `powersync-react-native` ,
5250 `react-native/${ Platform . constants . reactNativeVersion . major } .${ Platform . constants . reactNativeVersion . minor } ` ,
5351 `${ Platform . OS } /${ Platform . Version } `
5452 ] . join ( ' ' ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import {
1010 RemoteConnector
1111} from '@powersync/common' ;
1212
13- import { version as POWERSYNC_WEB_VERSION } from '../../../package.json' ;
1413import { getUserAgentInfo } from './userAgent' ;
1514
1615/*
@@ -37,7 +36,7 @@ export class WebRemote extends AbstractRemote {
3736 }
3837
3938 getUserAgent ( ) : string {
40- let ua = [ super . getUserAgent ( ) , `powersync-web/ ${ POWERSYNC_WEB_VERSION } ` ] ;
39+ let ua = [ super . getUserAgent ( ) , `powersync-web` ] ;
4140 try {
4241 ua . push ( ...getUserAgentInfo ( ) ) ;
4342 } catch ( e ) {
You can’t perform that action at this time.
0 commit comments