compactr / compactr.js

Schema based serialization made easy
Other
101 stars 6 forks source link

schema.bytes() is not a function #12

Closed icebob closed 7 years ago

icebob commented 7 years ago

in README you say userSchema.bytes(); But I got error that bytes is not a function. I checked the code and I see you renamed it to buffer.

fed135 commented 7 years ago

Good catch, I'll try to update the docs and the readme

fed135 commented 7 years ago

Fixed in #13