Skip to content

Commit 9c0e384

Browse files
committed
Better docs
1 parent b363869 commit 9c0e384

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

packages/common/CHANGELOG.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
# @powersync/common
22

3-
## 1.37.0
4-
5-
### Minor Changes
6-
7-
- c910c66: Add `getCrudTransactions()`, returning an async iterator of transactions. This can be used to batch transactions when uploading CRUD data.
8-
- 9e3e3a5: Added SQLite trigger based table change tracking.
9-
10-
### Patch Changes
11-
12-
- 876c550: Fix issue where Rust sync implementation might not disconnect in some circumstances.
13-
143
## 1.36.0
154

165
### Minor Changes

tools/diagnostics-app/src/library/powersync/RustClientInterceptor.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ import {
1515
} from '@powersync/web';
1616
import { DynamicSchemaManager } from './DynamicSchemaManager';
1717

18+
/**
19+
* Tracks per-byte and per-operation progress for the Rust client.
20+
*
21+
* While per-operation progress is reported by the SDK as well, we need those counters for each bucket. Since that
22+
* information is internal to the Rust client and inaccessible to JavaScript, this intercepts the raw
23+
* `powersync_control` calls to decode sync lines and derive progress information.
24+
*/
1825
export class RustClientInterceptor extends SqliteBucketStorage {
1926
private rdb: DBAdapter;
2027
private lastStartedCheckpoint: Checkpoint | null = null;

0 commit comments

Comments
 (0)