Skip to content

chore: version packages#43

Merged
Zendrex merged 1 commit into
mainfrom
changeset-release/main
Jun 9, 2026
Merged

chore: version packages#43
Zendrex merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@zendrex/buttplug.js@0.5.0

Minor Changes

  • #42 53481c7 Thanks @Zendrex! - Naming cleanup for clarity and role-consistent prefixes. Several exports and options were renamed; update imports and call sites accordingly.

    Patterns (@zendrex/buttplug.js/patterns):

    • PatternEngineClientPatternClient
    • getPresetInfolistPresets (module export; PatternEngine.listPresets() unchanged in name)
    • PresetInfo.compatibleOutputTypesoutputTypes
    • PatternEngine.play(device, …)play(target, …) (parameter rename only)

    Sensors (DeviceMessageSender / custom client implementors):

    • registerSensorSubscriptionregisterSensor
    • unregisterSensorSubscriptionunregisterSensor

    Feature helpers (deep imports from ./protocol/features):

    • getOutputsByTypeoutputsByType
    • getInputsByTypeinputsByType

    Wasm transport (@zendrex/buttplug.js/wasm):

    • WasmTransportOptions.enableWasmLoggingenableLogging
    • WasmTransportOptions.wasmLogLevellogLevel

    Unchanged (intentionally kept): ButtplugClientOptions.clientName, requestTimeout; device featureIndex options; Device class name.

Patch Changes

  • #42 9895811 Thanks @Zendrex! - Fix auto-reconnect re-arming and trim disconnect teardown.

    • Auto-reconnect: reconnect now arms only on an unexpected transport close, not on every connection.disconnected emit. Explicit disconnect() — including server ping-timeout teardown — no longer re-triggers reconnection.
    • Disconnect: the client no longer sends a protocol Disconnect message during teardown; teardown still stops all devices and cancels in-flight requests.

    Also includes an internal declutter pass (shared transport event-emitter base, folded single-use helpers, direct feature-array filters) with no public API changes.

@github-actions github-actions Bot force-pushed the changeset-release/main branch from 48bb9a1 to e6ad858 Compare June 9, 2026 04:53
@Zendrex Zendrex merged commit 02fcd51 into main Jun 9, 2026
@Zendrex Zendrex deleted the changeset-release/main branch June 9, 2026 19:42
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.

1 participant