@naylence/runtime 0.3.5-test.960 → 0.3.5-test.961

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.960
101
+ // Generated from package.json version: 0.3.5-test.961
102
102
  /**
103
103
  * The package version, injected at build time.
104
104
  * @internal
105
105
  */
106
- const VERSION = '0.3.5-test.960';
106
+ const VERSION = '0.3.5-test.961';
107
107
 
108
108
  /**
109
109
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -10261,6 +10261,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
10261
10261
  const normalizedSenderId = typeof senderId === 'string' && senderId.length > 0
10262
10262
  ? senderId
10263
10263
  : undefined;
10264
+ if (normalizedSenderId && normalizedSenderId !== this.connectorId) {
10265
+ logger$_.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
10266
+ channel: this.channelName,
10267
+ connector_id: this.connectorId,
10268
+ sender_id: normalizedSenderId,
10269
+ dedup_key: dedupKey,
10270
+ source: 'listener',
10271
+ });
10272
+ return false;
10273
+ }
10264
10274
  logger$_.debug('broadcast_channel_duplicate_ack_check', {
10265
10275
  channel: this.channelName,
10266
10276
  connector_id: this.connectorId,
@@ -10291,6 +10301,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
10291
10301
  return false;
10292
10302
  }
10293
10303
  const senderId = this._extractSenderIdFromInboxItem(item);
10304
+ if (senderId && senderId !== this.connectorId) {
10305
+ logger$_.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
10306
+ channel: this.channelName,
10307
+ connector_id: this.connectorId,
10308
+ sender_id: senderId,
10309
+ dedup_key: dedupKey,
10310
+ source: 'inbox_item',
10311
+ });
10312
+ return false;
10313
+ }
10294
10314
  logger$_.debug('broadcast_channel_duplicate_ack_check', {
10295
10315
  channel: this.channelName,
10296
10316
  connector_id: this.connectorId,
@@ -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.960
99
+ // Generated from package.json version: 0.3.5-test.961
100
100
  /**
101
101
  * The package version, injected at build time.
102
102
  * @internal
103
103
  */
104
- const VERSION = '0.3.5-test.960';
104
+ const VERSION = '0.3.5-test.961';
105
105
 
