Registry
The package is served from this project’s GitLab package registry. It is public - no token is required to install. Point the scope at it in your.npmrc:
Requirements
Entry points
The primary entry point imports no RxJS, so an application that never imports the
second one ships none of it. A pipeline job asserts that on the built bundle.
Migrating to v0.14.0
evaluateABStream moved out of the client and into the /rxjs entry point:
evaluateAB - the promise-shaped call - is unchanged and still on the client.
Your API key
Browser SDKs require a public key (wxp_...). Any other key is rejected when
the client is created, with a NexusConfigError that names the option.
A public key is safe to ship in a bundle: it cannot read secrets, and the
backend’s Double-Gate check ties it to one service host. A secret key (wxs_...)
in browser code would be readable by every visitor, which is why there is no
configuration that makes one work here.
Create one in the Nexus admin console under the service’s API keys, choosing
the public key type.
Verifying the install
404 Not Found, the scope line is missing from .npmrc or the
registry URL has the wrong project ID.