feat: whole shops listed on IMVU, and GET /imports/available (#16)
Co-authored-by: dhkatz <[email protected]>
This commit was merged in pull request #16.
This commit is contained in:
1 parent
8f6dacba10
commit
efc7d6b808
15 files changed
+4954
-20
No files matched your search
@@ -90,8 +90,15 @@ const importRecheck = () =>
|
||||
.recheck(200)
|
||||
.then((r) => (r.queued || r.withdrawn.length) && console.log(`imports: ${r.queued} rechecks queued, ${r.withdrawn.length} withdrawn`))
|
||||
.catch((e) => console.error("import rechecks:", e));
|
||||
// Whole-shop grants: their products listed on IMVU daily (new ones queued), a few shops each hour.
|
||||
const shopListing = () =>
|
||||
imports
|
||||
.listShops(5)
|
||||
.then((r) => r.queued && console.log(`imports: ${r.shops} shops listed, ${r.queued} products queued`))
|
||||
.catch((e) => console.error("shop listings:", e));
|
||||
setInterval(() => {
|
||||
importRecheck();
|
||||
shopListing();
|
||||
importers
|
||||
.expireSealed()
|
||||
.then((n) => n && console.log(`imports: ${n} sealed importer passwords expired`))
|
||||
|
||||
Reference in new issue
Block a user