106
106
  /**
107
107
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -10259,6 +10259,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
10259
10259
  const normalizedSenderId = typeof senderId === 'string' && senderId.length > 0
10260
10260
  ? senderId
10261
10261
  : undefined;
10262
+ if (normalizedSenderId && normalizedSenderId !== this.connectorId) {
10263
+ logger$_.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
10264
+ channel: this.channelName,
10265
+ connector_id: this.connectorId,
10266
+ sender_id: normalizedSenderId,
10267
+ dedup_key: dedupKey,
10268
+ source: 'listener',
10269
+ });
10270
+ return false;
10271
+ }
10262
10272
  logger$_.debug('broadcast_channel_duplicate_ack_check', {
10263
10273
  channel: this.channelName,
10264
10274
  connector_id: this.connectorId,
@@ -10289,6 +10299,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
10289
10299
  return false;
10290
10300
  }
10291
10301
  const senderId = this._extractSenderIdFromInboxItem(item);
10302
+ if (senderId && senderId !== this.connectorId) {
10303
+ logger$_.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
10304
+ channel: this.channelName,
10305
+ connector_id: this.connectorId,
10306
+ sender_id: senderId,
10307
+ dedup_key: dedupKey,
10308
+ source: 'inbox_item',
10309
+ });
10310
+ return false;
10311
+ }
10292
10312
  logger$_.debug('broadcast_channel_duplicate_ack_check', {
10293
10313
  channel: this.channelName,
10294
10314
  connector_id: this.connectorId,
@@ -364,6 +364,16 @@ class BroadcastChannelConnector extends base_async_connector_js_1.BaseAsyncConne
364
364
  const normalizedSenderId = typeof senderId === 'string' && senderId.length > 0
365
365
  ? senderId
366
366
  : undefined;
367
+ if (normalizedSenderId && normalizedSenderId !== this.connectorId) {
368
+ logger.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
369
+ channel: this.channelName,
370
+ connector_id: this.connectorId,
371
+ sender_id: normalizedSenderId,
372
+ dedup_key: dedupKey,
373
+ source: 'listener',
374
+ });
375
+ return false;
376
+ }
367
377
  logger.debug('broadcast_channel_duplicate_ack_check', {
368
378
  channel: this.channelName,
369
379
  connector_id: this.connectorId,
@@ -394,6 +404,16 @@ class BroadcastChannelConnector extends base_async_connector_js_1.BaseAsyncConne
394
404
  return false;
395
405
  }
396
406
  const senderId = this._extractSenderIdFromInboxItem(item);
407
+ if (senderId && senderId !== this.connectorId) {
408
+ logger.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
409
+ channel: this.channelName,
410
+ connector_id: this.connectorId,
411
+ sender_id: senderId,
412
+ dedup_key: dedupKey,
413
+ source: 'inbox_item',
414
+ });
415
+ return false;
416
+ }
397
417
  logger.debug('broadcast_channel_duplicate_ack_check', {
398
418
  channel: this.channelName,
399
419
  connector_id: this.connectorId,
@@ -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.960
3
+ // Generated from package.json version: 0.3.5-test.961
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.960';
10
+ exports.VERSION = '0.3.5-test.961';
@@ -361,6 +361,16 @@ export class BroadcastChannelConnector extends BaseAsyncConnector {
361
361
  const normalizedSenderId = typeof senderId === 'string' && senderId.length > 0
362
362
  ? senderId
363
363
  : undefined;
364
+ if (normalizedSenderId && normalizedSenderId !== this.connectorId) {
365
+ logger.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
366
+ channel: this.channelName,
367
+ connector_id: this.connectorId,
368
+ sender_id: normalizedSenderId,
369
+ dedup_key: dedupKey,
370
+ source: 'listener',
371
+ });
372
+ return false;
373
+ }
364
374
  logger.debug('broadcast_channel_duplicate_ack_check', {
365
375
  channel: this.channelName,
366
376
  connector_id: this.connectorId,
@@ -391,6 +401,16 @@ export class BroadcastChannelConnector extends BaseAsyncConnector {
391
401
  return false;
392
402
  }
393
403
  const senderId = this._extractSenderIdFromInboxItem(item);
404
+ if (senderId && senderId !== this.connectorId) {
405
+ logger.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
406
+ channel: this.channelName,
407
+ connector_id: this.connectorId,
408
+ sender_id: senderId,
409
+ dedup_key: dedupKey,
410
+ source: 'inbox_item',
411
+ });
412
+ return false;
413
+ }
394
414
  logger.debug('broadcast_channel_duplicate_ack_check', {
395
415
  channel: this.channelName,
396
416
  connector_id: this.connectorId,
@@ -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.960
2
+ // Generated from package.json version: 0.3.5-test.961
3
3
  /**
4
4
  * The package version, injected at build time.
5
5
  * @internal
6
6
  */
7
- export const VERSION = '0.3.5-test.960';
7
+ export const VERSION = '0.3.5-test.961';
@@ -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.960
17
+ // Generated from package.json version: 0.3.5-test.961
18
18
  /**
19
19
  * The package version, injected at build time.
20
20
  * @internal
21
21
  */
22
- const VERSION = '0.3.5-test.960';
22
+ const VERSION = '0.3.5-test.961';
23
23
 
