@blockcast/mmt-transport 2.2.0-main.f480a7ede8b1 → 2.2.0-main.fb5c7dfbe2de

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.
@@ -2199,9 +2199,9 @@
2199
2199
  } catch (error) {
2200
2200
  throw new MulticastError("subscription-failed", "MulticastReceiver did not open", error);
2201
2201
  }
2202
- if (rx.integrityScheme !== INTEGRITY_SCHEME) {
2202
+ if (opened.integrityScheme !== INTEGRITY_SCHEME) {
2203
2203
  await rx.close();
2204
- throw unsupported(`integrity scheme ${String(rx.integrityScheme)} is not ${INTEGRITY_SCHEME}`);
2204
+ throw unsupported(`integrity scheme ${String(opened.integrityScheme)} is not ${INTEGRITY_SCHEME}`);
2205
2205
  }
2206
2206
  const events = new EventTarget();
2207
2207
  let state = "connected";