@naylence/runtime 0.3.5-test.963 → 0.3.5-test.965
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/dist/browser/index.cjs +6 -5
- package/dist/browser/index.mjs +6 -5
- package/dist/cjs/naylence/fame/connector/broadcast-channel-connector.browser.js +3 -1
- package/dist/cjs/naylence/fame/connector/broadcast-channel-listener.js +1 -2
- package/dist/cjs/version.js +2 -2
- package/dist/esm/naylence/fame/connector/broadcast-channel-connector.browser.js +3 -1
- package/dist/esm/naylence/fame/connector/broadcast-channel-listener.js +1 -2
- package/dist/esm/version.js +2 -2
- package/dist/node/index.cjs +6 -5
- package/dist/node/index.mjs +6 -5
- package/dist/node/node.cjs +6 -5
- package/dist/node/node.mjs +6 -5
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/browser/index.cjs
CHANGED
|
@@ -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.
|
|
101
|
+
// Generated from package.json version: 0.3.5-test.965
|
|
102
102
|
/**
|
|
103
103
|
* The package version, injected at build time.
|
|
104
104
|
* @internal
|
|
105
105
|
*/
|
|
106
|
-
const VERSION = '0.3.5-test.
|
|
106
|
+
const VERSION = '0.3.5-test.965';
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -10288,7 +10288,9 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
|
|
|
10288
10288
|
}
|
|
10289
10289
|
_shouldAcceptMessageFromBus(senderNodeId, targetNodeId) {
|
|
10290
10290
|
if (this._isWildcardTarget()) {
|
|
10291
|
-
if (targetNodeId &&
|
|
10291
|
+
if (targetNodeId &&
|
|
10292
|
+
targetNodeId !== '*' &&
|
|
10293
|
+
targetNodeId !== this.localNodeId) {
|
|
10292
10294
|
logger$_.debug('broadcast_channel_message_rejected', {
|
|
10293
10295
|
channel: this.channelName,
|
|
10294
10296
|
connector_id: this.connectorId,
|
|
@@ -30450,8 +30452,7 @@ class BroadcastChannelListener extends TransportListener {
|
|
|
30450
30452
|
if (!this._routingNode) {
|
|
30451
30453
|
throw new Error('BroadcastChannelListener requires routing node context');
|
|
30452
30454
|
}
|
|
30453
|
-
const normalized = this._normalizeNodeId(this._routingNode.
|
|
30454
|
-
this._normalizeNodeId(this._routingNode.id);
|
|
30455
|
+
const normalized = this._normalizeNodeId(this._routingNode.id);
|
|
30455
30456
|
if (!normalized) {
|
|
30456
30457
|
throw new Error('BroadcastChannelListener requires routing node with a stable identifier');
|
|
30457
30458
|
}
|
package/dist/browser/index.mjs
CHANGED
|
@@ -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.
|
|
99
|
+
// Generated from package.json version: 0.3.5-test.965
|
|
100
100
|
/**
|
|
101
101
|
* The package version, injected at build time.
|
|
102
102
|
* @internal
|
|
103
103
|
*/
|
|
104
|
-
const VERSION = '0.3.5-test.
|
|
104
|
+
const VERSION = '0.3.5-test.965';
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -10286,7 +10286,9 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
|
|
|
10286
10286
|
}
|
|
10287
10287
|
_shouldAcceptMessageFromBus(senderNodeId, targetNodeId) {
|
|
10288
10288
|
if (this._isWildcardTarget()) {
|
|
10289
|
-
if (targetNodeId &&
|
|
10289
|
+
if (targetNodeId &&
|
|
10290
|
+
targetNodeId !== '*' &&
|
|
10291
|
+
targetNodeId !== this.localNodeId) {
|
|
10290
10292
|
logger$_.debug('broadcast_channel_message_rejected', {
|
|
10291
10293
|
channel: this.channelName,
|
|
10292
10294
|
connector_id: this.connectorId,
|
|
@@ -30448,8 +30450,7 @@ class BroadcastChannelListener extends TransportListener {
|
|
|
30448
30450
|
if (!this._routingNode) {
|
|
30449
30451
|
throw new Error('BroadcastChannelListener requires routing node context');
|
|
30450
30452
|
}
|
|
30451
|
-
const normalized = this._normalizeNodeId(this._routingNode.
|
|
30452
|
-
this._normalizeNodeId(this._routingNode.id);
|
|
30453
|
+
const normalized = this._normalizeNodeId(this._routingNode.id);
|
|
30453
30454
|
if (!normalized) {
|
|
30454
30455
|
throw new Error('BroadcastChannelListener requires routing node with a stable identifier');
|
|
30455
30456
|
}
|
|
@@ -391,7 +391,9 @@ class BroadcastChannelConnector extends base_async_connector_js_1.BaseAsyncConne
|
|
|
391
391
|
}
|
|
392
392
|
_shouldAcceptMessageFromBus(senderNodeId, targetNodeId) {
|
|
393
393
|
if (this._isWildcardTarget()) {
|
|
394
|
-
if (targetNodeId &&
|
|
394
|
+
if (targetNodeId &&
|
|
395
|
+
targetNodeId !== '*' &&
|
|
396
|
+
targetNodeId !== this.localNodeId) {
|
|
395
397
|
logger.debug('broadcast_channel_message_rejected', {
|
|
396
398
|
channel: this.channelName,
|
|
397
399
|
connector_id: this.connectorId,
|
|
@@ -469,8 +469,7 @@ class BroadcastChannelListener extends transport_listener_js_1.TransportListener
|
|
|
469
469
|
if (!this._routingNode) {
|
|
470
470
|
throw new Error('BroadcastChannelListener requires routing node context');
|
|
471
471
|
}
|
|
472
|
-
const normalized = this._normalizeNodeId(this._routingNode.
|
|
473
|
-
this._normalizeNodeId(this._routingNode.id);
|
|
472
|
+
const normalized = this._normalizeNodeId(this._routingNode.id);
|
|
474
473
|
if (!normalized) {
|
|
475
474
|
throw new Error('BroadcastChannelListener requires routing node with a stable identifier');
|
|
476
475
|
}
|
package/dist/cjs/version.js
CHANGED
|
@@ -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.
|
|
3
|
+
// Generated from package.json version: 0.3.5-test.965
|
|
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.
|
|
10
|
+
exports.VERSION = '0.3.5-test.965';
|
|
@@ -388,7 +388,9 @@ export class BroadcastChannelConnector extends BaseAsyncConnector {
|
|
|
388
388
|
}
|
|
389
389
|
_shouldAcceptMessageFromBus(senderNodeId, targetNodeId) {
|
|
390
390
|
if (this._isWildcardTarget()) {
|
|
391
|
-
if (targetNodeId &&
|
|
391
|
+
if (targetNodeId &&
|
|
392
|
+
targetNodeId !== '*' &&
|
|
393
|
+
targetNodeId !== this.localNodeId) {
|
|
392
394
|
logger.debug('broadcast_channel_message_rejected', {
|
|
393
395
|
channel: this.channelName,
|
|
394
396
|
connector_id: this.connectorId,
|
|
@@ -465,8 +465,7 @@ export class BroadcastChannelListener extends TransportListener {
|
|
|
465
465
|
if (!this._routingNode) {
|
|
466
466
|
throw new Error('BroadcastChannelListener requires routing node context');
|
|
467
467
|
}
|
|
468
|
-
const normalized = this._normalizeNodeId(this._routingNode.
|
|
469
|
-
this._normalizeNodeId(this._routingNode.id);
|
|
468
|
+
const normalized = this._normalizeNodeId(this._routingNode.id);
|
|
470
469
|
if (!normalized) {
|
|
471
470
|
throw new Error('BroadcastChannelListener requires routing node with a stable identifier');
|
|
472
471
|
}
|
package/dist/esm/version.js
CHANGED
|
@@ -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.
|
|
2
|
+
// Generated from package.json version: 0.3.5-test.965
|
|
3
3
|
/**
|
|
4
4
|
* The package version, injected at build time.
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
|
-
export const VERSION = '0.3.5-test.
|
|
7
|
+
export const VERSION = '0.3.5-test.965';
|
package/dist/node/index.cjs
CHANGED
|
@@ -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.
|
|
17
|
+
// Generated from package.json version: 0.3.5-test.965
|
|
18
18
|
/**
|
|
19
19
|
* The package version, injected at build time.
|
|
20
20
|
* @internal
|
|
21
21
|
*/
|
|
22
|
-
const VERSION = '0.3.5-test.
|
|
22
|
+
const VERSION = '0.3.5-test.965';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -10204,7 +10204,9 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
|
|
|
10204
10204
|
}
|
|
10205
10205
|
_shouldAcceptMessageFromBus(senderNodeId, targetNodeId) {
|
|
10206
10206
|
if (this._isWildcardTarget()) {
|
|
10207
|
-
if (targetNodeId &&
|
|
10207
|
+
if (targetNodeId &&
|
|
10208
|
+
targetNodeId !== '*' &&
|
|
10209
|
+
targetNodeId !== this.localNodeId) {
|
|
10208
10210
|
logger$_.debug('broadcast_channel_message_rejected', {
|
|
10209
10211
|
channel: this.channelName,
|
|
10210
10212
|
connector_id: this.connectorId,
|
|
@@ -36678,8 +36680,7 @@ class BroadcastChannelListener extends TransportListener {
|
|
|
36678
36680
|
if (!this._routingNode) {
|
|
36679
36681
|
throw new Error('BroadcastChannelListener requires routing node context');
|
|
36680
36682
|
}
|
|
36681
|
-
const normalized = this._normalizeNodeId(this._routingNode.
|
|
36682
|
-
this._normalizeNodeId(this._routingNode.id);
|
|
36683
|
+
const normalized = this._normalizeNodeId(this._routingNode.id);
|
|
36683
36684
|
if (!normalized) {
|
|
36684
36685
|
throw new Error('BroadcastChannelListener requires routing node with a stable identifier');
|
|
36685
36686
|
}
|
package/dist/node/index.mjs
CHANGED
|
@@ -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.
|
|
16
|
+
// Generated from package.json version: 0.3.5-test.965
|
|
17
17
|
/**
|
|
18
18
|
* The package version, injected at build time.
|
|
19
19
|
* @internal
|
|
20
20
|
*/
|
|
21
|
-
const VERSION = '0.3.5-test.
|
|
21
|
+
const VERSION = '0.3.5-test.965';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -10203,7 +10203,9 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
|
|
|
10203
10203
|
}
|
|
10204
10204
|
_shouldAcceptMessageFromBus(senderNodeId, targetNodeId) {
|
|
10205
10205
|
if (this._isWildcardTarget()) {
|
|
10206
|
-
if (targetNodeId &&
|
|
10206
|
+
if (targetNodeId &&
|
|
10207
|
+
targetNodeId !== '*' &&
|
|
10208
|
+
targetNodeId !== this.localNodeId) {
|
|
10207
10209
|
logger$_.debug('broadcast_channel_message_rejected', {
|
|
10208
10210
|
channel: this.channelName,
|
|
10209
10211
|
connector_id: this.connectorId,
|
|
@@ -36677,8 +36679,7 @@ class BroadcastChannelListener extends TransportListener {
|
|
|
36677
36679
|
if (!this._routingNode) {
|
|
36678
36680
|
throw new Error('BroadcastChannelListener requires routing node context');
|
|
36679
36681
|
}
|
|
36680
|
-
const normalized = this._normalizeNodeId(this._routingNode.
|
|
36681
|
-
this._normalizeNodeId(this._routingNode.id);
|
|
36682
|
+
const normalized = this._normalizeNodeId(this._routingNode.id);
|
|
36682
36683
|
if (!normalized) {
|
|
36683
36684
|
throw new Error('BroadcastChannelListener requires routing node with a stable identifier');
|
|
36684
36685
|
}
|
package/dist/node/node.cjs
CHANGED
|
@@ -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.
|
|
5566
|
+
// Generated from package.json version: 0.3.5-test.965
|
|
5567
5567
|
/**
|
|
5568
5568
|
* The package version, injected at build time.
|
|
5569
5569
|
* @internal
|
|
5570
5570
|
*/
|
|
5571
|
-
const VERSION = '0.3.5-test.
|
|
5571
|
+
const VERSION = '0.3.5-test.965';
|
|
5572
5572
|
|
|
5573
5573
|
/**
|
|
5574
5574
|
* Fame errors module - Fame protocol specific error classes
|
|
@@ -11941,7 +11941,9 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
|
|
|
11941
11941
|
}
|
|
11942
11942
|
_shouldAcceptMessageFromBus(senderNodeId, targetNodeId) {
|
|
11943
11943
|
if (this._isWildcardTarget()) {
|
|
11944
|
-
if (targetNodeId &&
|
|
11944
|
+
if (targetNodeId &&
|
|
11945
|
+
targetNodeId !== '*' &&
|
|
11946
|
+
targetNodeId !== this.localNodeId) {
|
|
11945
11947
|
logger$10.debug('broadcast_channel_message_rejected', {
|
|
11946
11948
|
channel: this.channelName,
|
|
11947
11949
|
connector_id: this.connectorId,
|
|
@@ -33191,8 +33193,7 @@ class BroadcastChannelListener extends TransportListener {
|
|
|
33191
33193
|
if (!this._routingNode) {
|
|
33192
33194
|
throw new Error('BroadcastChannelListener requires routing node context');
|
|
33193
33195
|
}
|
|
33194
|
-
const normalized = this._normalizeNodeId(this._routingNode.
|
|
33195
|
-
this._normalizeNodeId(this._routingNode.id);
|
|
33196
|
+
const normalized = this._normalizeNodeId(this._routingNode.id);
|
|
33196
33197
|
if (!normalized) {
|
|
33197
33198
|
throw new Error('BroadcastChannelListener requires routing node with a stable identifier');
|
|
33198
33199
|
}
|
package/dist/node/node.mjs
CHANGED
|
@@ -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.
|
|
5565
|
+
// Generated from package.json version: 0.3.5-test.965
|
|
5566
5566
|
/**
|
|
5567
5567
|
* The package version, injected at build time.
|
|
5568
5568
|
* @internal
|
|
5569
5569
|
*/
|
|
5570
|
-
const VERSION = '0.3.5-test.
|
|
5570
|
+
const VERSION = '0.3.5-test.965';
|
|
5571
5571
|
|
|
5572
5572
|
/**
|
|
5573
5573
|
* Fame errors module - Fame protocol specific error classes
|
|
@@ -11940,7 +11940,9 @@ let BroadcastChannelConnector$2 = class BroadcastChannelConnector extends BaseAs
|
|
|
11940
11940
|
}
|
|
11941
11941
|
_shouldAcceptMessageFromBus(senderNodeId, targetNodeId) {
|
|
11942
11942
|
if (this._isWildcardTarget()) {
|
|
11943
|
-
if (targetNodeId &&
|
|
11943
|
+
if (targetNodeId &&
|
|
11944
|
+
targetNodeId !== '*' &&
|
|
11945
|
+
targetNodeId !== this.localNodeId) {
|
|
11944
11946
|
logger$10.debug('broadcast_channel_message_rejected', {
|
|
11945
11947
|
channel: this.channelName,
|
|
11946
11948
|
connector_id: this.connectorId,
|
|
@@ -33190,8 +33192,7 @@ class BroadcastChannelListener extends TransportListener {
|
|
|
33190
33192
|
if (!this._routingNode) {
|
|
33191
33193
|
throw new Error('BroadcastChannelListener requires routing node context');
|
|
33192
33194
|
}
|
|
33193
|
-
const normalized = this._normalizeNodeId(this._routingNode.
|
|
33194
|
-
this._normalizeNodeId(this._routingNode.id);
|
|
33195
|
+
const normalized = this._normalizeNodeId(this._routingNode.id);
|
|
33195
33196
|
if (!normalized) {
|
|
33196
33197
|
throw new Error('BroadcastChannelListener requires routing node with a stable identifier');
|
|
33197
33198
|
}
|
package/dist/types/version.d.ts
CHANGED