24
24
  /**
25
25
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -10177,6 +10177,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
10177
10177
  const normalizedSenderId = typeof senderId === 'string' && senderId.length > 0
10178
10178
  ? senderId
10179
10179
  : undefined;
10180
+ if (normalizedSenderId && normalizedSenderId !== this.connectorId) {
10181
+ logger$_.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
10182
+ channel: this.channelName,
10183
+ connector_id: this.connectorId,
10184
+ sender_id: normalizedSenderId,
10185
+ dedup_key: dedupKey,
10186
+ source: 'listener',
10187
+ });
10188
+ return false;
10189
+ }
10180
10190
  logger$_.debug('broadcast_channel_duplicate_ack_check', {
10181
10191
  channel: this.channelName,
10182
10192
  connector_id: this.connectorId,
@@ -10207,6 +10217,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
10207
10217
  return false;
10208
10218
  }
10209
10219
  const senderId = this._extractSenderIdFromInboxItem(item);
10220
+ if (senderId && senderId !== this.connectorId) {
10221
+ logger$_.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
10222
+ channel: this.channelName,
10223
+ connector_id: this.connectorId,
10224
+ sender_id: senderId,
10225
+ dedup_key: dedupKey,
10226
+ source: 'inbox_item',
10227
+ });
10228
+ return false;
10229
+ }
10210
10230
  logger$_.debug('broadcast_channel_duplicate_ack_check', {
10211
10231
  channel: this.channelName,
10212
10232
  connector_id: this.connectorId,
@@ -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.960
16
+ // Generated from package.json version: 0.3.5-test.961
17
17
  /**
18
18
  * The package version, injected at build time.
19
19
  * @internal
20
20
  */
21
- const VERSION = '0.3.5-test.960';
21
+ const VERSION = '0.3.5-test.961';
22
22
 
23
23
  /**
24
24
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -10176,6 +10176,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
10176
10176
  const normalizedSenderId = typeof senderId === 'string' && senderId.length > 0
10177
10177
  ? senderId
10178
10178
  : undefined;
10179
+ if (normalizedSenderId && normalizedSenderId !== this.connectorId) {
10180
+ logger$_.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
10181
+ channel: this.channelName,
10182
+ connector_id: this.connectorId,
10183
+ sender_id: normalizedSenderId,
10184
+ dedup_key: dedupKey,
10185
+ source: 'listener',
10186
+ });
10187
+ return false;
10188
+ }
10179
10189
  logger$_.debug('broadcast_channel_duplicate_ack_check', {
10180
10190
  channel: this.channelName,
10181
10191
  connector_id: this.connectorId,
@@ -10206,6 +10216,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
10206
10216
  return false;
10207
10217
  }
10208
10218
  const senderId = this._extractSenderIdFromInboxItem(item);
10219
+ if (senderId && senderId !== this.connectorId) {
10220
+ logger$_.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
10221
+ channel: this.channelName,
10222
+ connector_id: this.connectorId,
10223
+ sender_id: senderId,
10224
+ dedup_key: dedupKey,
10225
+ source: 'inbox_item',
10226
+ });
10227
+ return false;
10228
+ }
10209
10229
  logger$_.debug('broadcast_channel_duplicate_ack_check', {
10210
10230
  channel: this.channelName,
10211
10231
  connector_id: this.connectorId,
@@ -5563,12 +5563,12 @@ for (const [name, config] of Object.entries(SQLITE_PROFILES)) {
5563
5563
  }
5564
5564
 
5565
5565
  // This file is auto-generated during build - do not edit manually
5566
- // Generated from package.json version: 0.3.5-test.960
5566
+ // Generated from package.json version: 0.3.5-test.961
5567
5567
  /**
5568
5568
  * The package version, injected at build time.
5569
5569
  * @internal
5570
5570
  */
5571
- const VERSION = '0.3.5-test.960';
5571
+ const VERSION = '0.3.5-test.961';
5572
5572
 
