@powersync/service-module-postgres-storage 0.6.3 → 0.7.1
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/CHANGELOG.md +18 -4
- package/dist/.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/test/src/setup.ts +2 -8
- package/dist/@types/types/models/SQLiteJSONValue.d.ts +0 -7
- package/dist/types/models/SQLiteJSONValue.js +0 -5
- package/dist/types/models/SQLiteJSONValue.js.map +0 -1
- package/test/dist/.tsbuildinfo +0 -1
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.
|
|
5
|
+
"version": "0.7.1",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"publishConfig": {
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"ts-codec": "^1.3.0",
|
|
31
31
|
"uuid": "^9.0.1",
|
|
32
32
|
"@powersync/lib-services-framework": "0.5.3",
|
|
33
|
-
"@powersync/service-
|
|
34
|
-
"@powersync/
|
|
35
|
-
"@powersync/service-core-tests": "0.
|
|
36
|
-
"@powersync/service-sync-rules": "0.25.0",
|
|
33
|
+
"@powersync/lib-service-postgres": "0.4.1",
|
|
34
|
+
"@powersync/service-core": "1.11.1",
|
|
35
|
+
"@powersync/service-core-tests": "0.9.1",
|
|
37
36
|
"@powersync/service-jpgwire": "0.19.0",
|
|
38
|
-
"@powersync/service-
|
|
37
|
+
"@powersync/service-sync-rules": "0.25.0",
|
|
38
|
+
"@powersync/service-types": "0.10.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/uuid": "^9.0.4",
|
package/test/src/setup.ts
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { container } from '@powersync/lib-services-framework';
|
|
2
|
-
import { Metrics } from '@powersync/service-core';
|
|
3
2
|
import { beforeAll } from 'vitest';
|
|
3
|
+
import { METRICS_HELPER } from '@powersync/service-core-tests';
|
|
4
4
|
|
|
5
5
|
beforeAll(async () => {
|
|
6
6
|
// Executes for every test file
|
|
7
7
|
container.registerDefaults();
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
await Metrics.initialise({
|
|
11
|
-
disable_telemetry_sharing: true,
|
|
12
|
-
powersync_instance_id: 'test',
|
|
13
|
-
internal_metrics_endpoint: 'unused.for.tests.com'
|
|
14
|
-
});
|
|
15
|
-
Metrics.getInstance().resetCounters();
|
|
9
|
+
METRICS_HELPER.resetMetrics();
|
|
16
10
|
});
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as t from 'ts-codec';
|
|
2
|
-
export declare const SQLiteJSONValue: t.Union<t.Codec<string | number | bigint, string | number, string, t.CodecProps>, t.Codec<null, null, t.CodecType.Null, t.CodecProps>>;
|
|
3
|
-
export type SQLiteJSONValue = t.Encoded<typeof SQLiteJSONValue>;
|
|
4
|
-
export type SQLiteJSONValueDecoded = t.Decoded<typeof SQLiteJSONValue>;
|
|
5
|
-
export declare const SQLiteJSONRecord: t.RecordCodec<t.Union<t.Codec<string | number | bigint, string | number, string, t.CodecProps>, t.Codec<null, null, t.CodecType.Null, t.CodecProps>>>;
|
|
6
|
-
export type SQLiteJSONRecord = t.Encoded<typeof SQLiteJSONRecord>;
|
|
7
|
-
export type SQLiteJSONRecordDecoded = t.Decoded<typeof SQLiteJSONRecord>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SQLiteJSONValue.js","sourceRoot":"","sources":["../../../src/types/models/SQLiteJSONValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAI3E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC"}
|