@airtop/sdk 1.0.0-alpha2.31 → 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 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.31",
12
+ version: "1.0.0-alpha2.33",
13
13
  type: "module",
14
14
  main: "./dist/index.cjs",
15
15
  module: "./dist/index.js",
@@ -48,7 +48,7 @@ var require_package = __commonJS({
48
48
  "verify-types": "tsc --noEmit && tsc --noEmit --project tsconfig.e2e.json"
49
49
  },
50
50
  dependencies: {
51
- "@airtop/core": "0.1.0-alpha.42",
51
+ "@airtop/core": "0.1.0-alpha.43",
52
52
  "@airtop/json-schema-adapter": "workspace:*",
53
53
  "date-fns": "4.1.0",
54
54
  loglayer: "6.7.0",
@@ -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") {