Skip to content

Commit

Permalink
backward compatibility fix, versio bump
Browse files Browse the repository at this point in the history
  • Loading branch information
xdenser committed Jul 14, 2014
1 parent ae69fa7 commit 07a437f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
// export default Struct;
module.exports = exports = Struct;

// compatibility
exports.Struct = Struct;

function byteField(p, offset) {
this.length = 1;
this.offset = offset;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ "name" : "struct"
, "version" : "v0.0.7"
, "version" : "v0.0.8"
, "description" : "Pack/Unpack multibyte binary values from/to buffers "
, "author": "Denys Khanzhiyev"
, "main": "./index.js"
Expand Down

0 comments on commit 07a437f

Please sign in to comment.