@powersync/react-native 0.0.0-dev-20250210155038 → 0.0.0-dev-20250318143512
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ILogger } from 'js-logger';
|
|
2
|
-
import { AbstractRemote, AbstractRemoteOptions, BSONImplementation, DataStream, RemoteConnector, StreamingSyncLine, SyncStreamOptions } from '@powersync/common';
|
|
2
|
+
import { AbstractRemote, AbstractRemoteOptions, BSONImplementation, DataStream, RemoteConnector, SocketSyncStreamOptions, StreamingSyncLine, SyncStreamOptions } from '@powersync/common';
|
|
3
3
|
export declare const STREAMING_POST_TIMEOUT_MS = 30000;
|
|
4
4
|
export declare class ReactNativeRemote extends AbstractRemote {
|
|
5
5
|
protected connector: RemoteConnector;
|
|
@@ -7,6 +7,6 @@ export declare class ReactNativeRemote extends AbstractRemote {
|
|
|
7
7
|
constructor(connector: RemoteConnector, logger?: ILogger, options?: Partial<AbstractRemoteOptions>);
|
|
8
8
|
getUserAgent(): string;
|
|
9
9
|
getBSON(): Promise<BSONImplementation>;
|
|
10
|
-
socketStream(options:
|
|
10
|
+
socketStream(options: SocketSyncStreamOptions): Promise<DataStream<StreamingSyncLine>>;
|
|
11
11
|
postStream(options: SyncStreamOptions): Promise<DataStream<StreamingSyncLine>>;
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powersync/react-native",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20250318143512",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"description": "PowerSync
|
|
8
|
+
"description": "PowerSync React Native SDK. Sync Postgres, MongoDB or MySQL with SQLite in your React Native app",
|
|
9
9
|
"main": "./dist/index.js",
|
|
10
10
|
"module": "./dist/index.js",
|
|
11
11
|
"types": "./lib/index.d.ts",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://docs.powersync.com/",
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@journeyapps/react-native-quick-sqlite": "^2.
|
|
28
|
-
"@powersync/common": "
|
|
27
|
+
"@journeyapps/react-native-quick-sqlite": "^2.4.2",
|
|
28
|
+
"@powersync/common": "^1.25.0",
|
|
29
29
|
"react": "*",
|
|
30
30
|
"react-native": "*"
|
|
31
31
|
},
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@powersync/common": "
|
|
39
|
-
"@powersync/react": "0.0.0-dev-
|
|
38
|
+
"@powersync/common": "1.25.0",
|
|
39
|
+
"@powersync/react": "0.0.0-dev-20250318143512"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@craftzdog/react-native-buffer": "^6.0.5",
|
|
43
|
-
"@journeyapps/react-native-quick-sqlite": "^2.
|
|
43
|
+
"@journeyapps/react-native-quick-sqlite": "^2.4.2",
|
|
44
44
|
"@rollup/plugin-alias": "^5.1.0",
|
|
45
45
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
46
46
|
"@rollup/plugin-inject": "^5.0.5",
|