@hypercerts-org/sdk-core 0.10.0-beta.5 → 0.10.0-beta.5-hotfix.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.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3575,6 +3575,7 @@ class HypercertOperationsImpl extends eventemitter3.EventEmitter {
|
|
|
3575
3575
|
const uint8Array = new Uint8Array(arrayBuffer);
|
|
3576
3576
|
const uploadResult = await this.agent.com.atproto.repo.uploadBlob(uint8Array, {
|
|
3577
3577
|
encoding: content.type || fallbackContentType,
|
|
3578
|
+
qp: { repo: this.repoDid },
|
|
3578
3579
|
});
|
|
3579
3580
|
if (!uploadResult.success) {
|
|
3580
3581
|
throw new NetworkError("Failed to upload blob");
|
|
@@ -3597,6 +3598,7 @@ class HypercertOperationsImpl extends eventemitter3.EventEmitter {
|
|
|
3597
3598
|
const uint8Array = new Uint8Array(arrayBuffer);
|
|
3598
3599
|
const uploadResult = await this.agent.com.atproto.repo.uploadBlob(uint8Array, {
|
|
3599
3600
|
encoding: image.type || "image/jpeg",
|
|
3601
|
+
qp: { repo: this.repoDid },
|
|
3600
3602
|
});
|
|
3601
3603
|
if (uploadResult.success) {
|
|
3602
3604
|
const blobRef = {
|