Description/Screenshot
The instructions in https://github.com/microsoft/ApplicationInsights-JS/tree/main/channels/offline-channel-js#npm-setup show the minPersistenceLevel being configured to 2, and then immediately send events that will only have a persistence level of 1, and are thus discarded.
Additionally, the docs refer to a non-existing track method. Possibly this should be trackTrace or trackEvent?
Steps to Reproduce
Follow the example setup in the offline channel js logs exactly.
Expected behavior
The example should result in log messages being stored by the offline channel