@blockcast/mmt-container 2.0.0 → 2.0.1-main.57647cd30645

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.
@@ -1296,6 +1296,9 @@ var AMTGatewayManager = class {
1296
1296
  */
1297
1297
  async subscribe(config) {
1298
1298
  const { key } = config;
1299
+ if (config.protected) {
1300
+ throw new Error("AMTGatewayManager refuses a protected join: it reports no per-datagram sender (multicast-02 7.2.7)");
1301
+ }
1299
1302
  const keyStr = this.getKeyString(key);
1300
1303
  if (this.subscriptions.has(keyStr)) {
1301
1304
  console.log(`[AMT] Reusing existing subscription to ${keyStr}`);