@naylence/runtime 0.3.5-test.955 → 0.3.5-test.956

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.
@@ -98,12 +98,12 @@ installProcessEnvShim();
98
98
  // --- END ENV SHIM ---
99
99
 
100
100
  // This file is auto-generated during build - do not edit manually
101
- // Generated from package.json version: 0.3.5-test.955
101
+ // Generated from package.json version: 0.3.5-test.956
102
102
  /**
103
103
  * The package version, injected at build time.
104
104
  * @internal
105
105
  */
106
- const VERSION = '0.3.5-test.955';
106
+ const VERSION = '0.3.5-test.956';
107
107
 
108
108
  /**
109
109
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -9419,10 +9419,12 @@ class BaseAsyncConnector extends TaskSpawner {
9419
9419
  throw new FameTransportClose('Connection closed', 1006);
9420
9420
  }
9421
9421
  // Apply flow control if enabled and not a credit update
9422
- if (this._fcEnabled &&
9423
- !(envelope.frame &&
9424
- 'flow_id' in envelope.frame &&
9425
- 'credits' in envelope.frame)) {
9422
+ const isCreditUpdateFrame = Boolean(envelope.frame &&
9423
+ (envelope.frame.type === 'CreditUpdate' ||
9424
+ envelope.frame.type === 'credit_update' ||
9425
+ ('flowId' in envelope.frame && 'credits' in envelope.frame) ||
9426
+ ('flow_id' in envelope.frame && 'credits' in envelope.frame)));
9427
+ if (this._fcEnabled && !isCreditUpdateFrame) {
9426
9428
  const flowId = envelope.flowId || this._connectorFlowId;
9427
9429
  envelope.flowId = flowId;
9428
9430
  const t0 = this._metrics ? performance.now() : 0;
@@ -10008,8 +10010,10 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
10008
10010
  }
10009
10011
  }
10010
10012
  };
10011
- this.channel.addEventListener('message', this.onMsg);
10012
- this.listenerRegistered = true;
10013
+ if (!config.passive) {
10014
+ this.channel.addEventListener('message', this.onMsg);
10015
+ this.listenerRegistered = true;
10016
+ }
10013
10017
  // Setup visibility change monitoring
10014
10018
  this.visibilityChangeHandler = () => {
10015
10019
  const isHidden = document.hidden;
@@ -30028,6 +30032,7 @@ class BroadcastChannelListener extends TransportListener {
30028
30032
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE,
30029
30033
  channelName: this._channelName,
30030
30034
  inboxCapacity: this._inboxCapacity,
30035
+ passive: true,
30031
30036
  };
30032
30037
  }
30033
30038
  try {
@@ -30088,6 +30093,7 @@ class BroadcastChannelListener extends TransportListener {
30088
30093
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE,
30089
30094
  channelName: this._channelName,
30090
30095
  inboxCapacity: this._inboxCapacity,
30096
+ passive: true,
30091
30097
  };
30092
30098
  const channelCandidate = candidate.channelName ?? candidate['channel_name'];
30093
30099
  if (typeof channelCandidate === 'string' && channelCandidate.trim().length > 0) {
@@ -96,12 +96,12 @@ installProcessEnvShim();
96
96
  // --- END ENV SHIM ---
97
97
 
98
98
  // This file is auto-generated during build - do not edit manually
99
- // Generated from package.json version: 0.3.5-test.955
99
+ // Generated from package.json version: 0.3.5-test.956
100
100
  /**
101
101
  * The package version, injected at build time.
102
102
  * @internal
103
103
  */
104
- const VERSION = '0.3.5-test.955';
104
+ const VERSION = '0.3.5-test.956';
105
105
 
