@fireproof/core 0.7.3-dev.1 → 0.7.3-dev.2
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/src/fireproof.mjs
CHANGED
@@ -40075,8 +40075,9 @@ class UCAN extends Base {
|
|
40075
40075
|
async writeCars (cars) {
|
40076
40076
|
if (this.config.readonly) return
|
40077
40077
|
for (const { cid, bytes } of cars) {
|
40078
|
+
console.log(`write UCAN ${cid}, ${bytes.length} bytes`);
|
40078
40079
|
const upCid = await this.config.upload(bytes);
|
40079
|
-
console.log(
|
40080
|
+
console.log(`wrote UCAN ${cid}, ${upCid}`);
|
40080
40081
|
// if (!response.ok) throw new Error(`An error occurred: ${response.statusText}`)
|
40081
40082
|
}
|
40082
40083
|
}
|