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