Changelog
2.0.1 - 2024-02-25
Changelog
2.0.0 - 2024-02-24
bps.build()
function that enables you to build an instruction set from a source and a desired target.bps.serialize()
function that enables you to serialize an instruction set into a binary BPS buffer.create
command in the CLI tool that enables you to create a BPS patch file from a source file and a desired target file.bps.parse()
has been changed, it now has a different shape. Instead of this object structure:
{
sourceSize : 0,
sourceChecksum : 0,
targetSize : 0,
targetChecksum : 0,
actions : [],
patchChecksum : 0
}
You will instead recieve an object with this structure:
{
instructions : {
sourceSize : 0,
sourceChecksum : 0,
targetSize : 0,
targetChecksum : 0,
actions : []
},
checksum : 0
}
bps.patch()
function no longer takes the entire patch previously returned by bps.parse()
but instead just the instruction set.