@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.
- package/dist/cjs/client.js +2 -4
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/client.js +2 -4
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
package/dist/cjs/client.js
CHANGED
|
@@ -158,10 +158,8 @@ class VeridiaClient {
|
|
|
158
158
|
clearTimeout(this.flushTimer);
|
|
159
159
|
this.flushTimer = undefined;
|
|
160
160
|
}
|
|
161
|
-
await
|
|
162
|
-
|
|
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.
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.11";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/client.js
CHANGED
|
@@ -158,10 +158,8 @@ class VeridiaClient {
|
|
|
158
158
|
clearTimeout(this.flushTimer);
|
|
159
159
|
this.flushTimer = undefined;
|
|
160
160
|
}
|
|
161
|
-
await
|
|
162
|
-
|
|
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.
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.11";
|
package/dist/esm/version.js
CHANGED