Knock signUserToken missing after SDK upgrade: fixed in v1.11.1
Knock signUserToken missing after SDK upgrade: fixed in v1.11.1: If signUserToken is missing after upgrading @knocklabs/node, you are between the Stainless migration and v1.11.1.
If signUserToken is missing after upgrading @knocklabs/node, you are between the Stainless migration and v1.11.1. Either import it from the tokenSigner module path, or upgrade to v1.11.1 or later where the top-level export is restored. When a Knock docs page and your installed SDK disagree on an export, check the SDK version against the changelog before rewriting your auth code.
Context: GitHub issue knocklabs/knock-node#98 (closed, fixed by PR #109, released in v1.11.1): After upgrading the Node SDK, signUserToken was no longer exported from the top level even though the docs still told users to call it. The maintainer explained the SDK had moved to Stainless-generated code and the function had not been linked back into the top-level export yet. The interim path was importing from the tokenSigner file, and the permanent fix restored the top-level export in v1.11.1.
Matched source
Source: Published skill Original query: "Knock signUserToken missing after SDK upgrade: fixed in v1.11.1" Key terms: after, fixed, knock, missing, signusertoken, upgrade
Maintainer review
No maintainer verification is recorded for this version.
This records the version a maintainer checked. It does not assert that the version is the latest upstream release.