@veridia/node-sdk 1.0.10 → 1.0.11

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.
@@ -158,10 +158,8 @@ class VeridiaClient {
158
158
  clearTimeout(this.flushTimer);
159
159
  this.flushTimer = undefined;
160
160
  }
161
- await Promise.all([
162
- this.flushBatch('profiles', this.identifyBuffer),
163
- this.flushBatch('events', this.trackBuffer),
164
- ]);
161
+ await this.flushBatch('profiles', this.identifyBuffer);
162
+ await this.flushBatch('events', this.trackBuffer);
165
163
  }
166
164
  /**
167
165
  * Flushes all pending data and prepares the client for shutdown.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.10";
1
+ export declare const SDK_VERSION = "1.0.11";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = '1.0.10';
4
+ exports.SDK_VERSION = '1.0.11';
5
5
  //# sourceMappingURL=version.js.map
@@ -158,10 +158,8 @@ class VeridiaClient {
158
158
  clearTimeout(this.flushTimer);
159
159
  this.flushTimer = undefined;
160
160
  }
161
- await Promise.all([
162
- this.flushBatch('profiles', this.identifyBuffer),
163
- this.flushBatch('events', this.trackBuffer),
164
- ]);
161
+ await this.flushBatch('profiles', this.identifyBuffer);
162
+ await this.flushBatch('events', this.trackBuffer);
165
163
  }
166
164
  /**
167
165
  * Flushes all pending data and prepares the client for shutdown.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.10";
1
+ export declare const SDK_VERSION = "1.0.11";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = '1.0.10';
4
+ exports.SDK_VERSION = '1.0.11';
5
5
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veridia/node-sdk",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",