106
106
  /**
107
107
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -9417,10 +9417,12 @@ class BaseAsyncConnector extends TaskSpawner {
9417
9417
  throw new FameTransportClose('Connection closed', 1006);
9418
9418
  }
9419
9419
  // Apply flow control if enabled and not a credit update
9420
- if (this._fcEnabled &&
9421
- !(envelope.frame &&
9422
- 'flow_id' in envelope.frame &&
9423
- 'credits' in envelope.frame)) {
9420
+ const isCreditUpdateFrame = Boolean(envelope.frame &&
9421
+ (envelope.frame.type === 'CreditUpdate' ||
9422
+ envelope.frame.type === 'credit_update' ||
9423
+ ('flowId' in envelope.frame && 'credits' in envelope.frame) ||
9424
+ ('flow_id' in envelope.frame && 'credits' in envelope.frame)));
9425
+ if (this._fcEnabled && !isCreditUpdateFrame) {
9424
9426
  const flowId = envelope.flowId || this._connectorFlowId;
9425
9427
  envelope.flowId = flowId;
9426
9428
  const t0 = this._metrics ? performance.now() : 0;
@@ -10006,8 +10008,10 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
10006
10008
  }
10007
10009
  }
10008
10010
  };
10009
- this.channel.addEventListener('message', this.onMsg);
10010
- this.listenerRegistered = true;
10011
+ if (!config.passive) {
10012
+ this.channel.addEventListener('message', this.onMsg);
10013
+ this.listenerRegistered = true;
10014
+ }
10011
10015
  // Setup visibility change monitoring
10012
10016
  this.visibilityChangeHandler = () => {
10013
10017
  const isHidden = document.hidden;
@@ -30026,6 +30030,7 @@ class BroadcastChannelListener extends TransportListener {
30026
30030
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE,
30027
30031
  channelName: this._channelName,
30028
30032
  inboxCapacity: this._inboxCapacity,
30033
+ passive: true,
30029
30034
  };
30030
30035
  }
30031
30036
  try {
@@ -30086,6 +30091,7 @@ class BroadcastChannelListener extends TransportListener {
30086
30091
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE,
30087
30092
  channelName: this._channelName,
30088
30093
  inboxCapacity: this._inboxCapacity,
30094
+ passive: true,
30089
30095
  };
30090
30096
  const channelCandidate = candidate.channelName ?? candidate['channel_name'];
30091
30097
  if (typeof channelCandidate === 'string' && channelCandidate.trim().length > 0) {
@@ -261,10 +261,12 @@ class BaseAsyncConnector extends task_spawner_js_1.TaskSpawner {
261
261
  throw new errors_js_1.FameTransportClose('Connection closed', 1006);
262
262
  }
263
263
  // Apply flow control if enabled and not a credit update
264
- if (this._fcEnabled &&
265
- !(envelope.frame &&
266
- 'flow_id' in envelope.frame &&
267
- 'credits' in envelope.frame)) {
264
+ const isCreditUpdateFrame = Boolean(envelope.frame &&
265
+ (envelope.frame.type === 'CreditUpdate' ||
266
+ envelope.frame.type === 'credit_update' ||
267
+ ('flowId' in envelope.frame && 'credits' in envelope.frame) ||
268
+ ('flow_id' in envelope.frame && 'credits' in envelope.frame)));
269
+ if (this._fcEnabled && !isCreditUpdateFrame) {
268
270
  const flowId = envelope.flowId || this._connectorFlowId;
269
271
  envelope.flowId = flowId;
270
272
  const t0 = this._metrics ? performance.now() : 0;
@@ -160,8 +160,10 @@ class BroadcastChannelConnector extends base_async_connector_js_1.BaseAsyncConne
160
160
  }
161
161
  }
162
162
  };
163
- this.channel.addEventListener('message', this.onMsg);
164
- this.listenerRegistered = true;
163
+ if (!config.passive) {
164
+ this.channel.addEventListener('message', this.onMsg);
165
+ this.listenerRegistered = true;
166
+ }
165
167
  // Setup visibility change monitoring
166
168
  this.visibilityChangeHandler = () => {
167
169
  const isHidden = document.hidden;
@@ -342,6 +342,7 @@ class BroadcastChannelListener extends transport_listener_js_1.TransportListener
342
342
  type: broadcast_channel_connector_js_1.BROADCAST_CHANNEL_CONNECTOR_TYPE,
343
343
  channelName: this._channelName,
344
344
  inboxCapacity: this._inboxCapacity,
345
+ passive: true,
345
346
  };
346
347
  }
347
348
  try {
@@ -402,6 +403,7 @@ class BroadcastChannelListener extends transport_listener_js_1.TransportListener
402
403
  type: broadcast_channel_connector_js_1.BROADCAST_CHANNEL_CONNECTOR_TYPE,
403
404
  channelName: this._channelName,
404
405
  inboxCapacity: this._inboxCapacity,
406
+ passive: true,
405
407
  };
406
408
  const channelCandidate = candidate.channelName ?? candidate['channel_name'];
407
409
  if (typeof channelCandidate === 'string' && channelCandidate.trim().length > 0) {
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  // This file is auto-generated during build - do not edit manually
3
- // Generated from package.json version: 0.3.5-test.955
3
+ // Generated from package.json version: 0.3.5-test.956
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.VERSION = void 0;
6
6
  /**
7
7
  * The package version, injected at build time.
8
8
  * @internal
9
9
  */
