@blockcast/mmt-container 1.0.1-main.9b9e6c5b9a9d → 1.0.1

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.
@@ -24512,7 +24512,7 @@ function parseBcProvenanceV2Address(address) {
24512
24512
  return parseIpv4(address);
24513
24513
  }
24514
24514
  function endpointBytes(endpoint) {
24515
- if (!validPort(endpoint.port) || !validU32(endpoint.streamId)) {
24515
+ if (!validPort(endpoint.port) || !validPort(endpoint.manifestPort) || !validU32(endpoint.streamId)) {
24516
24516
  throw new Error("invalid BCPV2 endpoint");
24517
24517
  }
24518
24518
  const source = parseBcProvenanceV2Address(endpoint.sourceAddress);
@@ -24572,7 +24572,7 @@ function bcProvenanceV2SignedMessage(record, endpoint) {
24572
24572
  offset += source.byteLength;
24573
24573
  prefix.set(group, offset);
24574
24574
  offset += group.byteLength;
24575
- prefix.set(u16(endpoint.port), offset);
24575
+ prefix.set(u16(endpoint.manifestPort), offset);
24576
24576
  const message = new Uint8Array(prefix.byteLength + record.body.byteLength);
24577
24577
  message.set(prefix);
24578
24578
  message.set(record.body, prefix.byteLength);
@@ -27646,6 +27646,7 @@ var MulticastManager = class {
27646
27646
  sourceAddress: flow.source,
27647
27647
  groupAddress: flow.groupAddress,
27648
27648
  port: flow.port,
27649
+ manifestPort: flow.manifestPort,
27649
27650
  streamId: flow.streamId
27650
27651
  },
27651
27652
  keys: auth.keys,