@airtop/sdk 1.0.0-alpha2.32 → 1.0.0-alpha2.33
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.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -9,7 +9,7 @@ var require_package = __commonJS({
|
|
9
9
|
module.exports = {
|
10
10
|
name: "@airtop/sdk",
|
11
11
|
description: "Airtop SDK for TypeScript",
|
12
|
-
version: "1.0.0-alpha2.
|
12
|
+
version: "1.0.0-alpha2.33",
|
13
13
|
type: "module",
|
14
14
|
main: "./dist/index.cjs",
|
15
15
|
module: "./dist/index.js",
|
@@ -1424,7 +1424,12 @@ var AirtopSessionClient = class extends AirtopBase {
|
|
1424
1424
|
{ all: lookbackSeconds >= 0 },
|
1425
1425
|
{ timeoutInSeconds: timeoutSeconds, ...requestOptions || {} }
|
1426
1426
|
);
|
1427
|
+
const events = [];
|
1427
1428
|
for await (const event of sessionEvents) {
|
1429
|
+
events.push(event);
|
1430
|
+
}
|
1431
|
+
for (let i = events.length - 1; i >= 0; i--) {
|
1432
|
+
const event = events[i];
|
1428
1433
|
const e = event;
|
1429
1434
|
if (e.event === "file_status") {
|
1430
1435
|
if (e.status === "available") {
|