@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.
Files changed (2) hide show
  1. package/dist/index.js +1 -0
  2. 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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atsail/browser",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "AtSail browser SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",