@atsail/browser 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -153,6 +153,7 @@ function init(options) {
|
|
|
153
153
|
}
|
|
154
154
|
transport = new Transport(options.publishableKey, options.environment, options.endpoint, options.flushIntervalMs, options.maxBatchSize);
|
|
155
155
|
transport.enqueue({ type: "init", timestamp: Date.now() });
|
|
156
|
+
transport.flush();
|
|
156
157
|
const emit = transport.enqueue.bind(transport);
|
|
157
158
|
installGlobalHandlers(emit);
|
|
158
159
|
installFetchInterceptor(emit);
|