nappup 1.5.4 → 1.5.5
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/package.json +1 -1
- package/src/index.js +4 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -130,7 +130,7 @@ export async function toApp (fileList, nostrSigner, { log = () => {}, dTag, dTag
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
log(`Uploading stall event for
|
|
133
|
+
log(`Uploading stall event for ${dTag}`)
|
|
134
134
|
;({ pause } = (await maybeUploadStall({
|
|
135
135
|
dTag,
|
|
136
136
|
channel,
|
|
@@ -146,6 +146,7 @@ export async function toApp (fileList, nostrSigner, { log = () => {}, dTag, dTag
|
|
|
146
146
|
writeRelays,
|
|
147
147
|
log,
|
|
148
148
|
pause,
|
|
149
|
+
shouldReupload,
|
|
149
150
|
self: nappJson.self?.[0]?.[0],
|
|
150
151
|
countries: nappJson.country,
|
|
151
152
|
categories: nappJson.category,
|
|
@@ -386,6 +387,7 @@ async function maybeUploadStall ({
|
|
|
386
387
|
writeRelays,
|
|
387
388
|
log,
|
|
388
389
|
pause,
|
|
390
|
+
shouldReupload,
|
|
389
391
|
self,
|
|
390
392
|
countries,
|
|
391
393
|
categories,
|
|
@@ -631,7 +633,7 @@ async function maybeUploadStall ({
|
|
|
631
633
|
}
|
|
632
634
|
}
|
|
633
635
|
|
|
634
|
-
if (!changed) {
|
|
636
|
+
if (!changed && !shouldReupload) {
|
|
635
637
|
const { storedEvents } = previousResult
|
|
636
638
|
|
|
637
639
|
const matchingEvents = storedEvents.filter(e => e.id === previous.id)
|