Skip to content

v0.2.1 — client module registers under the package name

Latest

Choose a tag to compare

@MYiYang MYiYang released this 26 Oct 05:27

Patch release: the client half now registers under the package name.

Why

The Host composes client-module rows from Loader row names (exactPackageSpecifier), and the browser looks the factory up by that same specifier. client.js still registered as dsh-git-branch, so the chip could not be located — and when both identities were served, the bundle executed twice and tripped the duplicate-factory guard.

Fixed

  • client.js registers as dsh-git-branch-plugin (equal to package.json.name and to the Loader row in cordis.patch.yml).

Upgrade

npm i dsh-git-branch-plugin@0.2.1