@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.mjs
CHANGED
|
@@ -3574,6 +3574,7 @@ class HypercertOperationsImpl extends EventEmitter {
|
|
|
3574
3574
|
const uint8Array = new Uint8Array(arrayBuffer);
|
|
3575
3575
|
const uploadResult = await this.agent.com.atproto.repo.uploadBlob(uint8Array, {
|
|
3576
3576
|
encoding: content.type || fallbackContentType,
|
|
3577
|
+
qp: { repo: this.repoDid },
|
|
3577
3578
|
});
|
|
3578
3579
|
if (!uploadResult.success) {
|
|
3579
3580
|
throw new NetworkError("Failed to upload blob");
|
|
@@ -3596,6 +3597,7 @@ class HypercertOperationsImpl extends EventEmitter {
|
|
|
3596
3597
|
const uint8Array = new Uint8Array(arrayBuffer);
|
|
3597
3598
|
const uploadResult = await this.agent.com.atproto.repo.uploadBlob(uint8Array, {
|
|
3598
3599
|
encoding: image.type || "image/jpeg",
|
|
3600
|
+
qp: { repo: this.repoDid },
|
|
3599
3601
|
});
|
|
3600
3602
|
if (uploadResult.success) {
|
|
3601
3603
|
const blobRef = {
|