@powersync/react-native 1.28.0 → 1.29.0
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,4 @@
|
|
|
1
|
-
import { ILogger } from '
|
|
2
|
-
import { AbstractRemote, AbstractRemoteOptions, BSONImplementation, DataStream, RemoteConnector, SyncStreamOptions } from '@powersync/common';
|
|
1
|
+
import { AbstractRemote, AbstractRemoteOptions, BSONImplementation, DataStream, ILogger, RemoteConnector, SyncStreamOptions } from '@powersync/common';
|
|
3
2
|
import { TextDecoder } from 'text-encoding';
|
|
4
3
|
export declare const STREAMING_POST_TIMEOUT_MS = 30000;
|
|
5
4
|
export declare class ReactNativeRemote extends AbstractRemote {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactNativeRemote.js","sourceRoot":"","sources":["../../../src/sync/stream/ReactNativeRemote.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReactNativeRemote.js","sourceRoot":"","sources":["../../../src/sync/stream/ReactNativeRemote.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAGd,qBAAqB,EAGrB,2BAA2B,EAI5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,gGAAgG;AAChG,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC;AAEhD;;;;GAIG;AACH,MAAM,wBAAyB,SAAQ,2BAA2B;IAChE,QAAQ;QACN,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAChC,CAAC;CACF;AAED,MAAM,OAAO,iBAAkB,SAAQ,cAAc;IAEvC;IACA;IAFZ,YACY,SAA0B,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AI,EAAE;iBACrC;aACF,EACD,OAAO,CACR,CAAC;QACJ,CAAC;gBAAS,CAAC;YACT,IAAI,OAAO,EAAE,CAAC;gBACZ,YAAY,CAAC,OAAO,CAAC,CAAC;YACxB,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powersync/react-native",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://docs.powersync.com/",
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@journeyapps/react-native-quick-sqlite": "^2.
|
|
29
|
-
"@powersync/common": "^1.
|
|
28
|
+
"@journeyapps/react-native-quick-sqlite": "^2.5.0",
|
|
29
|
+
"@powersync/common": "^1.46.0",
|
|
30
30
|
"react": "*",
|
|
31
31
|
"react-native": "*"
|
|
32
32
|
},
|
|
@@ -37,24 +37,25 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"async-mutex": "^0.5.0",
|
|
40
|
-
"@powersync/common": "1.
|
|
40
|
+
"@powersync/common": "1.46.0",
|
|
41
41
|
"@powersync/react": "1.8.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@craftzdog/react-native-buffer": "^6.0.5",
|
|
45
45
|
"@journeyapps/react-native-quick-sqlite": "^2.5.0",
|
|
46
46
|
"@rollup/plugin-alias": "^5.1.0",
|
|
47
|
-
"@rollup/plugin-commonjs": "^
|
|
47
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
48
48
|
"@rollup/plugin-inject": "^5.0.5",
|
|
49
49
|
"@rollup/plugin-json": "^6.1.0",
|
|
50
|
-
"@rollup/plugin-node-resolve": "
|
|
50
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
51
51
|
"@rollup/plugin-replace": "^5.0.7",
|
|
52
52
|
"@rollup/plugin-terser": "^0.4.4",
|
|
53
|
+
"@types/react": "^19.1.1",
|
|
53
54
|
"bson": "^6.10.4",
|
|
54
|
-
"react": "
|
|
55
|
-
"react-native": "0.
|
|
55
|
+
"react": "^19.2.0",
|
|
56
|
+
"react-native": "0.83.1",
|
|
56
57
|
"react-native-fetch-api": "^3.0.0",
|
|
57
|
-
"rollup": "4.
|
|
58
|
+
"rollup": "^4.52.5",
|
|
58
59
|
"text-encoding": "^0.7.0",
|
|
59
60
|
"web-streams-polyfill": "3.2.1"
|
|
60
61
|
},
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ILogger } from 'js-logger';
|
|
2
|
-
|
|
3
1
|
import {
|
|
4
2
|
AbstractRemote,
|
|
5
3
|
AbstractRemoteOptions,
|
|
@@ -8,6 +6,7 @@ import {
|
|
|
8
6
|
DataStream,
|
|
9
7
|
FetchImplementation,
|
|
10
8
|
FetchImplementationProvider,
|
|
9
|
+
ILogger,
|
|
11
10
|
RemoteConnector,
|
|
12
11
|
SyncStreamOptions
|
|
13
12
|
} from '@powersync/common';
|