10
- exports.VERSION = '0.3.5-test.955';
10
+ exports.VERSION = '0.3.5-test.956';
@@ -257,10 +257,12 @@ export class BaseAsyncConnector extends TaskSpawner {
257
257
  throw new FameTransportClose('Connection closed', 1006);
258
258
  }
259
259
  // Apply flow control if enabled and not a credit update
260
- if (this._fcEnabled &&
261
- !(envelope.frame &&
262
- 'flow_id' in envelope.frame &&
263
- 'credits' in envelope.frame)) {
260
+ const isCreditUpdateFrame = Boolean(envelope.frame &&
261
+ (envelope.frame.type === 'CreditUpdate' ||
262
+ envelope.frame.type === 'credit_update' ||
263
+ ('flowId' in envelope.frame && 'credits' in envelope.frame) ||
264
+ ('flow_id' in envelope.frame && 'credits' in envelope.frame)));
265
+ if (this._fcEnabled && !isCreditUpdateFrame) {
264
266
  const flowId = envelope.flowId || this._connectorFlowId;
265
267
  envelope.flowId = flowId;
266
268
  const t0 = this._metrics ? performance.now() : 0;
@@ -157,8 +157,10 @@ export class BroadcastChannelConnector extends BaseAsyncConnector {
157
157
  }
158
158
  }
159
159
  };
160
- this.channel.addEventListener('message', this.onMsg);
161
- this.listenerRegistered = true;
160
+ if (!config.passive) {
161
+ this.channel.addEventListener('message', this.onMsg);
162
+ this.listenerRegistered = true;
163
+ }
162
164
  // Setup visibility change monitoring
163
165
  this.visibilityChangeHandler = () => {
164
166
  const isHidden = document.hidden;
@@ -338,6 +338,7 @@ export class BroadcastChannelListener extends TransportListener {
338
338
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE,
339
339
  channelName: this._channelName,
340
340
  inboxCapacity: this._inboxCapacity,
341
+ passive: true,
341
342
  };
342
343
  }
