Comments (5)
Thanks! Just noting that the uint8s and buffers above are equivalent, so the bug must be in the decoding step.
from hyperbee.
Perhaps that 'Node' valueEncoding on the Hypercore doesn't work well in the browser: https://github.com/hypercore-protocol/hyperbee/blob/4a2f2ab6e17d7c42031576ad3a73209bc667c4bf/index.js#L356 ? This is where I observe the browser and NodeJS runs begin to differ.
from hyperbee.
As per mafintosh's hint: the issue lies with the codecs library, which on V2.x does not yet use b4a. This is solved by bumping codecs to 3.0.0.
from hyperbee.
On top of bumping the codecs version, a newer version of b4a is also needed to solve this issue. See mafintosh/protocol-buffers-encodings#3
from hyperbee.
Solved with v2.0.0, which bumped the dependencies to the required versions. Thanks!
from hyperbee.
Related Issues (20)
- Error in `createDiffStream` when using sub() HOT 6
- `createHistoryStream` on `sub` returns the history with empty keys HOT 3
- Connect Two Node Server
- return `Promise<{seq}>` from `put` calls
- Share batch between subs
- Values stored as keys when using sub of sub HOT 3
- Is it possible to have an on('update') event on subs? HOT 2
- History stream errors for encrypted hypercores HOT 6
- "dnshyper" - domain name service for hyperprotocol (concept)
- Real deletes? HOT 10
- Possible to create history stream on sub database? HOT 2
- Write/read access management, multi-master replicas
- issue with hyperbee.put HOT 2
- Update docs request HOT 1
- Hyperbee put with the same key HOT 2
- rw lock for batches HOT 13
- update() should accept options
- `Session is closed` timing issue in createDiffStream HOT 2
- Are the sparse cores working? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperbee.