@blockcast/mmt-container 2.0.0 → 2.0.1-main.f22764ad18fb
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/README.md +1 -1
- package/dist/browser-runtime.js +45 -12
- package/dist/browser-runtime.js.map +2 -2
- package/dist/delivery-catalog.js +3 -0
- package/dist/delivery-catalog.js.map +2 -2
- package/dist/mmtp-container-parser.no-modules.js +19 -10
- package/dist/mmtp-container-parser.no-modules.js.map +2 -2
- package/dist/multicast-manager.js +45 -12
- package/dist/multicast-manager.js.map +2 -2
- package/dist/multicast-transport.d.ts +8 -1
- package/dist/multicast-transport.d.ts.map +1 -1
- package/dist/multicast-transport.js +93 -2
- package/dist/multicast-transport.js.map +4 -4
- package/dist/no-modules.js +19 -10
- package/dist/no-modules.js.map +2 -2
- package/package.json +5 -5
- package/src/multicast-transport.ts +43 -4
package/dist/delivery-catalog.js
CHANGED
|
@@ -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}`);
|