@osfactory/har 0.50.0 → 0.50.1
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.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32360,7 +32360,8 @@ async function syncRepoWithPortal(options, controlApiUrl) {
|
|
|
32360
32360
|
);
|
|
32361
32361
|
const { selected: newRuns } = selectSince(runs, runsSince, runTimestamp);
|
|
32362
32362
|
let repoId;
|
|
32363
|
-
|
|
32363
|
+
const deltaRepoId = () => stored?.repoId ?? repoId;
|
|
32364
|
+
await syncRunBatches(newRuns, repoPath, runsTarget, deltaRepoId, dryRun, async (batch, i) => {
|
|
32364
32365
|
const body = i === 0 ? { ...syncBody, runs: batch } : { path: repoPath, runs: batch };
|
|
32365
32366
|
const res = await postPortal(portal, "/api/sync", body, dryRun);
|
|
32366
32367
|
if (i === 0 && typeof res?.repositoryId === "string") repoId = res.repositoryId;
|