@agentvault/agentvault 0.19.25 → 0.19.26

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.js CHANGED
@@ -49358,7 +49358,7 @@ var init_channel = __esm({
49358
49358
  previousChainLength: headerObj.previousChainLength,
49359
49359
  messageNumber: headerObj.messageNumber
49360
49360
  },
49361
- headerSignature: hexToBytes(msgData.header_signature),
49361
+ headerSignature: msgData.header_signature ? hexToBytes(msgData.header_signature) : new Uint8Array(64),
49362
49362
  ciphertext: hexToBytes(msgData.ciphertext),
49363
49363
  nonce: hexToBytes(msgData.nonce)
49364
49364
  };