@rialo/ts-cdk 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -6011,7 +6011,10 @@ var Message = class _Message {
6011
6011
  );
6012
6012
  }
6013
6013
  const validFromBytes = data.slice(cursor, cursor + 8);
6014
- const validFrom = BigInt.asUintN(64, new DataView(validFromBytes.buffer).getBigUint64(0));
6014
+ const validFrom = BigInt.asUintN(
6015
+ 64,
6016
+ new DataView(validFromBytes.buffer).getBigUint64(0, true)
6017
+ );
6015
6018
  cursor += 8;
6016
6019
  const [instructionsLength, newCursor2] = deserializeCompactU162(
6017
6020
  data,
@@ -6069,7 +6072,11 @@ var Message = class _Message {
6069
6072
  buf.push(...key.toBytes());
6070
6073
  });
6071
6074
  const validFromBuffer = new ArrayBuffer(8);
6072
- new DataView(validFromBuffer).setBigUint64(0, this.validFrom ?? BigInt(0));
6075
+ new DataView(validFromBuffer).setBigUint64(
6076
+ 0,
6077
+ this.validFrom ?? BigInt(0),
6078
+ true
6079
+ );
6073
6080
  buffer.push(...new Uint8Array(validFromBuffer));
6074
6081
  this.serializeCompactArray(buffer, this.instructions, (buf, ix) => {
6075
6082
  buf.push(ix.programIdIndex);