v0.16.0
Minor Changes
-
b9529c6:
seamless initlearns themobiletemplate kind.seamless-templatesgains a third kind next towebandapi, starting with an Expo (React
Native) starter. The CLI treated an unknown kind as if it were not there: the alias resolver
skipped it, the prompts never offered it, andverifyfiltered it out without a word.A mobile starter is optional.
initasks "Mobile app" after the backend, defaulting to none;
--mobile=<id|alias>(or the bare alias,--mobile/--expo) includes one;--yesscaffolds
without, since a native app brings prerequisites (an associated domain for passkeys) an
unattended run should not opt into; and a registry that predates the kind offers nothing, so
there is no question to ask. A chosen starter lands atmobile/with its.envfilled from the
manifest, is recorded asservices.mobileinseamless.config.json, is checked byseamless checkonly when recorded, and is called out in the success output with how to start it and the
Android emulator host.verifyannounces the mobile templates it cannot drive instead of
filtering them silently. Template copying skips.expo,ios, andandroid.The templates registry pin moves to the release that carries the starter in a follow-up.
Patch Changes
-
4bbf7ac:
seamless verify --localpacks@seamless-auth/clientalongside@seamless-auth/react
when the React SDK checkout is an npm workspace.The client SDK repo is becoming a workspace that publishes a framework-agnostic
@seamless-auth/clientnext to@seamless-auth/react, and the react tarball depends on
the client one. Packing only the root of such a checkout would produce the private root
package, and installing the react tarball alone would go to the registry for a client
version that is not published yet. The harness now readsworkspacesfrom the checkout's
package.json, packs both packages when it finds one, and the react image installs every
tarball in onenpm installso the dependency resolves from the sibling file. A checkout
that predates the workspace is packed as before. The version line reported for
@seamless-auth/reactreads the react package's own manifest in a workspace.