@fireproof/core 0.7.2-dev → 0.7.2-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 +1 -0
- package/dist/src/fireproof.js.map +1 -1
- package/dist/src/fireproof.mjs +1 -0
- package/dist/src/fireproof.mjs.map +1 -1
- package/dist/valet.js +2 -0
- package/package.json +1 -1
- package/src/valet.js +1 -0
package/dist/valet.js
CHANGED
@@ -102,6 +102,8 @@ export class Valet {
|
|
102
102
|
}
|
103
103
|
async function parkCar(storage, innerBlockstore, cids) {
|
104
104
|
// console.log('parkCar', this.instanceId, this.name, carCid, cids)
|
105
|
+
if (storage.readonly)
|
106
|
+
return;
|
105
107
|
let newCar;
|
106
108
|
if (storage.keyMaterial) {
|
107
109
|
// console.log('encrypting car', innerBlockstore.label)
|
package/package.json
CHANGED
package/src/valet.js
CHANGED
@@ -106,6 +106,7 @@ export class Valet {
|
|
106
106
|
|
107
107
|
async function parkCar (storage, innerBlockstore, cids) {
|
108
108
|
// console.log('parkCar', this.instanceId, this.name, carCid, cids)
|
109
|
+
if (storage.readonly) return
|
109
110
|
let newCar
|
110
111
|
if (storage.keyMaterial) {
|
111
112
|
// console.log('encrypting car', innerBlockstore.label)
|