@powersync/service-module-postgres-storage 0.10.1 → 0.10.3
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.
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@powersync/service-module-postgres-storage",
|
|
3
3
|
"repository": "https://github.com/powersync-ja/powersync-service",
|
|
4
4
|
"types": "dist/@types/index.d.ts",
|
|
5
|
-
"version": "0.10.
|
|
5
|
+
"version": "0.10.3",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"license": "FSL-1.1-ALv2",
|
|
8
8
|
"type": "module",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"p-defer": "^4.0.1",
|
|
30
30
|
"ts-codec": "^1.3.0",
|
|
31
31
|
"uuid": "^11.1.0",
|
|
32
|
-
"@powersync/lib-service-postgres": "0.4.
|
|
33
|
-
"@powersync/lib-services-framework": "0.7.
|
|
34
|
-
"@powersync/service-core": "1.15.
|
|
35
|
-
"@powersync/service-jpgwire": "0.
|
|
32
|
+
"@powersync/lib-service-postgres": "0.4.8",
|
|
33
|
+
"@powersync/lib-services-framework": "0.7.4",
|
|
34
|
+
"@powersync/service-core": "1.15.3",
|
|
35
|
+
"@powersync/service-jpgwire": "0.21.0",
|
|
36
36
|
"@powersync/service-jsonbig": "0.17.11",
|
|
37
|
-
"@powersync/service-sync-rules": "0.29.
|
|
37
|
+
"@powersync/service-sync-rules": "0.29.1",
|
|
38
38
|
"@powersync/service-types": "0.13.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"typescript": "^5.7.3",
|
|
42
|
-
"@powersync/service-core-tests": "0.12.
|
|
42
|
+
"@powersync/service-core-tests": "0.12.3"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "tsc -b",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
2
|
|
|
3
|
-
exports[`Postgres Sync Bucket Storage > empty storage metrics 1`] = `
|
|
3
|
+
exports[`Postgres Sync Bucket Storage - Data > empty storage metrics 1`] = `
|
|
4
4
|
{
|
|
5
5
|
"operations_size_bytes": 16384,
|
|
6
6
|
"parameters_size_bytes": 32768,
|
package/test/src/storage.test.ts
CHANGED
|
@@ -3,11 +3,17 @@ import { register, TEST_TABLE, test_utils } from '@powersync/service-core-tests'
|
|
|
3
3
|
import { describe, expect, test } from 'vitest';
|
|
4
4
|
import { POSTGRES_STORAGE_FACTORY } from './util.js';
|
|
5
5
|
|
|
6
|
-
describe('Sync Bucket
|
|
6
|
+
describe('Postgres Sync Bucket Storage - Parameters', () =>
|
|
7
|
+
register.registerDataStorageParameterTests(POSTGRES_STORAGE_FACTORY));
|
|
8
|
+
|
|
9
|
+
describe('Postgres Sync Bucket Storage - Data', () => register.registerDataStorageDataTests(POSTGRES_STORAGE_FACTORY));
|
|
7
10
|
|
|
8
|
-
describe('Postgres Sync Bucket Storage', () =>
|
|
9
|
-
register.
|
|
11
|
+
describe('Postgres Sync Bucket Storage - Checkpoints', () =>
|
|
12
|
+
register.registerDataStorageCheckpointTests(POSTGRES_STORAGE_FACTORY));
|
|
13
|
+
|
|
14
|
+
describe('Sync Bucket Validation', register.registerBucketValidationTests);
|
|
10
15
|
|
|
16
|
+
describe('Postgres Sync Bucket Storage - pg-specific', () => {
|
|
11
17
|
/**
|
|
12
18
|
* The split of returned results can vary depending on storage drivers.
|
|
13
19
|
* The large rows here are 2MB large while the default chunk limit is 1mb.
|