Skip to content

STR-600: refactor TS client to accomodate reconnect changes in rust client#818

Merged
Ozodimgba merged 3 commits into
refactor/reconnectfrom
STR-600
Jul 11, 2026
Merged

STR-600: refactor TS client to accomodate reconnect changes in rust client#818
Ozodimgba merged 3 commits into
refactor/reconnectfrom
STR-600

Conversation

@WilfredAlmeida

@WilfredAlmeida WilfredAlmeida commented Jul 11, 2026

Copy link
Copy Markdown
Contributor
  • Exposed the Rust reconnect module so NAPI can use ReplayPolicy.

  • Updated Node NAPI reconnect options to match the Rust client:

    • removed enabled
    • added replayPolicy
    • supports fromCheckpoint and fresh
    • parses checkpointBuffer as a u64 string since JS cannnot handle u64
  • Re-exported generated NAPI reconnect types from the JS SDK without redefining them.

  • Updated Node SDK docs and TypeScript examples for the new reconnect shape.

  • Added example CLI flags for replay policy and checkpoint buffer.

WilfredAlmeida and others added 3 commits July 11, 2026 08:24
Signed-off-by: Wilfred Almeida <wilfred@wilfredalmeida.com>
Signed-off-by: Wilfred Almeida <wilfred@wilfredalmeida.com>
…ve stale RUSTSEC-2026-0009 ignore (time crate already patched)
@Ozodimgba
Ozodimgba merged commit 065d85d into refactor/reconnect Jul 11, 2026
4 checks passed
@Ozodimgba
Ozodimgba deleted the STR-600 branch July 11, 2026 13:19
Ozodimgba added a commit that referenced this pull request Jul 12, 2026
…lient (#818)

* refactor: accomodate reconnection options changes from rust client

Signed-off-by: Wilfred Almeida <wilfred@wilfredalmeida.com>

* refactor: update examples

Signed-off-by: Wilfred Almeida <wilfred@wilfredalmeida.com>

* fix(ci): update crossbeam-epoch to resolve RUSTSEC-2026-0204 and remove stale RUSTSEC-2026-0009 ignore (time crate already patched)

---------

Signed-off-by: Wilfred Almeida <wilfred@wilfredalmeida.com>
Co-authored-by: Ozodimgba <75076112+Ozodimgba@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants