@powersync/service-jsonbig 0.17.11 → 0.17.13

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/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  JSON is used everywhere, including:
4
4
 
5
5
  1. PostgreSQL (json/jsonb types)
6
- 2. Sync rules input (values are normalized to JSON text).
7
- 3. Sync rule transformations (extracting values, constructing objects in the future)
6
+ 2. Sync query input (values are normalized to JSON text).
7
+ 3. Sync query transformations (extracting values, constructing objects in the future)
8
8
  4. Persisting data in the database.
9
9
  5. Sending to the client.
10
10
 
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
+ export { Replacer } from 'lossless-json';
1
2
  export * from './json.js';
2
3
  export * from './json_container.js';
3
4
  export { stringify as stringifyRaw } from './json_stringify.js';
4
- export { Replacer } from 'lossless-json';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
package/dist/json.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Replacer, Reviver, JavaScriptValue } from 'lossless-json';
1
+ import { JavaScriptValue, Replacer, Reviver } from 'lossless-json';
2
2
  export declare const JSONBig: {
3
3
  parse(text: string, reviver?: Reviver): JavaScriptValue;
4
4
  stringify(value: any, replacer?: Replacer, space?: string | number): string;
@@ -1,4 +1,4 @@
1
- import type { Replacer, NumberStringifier, JavaScriptValue } from 'lossless-json';
1
+ import type { JavaScriptValue, NumberStringifier, Replacer } from 'lossless-json';
2
2
  /**
3
3
  * The LosslessJSON.stringify() method converts a JavaScript value to a JSON string,
4
4
  * optionally replacing values if a replacer function is specified, or
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powersync/service-jsonbig",
3
3
  "repository": "https://github.com/powersync-ja/powersync-service",
4
- "version": "0.17.11",
4
+ "version": "0.17.13",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "FSL-1.1-ALv2",