5573
5573
  /**
5574
5574
  * Fame errors module - Fame protocol specific error classes
@@ -11914,6 +11914,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
11914
11914
  const normalizedSenderId = typeof senderId === 'string' && senderId.length > 0
11915
11915
  ? senderId
11916
11916
  : undefined;
11917
+ if (normalizedSenderId && normalizedSenderId !== this.connectorId) {
11918
+ logger$10.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
11919
+ channel: this.channelName,
11920
+ connector_id: this.connectorId,
11921
+ sender_id: normalizedSenderId,
11922
+ dedup_key: dedupKey,
11923
+ source: 'listener',
11924
+ });
11925
+ return false;
11926
+ }
11917
11927
  logger$10.debug('broadcast_channel_duplicate_ack_check', {
11918
11928
  channel: this.channelName,
11919
11929
  connector_id: this.connectorId,
@@ -11944,6 +11954,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
11944
11954
  return false;
11945
11955
  }
11946
11956
  const senderId = this._extractSenderIdFromInboxItem(item);
11957
+ if (senderId && senderId !== this.connectorId) {
11958
+ logger$10.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
11959
+ channel: this.channelName,
11960
+ connector_id: this.connectorId,
11961
+ sender_id: senderId,
11962
+ dedup_key: dedupKey,
11963
+ source: 'inbox_item',
11964
+ });
11965
+ return false;
11966
+ }
11947
11967
  logger$10.debug('broadcast_channel_duplicate_ack_check', {
11948
11968
  channel: this.channelName,
11949
11969
  connector_id: this.connectorId,
@@ -5562,12 +5562,12 @@ for (const [name, config] of Object.entries(SQLITE_PROFILES)) {
5562
5562
  }
5563
5563
 
5564
5564
  // This file is auto-generated during build - do not edit manually
5565
- // Generated from package.json version: 0.3.5-test.960
5565
+ // Generated from package.json version: 0.3.5-test.961
5566
5566
  /**
5567
5567
  * The package version, injected at build time.
5568
5568
  * @internal
5569
5569
  */
5570
- const VERSION = '0.3.5-test.960';
5570
+ const VERSION = '0.3.5-test.961';
5571
5571
 
5572
5572
  /**
5573
5573
  * Fame errors module - Fame protocol specific error classes
@@ -11913,6 +11913,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
11913
11913
  const normalizedSenderId = typeof senderId === 'string' && senderId.length > 0
11914
11914
  ? senderId
11915
11915
  : undefined;
11916
+ if (normalizedSenderId && normalizedSenderId !== this.connectorId) {
11917
+ logger$10.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
11918
+ channel: this.channelName,
11919
+ connector_id: this.connectorId,
11920
+ sender_id: normalizedSenderId,
11921
+ dedup_key: dedupKey,
11922
+ source: 'listener',
11923
+ });
11924
+ return false;
11925
+ }
11916
11926
  logger$10.debug('broadcast_channel_duplicate_ack_check', {
11917
11927
  channel: this.channelName,
11918
11928
  connector_id: this.connectorId,
@@ -11943,6 +11953,16 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
11943
11953
  return false;
11944
11954
  }
11945
11955
  const senderId = this._extractSenderIdFromInboxItem(item);
11956
+ if (senderId && senderId !== this.connectorId) {
11957
+ logger$10.debug('broadcast_channel_duplicate_ack_bypass_non_self', {
11958
+ channel: this.channelName,
11959
+ connector_id: this.connectorId,
11960
+ sender_id: senderId,
11961
+ dedup_key: dedupKey,
11962
+ source: 'inbox_item',
11963
+ });
11964
+ return false;
11965
+ }
11946
11966
  logger$10.debug('broadcast_channel_duplicate_ack_check', {
11947
11967
  channel: this.channelName,
11948
11968
  connector_id: this.connectorId,
@@ -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.960";
5
+ export declare const VERSION = "0.3.5-test.961";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naylence/runtime",
3
- "version": "0.3.5-test.960",
3
+ "version": "0.3.5-test.961",
4
4
  "type": "module",
5
5
  "description": "Naylence Runtime - Complete TypeScript runtime",
6
6
  "author": "Naylence Dev <naylencedev@gmail.com>",