The v1 script
Load https://interview.testee.ai/embed/v1.js directly rather than copying it: fixes reach you without a deploy. Within v1 only optional additions are made (new options, new event types), so code written for v1 keeps working. A breaking change would ship as /embed/v2.js.
- Caching: browsers may keep the script for 5 minutes and serve a stale copy for up to a day while they fetch the new one.
- One global: the script defines
TesteeEmbedand nothing else. - Events are versioned too: each one carries
version: 1.