Open mudcube opened 4 days ago
When upgrading from @fireproof/core v0.19.111 to v0.19.112, attempting to store files throws store-file not implemented error.
@fireproof/core
store-file not implemented
Create package.json
package.json
{ "dependencies": { "parcel": "^2.13.0" }, "scripts": { "start": "parcel index.html" } }
Create index.html
index.html
<script src="https://cdn.jsdelivr.net/npm/@fireproof/core@0.19.112/index.global.js"></script> <script src="./app.js" type="module"></script>
Create app.js
app.js
(async() => { const testFile = new Blob(['test'], { type: 'image/png' }) const db = Fireproof.fireproof('my-synced-db') const doc = { type: 'image-entry', _files: { 'test.png': testFile } } await db.put(doc) // Throws error })()
npm start
The file should be stored successfully as it did in v0.19.111.
Operation fails with error: Error: store-file not implemented
Error: store-file not implemented
When upgrading from
@fireproof/core
v0.19.111 to v0.19.112, attempting to store files throwsstore-file not implemented
error.Reproduction
Environment
Steps to Reproduce
Create
package.json
Create
index.html
Create
app.js
npm start
Expected Behavior
The file should be stored successfully as it did in v0.19.111.
Actual Behavior
Operation fails with error:
Error: store-file not implemented