343
344
  try {
@@ -398,6 +399,7 @@ export class BroadcastChannelListener extends TransportListener {
398
399
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE,
399
400
  channelName: this._channelName,
400
401
  inboxCapacity: this._inboxCapacity,
402
+ passive: true,
401
403
  };
402
404
  const channelCandidate = candidate.channelName ?? candidate['channel_name'];
403
405
  if (typeof channelCandidate === 'string' && channelCandidate.trim().length > 0) {
@@ -1,7 +1,7 @@
1
1
  // This file is auto-generated during build - do not edit manually
2
- // Generated from package.json version: 0.3.5-test.955
2
+ // Generated from package.json version: 0.3.5-test.956
3
3
  /**
4
4
  * The package version, injected at build time.
5
5
  * @internal
6
6
  */
7
- export const VERSION = '0.3.5-test.955';
7
+ export const VERSION = '0.3.5-test.956';
@@ -14,12 +14,12 @@ var fastify = require('fastify');
14
14
  var websocketPlugin = require('@fastify/websocket');
15
15
 
16
16
  // This file is auto-generated during build - do not edit manually
17
- // Generated from package.json version: 0.3.5-test.955
17
+ // Generated from package.json version: 0.3.5-test.956
18
18
  /**
19
19
  * The package version, injected at build time.
20
20
  * @internal
21
21
  */
22
- const VERSION = '0.3.5-test.955';
22
+ const VERSION = '0.3.5-test.956';
23
23
 
24
24
  /**
25
25
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -9335,10 +9335,12 @@ class BaseAsyncConnector extends TaskSpawner {
9335
9335
  throw new FameTransportClose('Connection closed', 1006);
9336
9336
  }
9337
9337
  // Apply flow control if enabled and not a credit update
9338
- if (this._fcEnabled &&
9339
- !(envelope.frame &&
9340
- 'flow_id' in envelope.frame &&
9341
- 'credits' in envelope.frame)) {
9338
+ const isCreditUpdateFrame = Boolean(envelope.frame &&
9339
+ (envelope.frame.type === 'CreditUpdate' ||
9340
+ envelope.frame.type === 'credit_update' ||
9341
+ ('flowId' in envelope.frame && 'credits' in envelope.frame) ||
9342
+ ('flow_id' in envelope.frame && 'credits' in envelope.frame)));
9343
+ if (this._fcEnabled && !isCreditUpdateFrame) {
9342
9344
  const flowId = envelope.flowId || this._connectorFlowId;
9343
9345
  envelope.flowId = flowId;
9344
9346
  const t0 = this._metrics ? performance.now() : 0;
@@ -9924,8 +9926,10 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
9924
9926
  }
9925
9927
  }
9926
9928
  };
9927
- this.channel.addEventListener('message', this.onMsg);
9928
- this.listenerRegistered = true;
9929
+ if (!config.passive) {
9930
+ this.channel.addEventListener('message', this.onMsg);
9931
+ this.listenerRegistered = true;
9932
+ }
9929
9933
  // Setup visibility change monitoring
9930
9934
  this.visibilityChangeHandler = () => {
9931
9935
  const isHidden = document.hidden;
@@ -36256,6 +36260,7 @@ class BroadcastChannelListener extends TransportListener {
36256
36260
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE,
36257
36261
  channelName: this._channelName,
36258
36262
  inboxCapacity: this._inboxCapacity,
36263
+ passive: true,
36259
36264
  };
36260
36265
  }
36261
36266
  try {
@@ -36316,6 +36321,7 @@ class BroadcastChannelListener extends TransportListener {
36316
36321
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE,
36317
36322
  channelName: this._channelName,
36318
36323
  inboxCapacity: this._inboxCapacity,
36324
+ passive: true,
36319
36325
  };
36320
36326
  const channelCandidate = candidate.channelName ?? candidate['channel_name'];
36321
36327
  if (typeof channelCandidate === 'string' && channelCandidate.trim().length > 0) {
@@ -13,12 +13,12 @@ import fastify from 'fastify';
13
13
  import websocketPlugin from '@fastify/websocket';
14
14
 
15
15
  // This file is auto-generated during build - do not edit manually
16
- // Generated from package.json version: 0.3.5-test.955
16
+ // Generated from package.json version: 0.3.5-test.956
17
17
  /**
18
18
  * The package version, injected at build time.
19
19
  * @internal
20
20
  */
21
- const VERSION = '0.3.5-test.955';
21
+ const VERSION = '0.3.5-test.956';
22
22
 
23
23
  /**
24
24
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -9334,10 +9334,12 @@ class BaseAsyncConnector extends TaskSpawner {
9334
9334
  throw new FameTransportClose('Connection closed', 1006);
9335
9335
  }
9336
9336
  // Apply flow control if enabled and not a credit update
9337
- if (this._fcEnabled &&
9338
- !(envelope.frame &&
9339
- 'flow_id' in envelope.frame &&
9340
- 'credits' in envelope.frame)) {
9337
+ const isCreditUpdateFrame = Boolean(envelope.frame &&
9338
+ (envelope.frame.type === 'CreditUpdate' ||
9339
+ envelope.frame.type === 'credit_update' ||
9340
+ ('flowId' in envelope.frame && 'credits' in envelope.frame) ||
9341
+ ('flow_id' in envelope.frame && 'credits' in envelope.frame)));
9342
+ if (this._fcEnabled && !isCreditUpdateFrame) {
9341
9343
  const flowId = envelope.flowId || this._connectorFlowId;
9342
9344
  envelope.flowId = flowId;
9343
9345
  const t0 = this._metrics ? performance.now() : 0;
@@ -9923,8 +9925,10 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
9923
9925
  }
9924
9926
  }
9925
9927
  };
9926
- this.channel.addEventListener('message', this.onMsg);
9927
- this.listenerRegistered = true;
9928
+ if (!config.passive) {
9929
+ this.channel.addEventListener('message', this.onMsg);
9930
+ this.listenerRegistered = true;
9931
+ }
9928
9932
  // Setup visibility change monitoring
9929
9933
  this.visibilityChangeHandler = () => {
9930
9934
  const isHidden = document.hidden;
@@ -36255,6 +36259,7 @@ class BroadcastChannelListener extends TransportListener {
36255
36259
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE,
36256
36260
  channelName: this._channelName,
36257
36261
  inboxCapacity: this._inboxCapacity,
36262
+ passive: true,
36258
36263
  };
36259
36264
  }
36260
36265
  try {
@@ -36315,6 +36320,7 @@ class BroadcastChannelListener extends TransportListener {
36315
36320
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE,
36316
36321
  channelName: this._channelName,
36317
36322
  inboxCapacity: this._inboxCapacity,
36323
+ passive: true,
36318
36324
  };
36319
36325
  const channelCandidate = candidate.channelName ?? candidate['channel_name'];
36320
36326
  if (typeof channelCandidate === 'string' && channelCandidate.trim().length > 0) {
@@ -2265,10 +2265,12 @@ class BaseAsyncConnector extends TaskSpawner {
2265
2265
  throw new FameTransportClose('Connection closed', 1006);
2266
2266
  }
2267
2267
  // Apply flow control if enabled and not a credit update
2268
- if (this._fcEnabled &&
2269
- !(envelope.frame &&
2270
- 'flow_id' in envelope.frame &&
2271
- 'credits' in envelope.frame)) {
2268
+ const isCreditUpdateFrame = Boolean(envelope.frame &&
2269
+ (envelope.frame.type === 'CreditUpdate' ||
2270
+ envelope.frame.type === 'credit_update' ||
2271
+ ('flowId' in envelope.frame && 'credits' in envelope.frame) ||
2272
+ ('flow_id' in envelope.frame && 'credits' in envelope.frame)));
2273
+ if (this._fcEnabled && !isCreditUpdateFrame) {
2272
2274
  const flowId = envelope.flowId || this._connectorFlowId;
2273
2275
  envelope.flowId = flowId;
2274
2276
  const t0 = this._metrics ? performance.now() : 0;
@@ -5514,12 +5516,12 @@ for (const [name, config] of Object.entries(SQLITE_PROFILES)) {
5514
5516
  }
5515
5517
 
5516
5518
  // This file is auto-generated during build - do not edit manually
5517
- // Generated from package.json version: 0.3.5-test.955
5519
+ // Generated from package.json version: 0.3.5-test.956
5518
5520
  /**
5519
5521
  * The package version, injected at build time.
5520
5522
  * @internal
5521
5523
  */
5522
- const VERSION = '0.3.5-test.955';
5524
+ const VERSION = '0.3.5-test.956';
5523
5525
 
5524
5526
  /**
5525
5527
  * Fame errors module - Fame protocol specific error classes
@@ -11661,8 +11663,10 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
11661
11663
  }
11662
11664
  }
11663
11665
  };
11664
- this.channel.addEventListener('message', this.onMsg);
11665
- this.listenerRegistered = true;
11666
+ if (!config.passive) {
11667
+ this.channel.addEventListener('message', this.onMsg);
11668
+ this.listenerRegistered = true;
11669
+ }
11666
11670
  // Setup visibility change monitoring
11667
11671
  this.visibilityChangeHandler = () => {
11668
11672
  const isHidden = document.hidden;
@@ -32769,6 +32773,7 @@ class BroadcastChannelListener extends TransportListener {
32769
32773
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE$1,
32770
32774
  channelName: this._channelName,
32771
32775
  inboxCapacity: this._inboxCapacity,
32776
+ passive: true,
32772
32777
  };
32773
32778
  }
32774
32779
  try {
@@ -32829,6 +32834,7 @@ class BroadcastChannelListener extends TransportListener {
32829
32834
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE$1,
32830
32835
  channelName: this._channelName,
32831
32836
  inboxCapacity: this._inboxCapacity,
32837
+ passive: true,
32832
32838
  };
32833
32839
  const channelCandidate = candidate.channelName ?? candidate['channel_name'];
32834
32840
  if (typeof channelCandidate === 'string' && channelCandidate.trim().length > 0) {
@@ -2264,10 +2264,12 @@ class BaseAsyncConnector extends TaskSpawner {
2264
2264
  throw new FameTransportClose('Connection closed', 1006);
2265
2265
  }
2266
2266
  // Apply flow control if enabled and not a credit update
2267
- if (this._fcEnabled &&
2268
- !(envelope.frame &&
2269
- 'flow_id' in envelope.frame &&
2270
- 'credits' in envelope.frame)) {
2267
+ const isCreditUpdateFrame = Boolean(envelope.frame &&
2268
+ (envelope.frame.type === 'CreditUpdate' ||
2269
+ envelope.frame.type === 'credit_update' ||
2270
+ ('flowId' in envelope.frame && 'credits' in envelope.frame) ||
2271
+ ('flow_id' in envelope.frame && 'credits' in envelope.frame)));
2272
+ if (this._fcEnabled && !isCreditUpdateFrame) {
2271
2273
  const flowId = envelope.flowId || this._connectorFlowId;
2272
2274
  envelope.flowId = flowId;
2273
2275
  const t0 = this._metrics ? performance.now() : 0;
@@ -5513,12 +5515,12 @@ for (const [name, config] of Object.entries(SQLITE_PROFILES)) {
5513
5515
  }
5514
5516
 
5515
5517
  // This file is auto-generated during build - do not edit manually
5516
- // Generated from package.json version: 0.3.5-test.955
5518
+ // Generated from package.json version: 0.3.5-test.956
5517
5519
  /**
5518
5520
  * The package version, injected at build time.
5519
5521
  * @internal
5520
5522
  */
5521
- const VERSION = '0.3.5-test.955';
5523
+ const VERSION = '0.3.5-test.956';
5522
5524
 
5523
5525
  /**
5524
5526
  * Fame errors module - Fame protocol specific error classes
@@ -11660,8 +11662,10 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
11660
11662
  }
11661
11663
  }
11662
11664
  };
11663
- this.channel.addEventListener('message', this.onMsg);
11664
- this.listenerRegistered = true;
11665
+ if (!config.passive) {
11666
+ this.channel.addEventListener('message', this.onMsg);
11667
+ this.listenerRegistered = true;
11668
+ }
11665
11669
  // Setup visibility change monitoring
11666
11670
  this.visibilityChangeHandler = () => {
11667
11671
  const isHidden = document.hidden;
@@ -32768,6 +32772,7 @@ class BroadcastChannelListener extends TransportListener {
32768
32772
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE$1,
32769
32773
  channelName: this._channelName,
32770
32774
  inboxCapacity: this._inboxCapacity,
32775
+ passive: true,
32771
32776
  };
32772
32777
  }
32773
32778
  try {
@@ -32828,6 +32833,7 @@ class BroadcastChannelListener extends TransportListener {
32828
32833
  type: BROADCAST_CHANNEL_CONNECTOR_TYPE$1,
32829
32834
  channelName: this._channelName,
32830
32835
  inboxCapacity: this._inboxCapacity,
32836
+ passive: true,
32831
32837
  };
32832
32838
  const channelCandidate = candidate.channelName ?? candidate['channel_name'];
32833
32839
  if (typeof channelCandidate === 'string' && channelCandidate.trim().length > 0) {
@@ -7,6 +7,7 @@ export interface BroadcastChannelConnectorConfig extends ConnectorConfig {
7
7
  channelName?: string;
8
8
  inboxCapacity?: number;
9
9
  initialWindow?: number;
10
+ passive?: boolean;
10
11
  }
11
12
  type BroadcastChannelInboxItem = Uint8Array | FameEnvelope | FameChannelMessage;
12
13
  export declare class BroadcastChannelConnector extends BaseAsyncConnector {
@@ -2,4 +2,4 @@
2
2
  * The package version, injected at build time.
3
3
  * @internal
4
4
  */
5
- export declare const VERSION = "0.3.5-test.955";
5
+ export declare const VERSION = "0.3.5-test.956";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naylence/runtime",
3
- "version": "0.3.5-test.955",
3
+ "version": "0.3.5-test.956",
4
4
  "type": "module",
5
5
  "description": "Naylence Runtime - Complete TypeScript runtime",
6
6
  "author": "Naylence Dev <naylencedev@gmail.com>",