@muhkoo/connect 0.12.1-alpha.0 → 0.12.2-alpha.0
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/server/index.js
CHANGED
|
@@ -3235,7 +3235,7 @@ function base64UrlDecode(s) {
|
|
|
3235
3235
|
* expect (and isn't serving a stale cached bundle). Keep this in sync with
|
|
3236
3236
|
* `package.json` `version`.
|
|
3237
3237
|
*/
|
|
3238
|
-
const VERSION = "0.12.
|
|
3238
|
+
const VERSION = "0.12.2-alpha.0";
|
|
3239
3239
|
|
|
3240
3240
|
/**
|
|
3241
3241
|
* `HttpClient` — the one place the unified {@link Client} talks to the
|
|
@@ -9025,12 +9025,7 @@ class Space {
|
|
|
9025
9025
|
const hashes = manifest.chunks.flatMap((c) => c.shardHashes);
|
|
9026
9026
|
if (hashes.length === 0)
|
|
9027
9027
|
return;
|
|
9028
|
-
|
|
9029
|
-
// bytes apart. Without it the reference ledger keys on content, so the
|
|
9030
|
-
// second copy takes no reference and releasing either frees shards the
|
|
9031
|
-
// other still needs — silent data loss. Sent on BOTH commit and release,
|
|
9032
|
-
// because a release has to reproduce the key its commit took.
|
|
9033
|
-
const body = JSON.stringify({ hashes, bytes: manifest.size, manifestId: manifest.id });
|
|
9028
|
+
const body = JSON.stringify({ hashes, bytes: manifest.size });
|
|
9034
9029
|
for (let attempt = 0; attempt < 3; attempt++) {
|
|
9035
9030
|
try {
|
|
9036
9031
|
const res = await this.deps.fetch(`${this.deps.httpBaseUrl}/api/storage/${action}`, {
|