Description of your new file.
init()
(NPM only) completed successfully before boot()
is called
boot()
is being called with a valid userId
and component setup (e.g., products: ['sidebar']
)
https://*.adopt.ai
data-nonce="your-nonce-value"
addRouter()
so Adopt can track navigation<div id="adopt-widget-container">
) persists across route changescopilotHeaders
(e.g., Authorization tokens) are being passed in the boot()
config
boot()
or setUserProperties()
throws an errorinit()
before any other SDK methoduserId
is a valid, non-null string@adoptai/sdk
(not a typo or outdated version)shutdown()
on logout to fully remove the Copilot from view