@statsig/client-core 2.2.0-beta.7 → 2.2.0-beta.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statsig/client-core",
3
- "version": "2.2.0-beta.7",
3
+ "version": "2.2.0-beta.8",
4
4
  "dependencies": {},
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -219,6 +219,7 @@ class EventLogger {
219
219
  _retryFailedLogs() {
220
220
  const storageKey = this._getStorageKey();
221
221
  (() => __awaiter(this, void 0, void 0, function* () {
222
+ StorageProvider_1.Storage._isProviderReady() && (yield StorageProvider_1.Storage._isProviderReady());
222
223
  const events = (0, StorageProvider_1._getObjectFromStorage)(storageKey);
223
224
  if (!events) {
224
225
  return;
@@ -1,4 +1,4 @@
1
- export declare const SDK_VERSION = "2.2.0-beta.7";
1
+ export declare const SDK_VERSION = "2.2.0-beta.8";
2
2
  export type StatsigMetadata = {
3
3
  readonly [key: string]: string | undefined;
4
4
  readonly appVersion?: string;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StatsigMetadataProvider = exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = '2.2.0-beta.7';
4
+ exports.SDK_VERSION = '2.2.0-beta.8';
5
5
  let metadata = {
6
6
  sdkVersion: exports.SDK_VERSION,
7
7
  sdkType: 'js-mono', // js-mono is overwritten by Precomp and OnDevice clients