fireproof-storage / fireproof-storage/fireproof

Fireproof v0.19.112 throws `store-file not implemented`

Open
#365 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
973
Forks
58
PR merge metrics
No merged PRs in 30d

Description

When upgrading from `@fireproof/core` v0.19.111 to v0.19.112, attempting to store files throws `store-file not implemented` error.

## Reproduction
### Environment
- @fireproof/core: ^0.19.112 (previously working on 0.19.111)

### Steps to Reproduce
1. Create `package.json`
```json
{
"dependencies": {
"parcel": "^2.13.0"
},
"scripts": {
"start": "parcel index.html"
}
}
```

2. Create `index.html`
```html

```

3. Create `app.js`

```javascript
(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
})()
```

4. Run the code

`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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.