@syncular/client 0.1.2 → 0.1.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/dist/runtime-contract.d.ts +1 -1
- package/dist/syncular-runtime-artifacts.json +7 -7
- package/dist/wasm/syncular-runtime-artifact.json +1 -1
- package/dist/wasm/syncular.d.ts +1 -1
- package/dist/wasm/syncular.js +3 -3
- package/dist/wasm/syncular_bg.wasm +0 -0
- package/dist/wasm/syncular_bg.wasm.d.ts +1 -1
- package/dist/wasm-bindings/runtime-contract.d.ts +1 -1
- package/dist/wasm-bindings/runtime-contract.js +1 -1
- package/dist/wasm-core/syncular-runtime-artifact.json +2 -2
- package/dist/wasm-core/syncular.d.ts +1 -1
- package/dist/wasm-core/syncular.js +3 -3
- package/dist/wasm-core/syncular_bg.wasm +0 -0
- package/dist/wasm-core/syncular_bg.wasm.d.ts +1 -1
- package/dist/wasm-perf/syncular-runtime-artifact.json +2 -2
- package/dist/wasm-perf/syncular.d.ts +1 -1
- package/dist/wasm-perf/syncular.js +4 -4
- package/dist/wasm-perf/syncular_bg.wasm +0 -0
- package/dist/wasm-perf/syncular_bg.wasm.d.ts +1 -1
- package/package.json +2 -2
- package/src/wasm-bindings/runtime-contract.ts +1 -1
|
@@ -2,7 +2,7 @@ import type { SyncularRuntimeInfo, SyncularRustRuntimeInfo, SyncularStorage } fr
|
|
|
2
2
|
export { SYNCULAR_CORE_RUNTIME_FEATURES, SYNCULAR_FULL_RUNTIME_FEATURES, SYNCULAR_WASM_ARTIFACT_CATALOG_FILE, SYNCULAR_WASM_ARTIFACT_FILE, SYNCULAR_WASM_BINARY_FILE, SYNCULAR_WASM_GLUE_FILE, SYNCULAR_WASM_OUT_NAME, } from './wasm-bindings/runtime-contract';
|
|
3
3
|
export { SYNCULAR_WORKER_PROTOCOL_VERSION } from './worker-protocol';
|
|
4
4
|
export declare const SYNCULAR_PACKAGE_NAME = "@syncular/client";
|
|
5
|
-
export declare const SYNCULAR_PACKAGE_VERSION = "0.1.
|
|
5
|
+
export declare const SYNCULAR_PACKAGE_VERSION = "0.1.3";
|
|
6
6
|
export declare function createSyncularRuntimeInfo(options: {
|
|
7
7
|
storage?: SyncularStorage;
|
|
8
8
|
workerUrl?: string | URL;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"catalogVersion": 1,
|
|
3
3
|
"packageName": "@syncular/client",
|
|
4
|
-
"packageVersion": "0.1.
|
|
5
|
-
"generatedAt": "2026-06-
|
|
4
|
+
"packageVersion": "0.1.3",
|
|
5
|
+
"generatedAt": "2026-06-30T16:07:32.420Z",
|
|
6
6
|
"artifacts": [
|
|
7
7
|
{
|
|
8
8
|
"name": "core",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
],
|
|
17
17
|
"wasmGlueUrl": "wasm-core/syncular.js",
|
|
18
18
|
"wasmUrl": "wasm-core/syncular_bg.wasm",
|
|
19
|
-
"rawBytes":
|
|
20
|
-
"gzipBytes":
|
|
19
|
+
"rawBytes": 1721655,
|
|
20
|
+
"gzipBytes": 772346
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "full",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"wasmGlueUrl": "wasm/syncular.js",
|
|
37
37
|
"wasmUrl": "wasm/syncular_bg.wasm",
|
|
38
38
|
"rawBytes": 2299530,
|
|
39
|
-
"gzipBytes":
|
|
39
|
+
"gzipBytes": 1021061
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"name": "full-perf",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
],
|
|
55
55
|
"wasmGlueUrl": "wasm-perf/syncular.js",
|
|
56
56
|
"wasmUrl": "wasm-perf/syncular_bg.wasm",
|
|
57
|
-
"rawBytes":
|
|
58
|
-
"gzipBytes":
|
|
57
|
+
"rawBytes": 3430001,
|
|
58
|
+
"gzipBytes": 1393156
|
|
59
59
|
}
|
|
60
60
|
]
|
|
61
61
|
}
|
package/dist/wasm/syncular.d.ts
CHANGED
|
@@ -169,7 +169,7 @@ export interface InitOutput {
|
|
|
169
169
|
readonly sqlite3_os_end: () => number;
|
|
170
170
|
readonly sqlite3_os_init: () => number;
|
|
171
171
|
readonly wasm_bindgen__convert__closures_____invoke__hd2a764894689d311: (a: number, b: number, c: any) => [number, number];
|
|
172
|
-
readonly
|
|
172
|
+
readonly wasm_bindgen__convert__closures_____invoke__hf5dce6788c677c87: (a: number, b: number, c: any) => [number, number];
|
|
173
173
|
readonly wasm_bindgen__convert__closures_____invoke__h830a5e39cd8e230c: (a: number, b: number, c: any, d: any) => void;
|
|
174
174
|
readonly wasm_bindgen__convert__closures_____invoke__h6c595b5c484a48ea: (a: number, b: number, c: any) => void;
|
|
175
175
|
readonly wasm_bindgen__convert__closures_____invoke__hc95b3bcaa8e33b84: (a: number, b: number) => void;
|
package/dist/wasm/syncular.js
CHANGED
|
@@ -1932,7 +1932,7 @@ function __wbg_get_imports() {
|
|
|
1932
1932
|
},
|
|
1933
1933
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1934
1934
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 7, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1935
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1935
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hf5dce6788c677c87);
|
|
1936
1936
|
return ret;
|
|
1937
1937
|
},
|
|
1938
1938
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
@@ -2003,8 +2003,8 @@ function wasm_bindgen__convert__closures_____invoke__hd2a764894689d311(arg0, arg
|
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
2005
2005
|
|
|
2006
|
-
function
|
|
2007
|
-
const ret = wasm.
|
|
2006
|
+
function wasm_bindgen__convert__closures_____invoke__hf5dce6788c677c87(arg0, arg1, arg2) {
|
|
2007
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hf5dce6788c677c87(arg0, arg1, arg2);
|
|
2008
2008
|
if (ret[1]) {
|
|
2009
2009
|
throw takeFromExternrefTable0(ret[0]);
|
|
2010
2010
|
}
|
|
Binary file
|
|
@@ -82,7 +82,7 @@ export const rust_sqlite_wasm_realloc: (a: number, b: number) => number;
|
|
|
82
82
|
export const sqlite3_os_end: () => number;
|
|
83
83
|
export const sqlite3_os_init: () => number;
|
|
84
84
|
export const wasm_bindgen__convert__closures_____invoke__hd2a764894689d311: (a: number, b: number, c: any) => [number, number];
|
|
85
|
-
export const
|
|
85
|
+
export const wasm_bindgen__convert__closures_____invoke__hf5dce6788c677c87: (a: number, b: number, c: any) => [number, number];
|
|
86
86
|
export const wasm_bindgen__convert__closures_____invoke__h830a5e39cd8e230c: (a: number, b: number, c: any, d: any) => void;
|
|
87
87
|
export const wasm_bindgen__convert__closures_____invoke__h6c595b5c484a48ea: (a: number, b: number, c: any) => void;
|
|
88
88
|
export const wasm_bindgen__convert__closures_____invoke__hc95b3bcaa8e33b84: (a: number, b: number) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type { SyncularRustOwnedSqliteClient } from './generated-wasm-bindings';
|
|
2
2
|
import type { SyncularRuntimeArtifact, SyncularRuntimeArtifactCandidate, SyncularRuntimeArtifactCatalog } from '../types';
|
|
3
3
|
export declare const SYNCULAR_CLIENT_PACKAGE_NAME = "@syncular/client";
|
|
4
|
-
export declare const SYNCULAR_CLIENT_PACKAGE_VERSION = "0.1.
|
|
4
|
+
export declare const SYNCULAR_CLIENT_PACKAGE_VERSION = "0.1.3";
|
|
5
5
|
export declare const SYNCULAR_WASM_OUT_NAME = "syncular";
|
|
6
6
|
export declare const SYNCULAR_WASM_GLUE_FILE = "syncular.js";
|
|
7
7
|
export declare const SYNCULAR_WASM_BINARY_FILE = "syncular_bg.wasm";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const SYNCULAR_CLIENT_PACKAGE_NAME = '@syncular/client';
|
|
2
|
-
export const SYNCULAR_CLIENT_PACKAGE_VERSION = '0.1.
|
|
2
|
+
export const SYNCULAR_CLIENT_PACKAGE_VERSION = '0.1.3';
|
|
3
3
|
export const SYNCULAR_WASM_OUT_NAME = 'syncular';
|
|
4
4
|
export const SYNCULAR_WASM_GLUE_FILE = `${SYNCULAR_WASM_OUT_NAME}.js`;
|
|
5
5
|
export const SYNCULAR_WASM_BINARY_FILE = `${SYNCULAR_WASM_OUT_NAME}_bg.wasm`;
|
|
@@ -124,7 +124,7 @@ export interface InitOutput {
|
|
|
124
124
|
readonly sqlite3_os_end: () => number;
|
|
125
125
|
readonly sqlite3_os_init: () => number;
|
|
126
126
|
readonly wasm_bindgen__convert__closures_____invoke__h3f3bb9dd2b4a70c4: (a: number, b: number, c: any) => [number, number];
|
|
127
|
-
readonly
|
|
127
|
+
readonly wasm_bindgen__convert__closures_____invoke__h76ddcf9cbe641979: (a: number, b: number, c: any) => [number, number];
|
|
128
128
|
readonly wasm_bindgen__convert__closures_____invoke__h7cd562a99ae23bc4: (a: number, b: number, c: any, d: any) => void;
|
|
129
129
|
readonly wasm_bindgen__convert__closures_____invoke__hf67cee7f3cf61ef2: (a: number, b: number, c: any) => void;
|
|
130
130
|
readonly wasm_bindgen__convert__closures_____invoke__h83f67ca1c5f86edc: (a: number, b: number) => void;
|
|
@@ -1443,7 +1443,7 @@ function __wbg_get_imports() {
|
|
|
1443
1443
|
},
|
|
1444
1444
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1445
1445
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 5, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1446
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1446
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h76ddcf9cbe641979);
|
|
1447
1447
|
return ret;
|
|
1448
1448
|
},
|
|
1449
1449
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
@@ -1509,8 +1509,8 @@ function wasm_bindgen__convert__closures_____invoke__h3f3bb9dd2b4a70c4(arg0, arg
|
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
1511
|
|
|
1512
|
-
function
|
|
1513
|
-
const ret = wasm.
|
|
1512
|
+
function wasm_bindgen__convert__closures_____invoke__h76ddcf9cbe641979(arg0, arg1, arg2) {
|
|
1513
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h76ddcf9cbe641979(arg0, arg1, arg2);
|
|
1514
1514
|
if (ret[1]) {
|
|
1515
1515
|
throw takeFromExternrefTable0(ret[0]);
|
|
1516
1516
|
}
|
|
Binary file
|
|
@@ -62,7 +62,7 @@ export const rust_sqlite_wasm_realloc: (a: number, b: number) => number;
|
|
|
62
62
|
export const sqlite3_os_end: () => number;
|
|
63
63
|
export const sqlite3_os_init: () => number;
|
|
64
64
|
export const wasm_bindgen__convert__closures_____invoke__h3f3bb9dd2b4a70c4: (a: number, b: number, c: any) => [number, number];
|
|
65
|
-
export const
|
|
65
|
+
export const wasm_bindgen__convert__closures_____invoke__h76ddcf9cbe641979: (a: number, b: number, c: any) => [number, number];
|
|
66
66
|
export const wasm_bindgen__convert__closures_____invoke__h7cd562a99ae23bc4: (a: number, b: number, c: any, d: any) => void;
|
|
67
67
|
export const wasm_bindgen__convert__closures_____invoke__hf67cee7f3cf61ef2: (a: number, b: number, c: any) => void;
|
|
68
68
|
export const wasm_bindgen__convert__closures_____invoke__h83f67ca1c5f86edc: (a: number, b: number) => void;
|
|
@@ -169,7 +169,7 @@ export interface InitOutput {
|
|
|
169
169
|
readonly sqlite3_os_end: () => number;
|
|
170
170
|
readonly sqlite3_os_init: () => number;
|
|
171
171
|
readonly wasm_bindgen__convert__closures_____invoke__hb9ab203ee64a0d25: (a: number, b: number, c: any) => [number, number];
|
|
172
|
-
readonly
|
|
172
|
+
readonly wasm_bindgen__convert__closures_____invoke__hdddcfc4576725f99: (a: number, b: number, c: any) => [number, number];
|
|
173
173
|
readonly wasm_bindgen__convert__closures_____invoke__h0d2854822bce97d6: (a: number, b: number, c: any, d: any) => void;
|
|
174
174
|
readonly wasm_bindgen__convert__closures_____invoke__h251ef08aaf65b4af: (a: number, b: number, c: any) => void;
|
|
175
175
|
readonly wasm_bindgen__convert__closures_____invoke__hddc1f910e97f2e06: (a: number, b: number) => void;
|
|
@@ -1931,8 +1931,8 @@ function __wbg_get_imports() {
|
|
|
1931
1931
|
return ret;
|
|
1932
1932
|
},
|
|
1933
1933
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1934
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx:
|
|
1935
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1934
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 17, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1935
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hdddcfc4576725f99);
|
|
1936
1936
|
return ret;
|
|
1937
1937
|
},
|
|
1938
1938
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
@@ -2003,8 +2003,8 @@ function wasm_bindgen__convert__closures_____invoke__hb9ab203ee64a0d25(arg0, arg
|
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
2005
2005
|
|
|
2006
|
-
function
|
|
2007
|
-
const ret = wasm.
|
|
2006
|
+
function wasm_bindgen__convert__closures_____invoke__hdddcfc4576725f99(arg0, arg1, arg2) {
|
|
2007
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hdddcfc4576725f99(arg0, arg1, arg2);
|
|
2008
2008
|
if (ret[1]) {
|
|
2009
2009
|
throw takeFromExternrefTable0(ret[0]);
|
|
2010
2010
|
}
|
|
Binary file
|
|
@@ -82,7 +82,7 @@ export const rust_sqlite_wasm_realloc: (a: number, b: number) => number;
|
|
|
82
82
|
export const sqlite3_os_end: () => number;
|
|
83
83
|
export const sqlite3_os_init: () => number;
|
|
84
84
|
export const wasm_bindgen__convert__closures_____invoke__hb9ab203ee64a0d25: (a: number, b: number, c: any) => [number, number];
|
|
85
|
-
export const
|
|
85
|
+
export const wasm_bindgen__convert__closures_____invoke__hdddcfc4576725f99: (a: number, b: number, c: any) => [number, number];
|
|
86
86
|
export const wasm_bindgen__convert__closures_____invoke__h0d2854822bce97d6: (a: number, b: number, c: any, d: any) => void;
|
|
87
87
|
export const wasm_bindgen__convert__closures_____invoke__h251ef08aaf65b4af: (a: number, b: number, c: any) => void;
|
|
88
88
|
export const wasm_bindgen__convert__closures_____invoke__hddc1f910e97f2e06: (a: number, b: number) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncular/client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Syncular Rust-owned SQLite browser client with optional React, host bridge, and CRDT adapter subpaths",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Benjamin Kniffler",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"release": "syncular-publish"
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@syncular/core": "0.1.
|
|
109
|
+
"@syncular/core": "0.1.3",
|
|
110
110
|
"kysely": "^0.28.0",
|
|
111
111
|
"kysely-generic-sqlite": "^1.2.1"
|
|
112
112
|
},
|
|
@@ -7,7 +7,7 @@ import type {
|
|
|
7
7
|
} from '../types';
|
|
8
8
|
|
|
9
9
|
export const SYNCULAR_CLIENT_PACKAGE_NAME = '@syncular/client';
|
|
10
|
-
export const SYNCULAR_CLIENT_PACKAGE_VERSION = '0.1.
|
|
10
|
+
export const SYNCULAR_CLIENT_PACKAGE_VERSION = '0.1.3';
|
|
11
11
|
export const SYNCULAR_WASM_OUT_NAME = 'syncular';
|
|
12
12
|
export const SYNCULAR_WASM_GLUE_FILE = `${SYNCULAR_WASM_OUT_NAME}.js`;
|
|
13
13
|
export const SYNCULAR_WASM_BINARY_FILE = `${SYNCULAR_WASM_OUT_NAME}_bg.wasm`;
|