Releases: calebsander/structure-bytes
Releases · calebsander/structure-bytes
3.0.10
TupleType
andBooleanTupleType
now have their length capped at255
to save space in the type serialization. If you need longer tuples, you can make tuples of tuples, e.g.new sb.TupleType({type: new sb.TupleType({type: new sb.IntType, length: 255}), length: 255})
- Updated Closure Compiler
2.23.9
Documented binary format
2.22.9
- Added
NamedChoice
to README - Removed
simultaneity.js
from repository, and put it in its own package - Updated
babel
2.21.9
-Fixed writing values for StructType
s that have optional fields, where the supplied value for the field is undefined
2.20.9
2.19.9
- Fixed writing empty arrays
- Upgraded dependencies
2.18.9
Fixed recursive registry methods being unavailable on client-side
2.17.9
Documentation update
2.16.9
- Added
RecursiveType
, allowing you to create circular data structures and type definitions that depend on themselves ChoiceType
is now correctly anAbsoluteType
, so it can be used with pointers- No longer polluting keys of read and write buffers
- Some refactoring
2.15.9
- Updated dependencies (
base64-js
andbabel-preset-es2015
) - Tiny code refactor