@naylence/runtime 0.3.5-test.926 → 0.3.5-test.927
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 +15 -2
- package/dist/browser/index.mjs +15 -2
- package/dist/cjs/naylence/fame/node/upstream-session-manager.js +13 -0
- package/dist/cjs/version.js +2 -2
- package/dist/esm/naylence/fame/node/upstream-session-manager.js +13 -0
- package/dist/esm/version.js +2 -2
- package/dist/node/index.cjs +15 -2
- package/dist/node/index.mjs +15 -2
- package/dist/node/node.cjs +15 -2
- package/dist/node/node.mjs +15 -2
- 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.927
|
|
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.927';
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -10457,6 +10457,19 @@ class UpstreamSessionManager extends TaskSpawner {
|
|
|
10457
10457
|
await connector.start(this.wrappedHandler);
|
|
10458
10458
|
this.connector = connector;
|
|
10459
10459
|
const callbackGrants = this.node.gatherSupportedCallbackGrants();
|
|
10460
|
+
// Include admission client's connection grants as callback grants
|
|
10461
|
+
// This ensures DirectAdmissionClient grants are available for grant selection
|
|
10462
|
+
if (welcome.frame.connectionGrants && Array.isArray(welcome.frame.connectionGrants)) {
|
|
10463
|
+
for (const grant of welcome.frame.connectionGrants) {
|
|
10464
|
+
if (grant && typeof grant === 'object') {
|
|
10465
|
+
// Avoid duplicates by checking if grant already exists
|
|
10466
|
+
const isDuplicate = callbackGrants.some(existing => JSON.stringify(existing) === JSON.stringify(grant));
|
|
10467
|
+
if (!isDuplicate) {
|
|
10468
|
+
callbackGrants.push(grant);
|
|
10469
|
+
}
|
|
10470
|
+
}
|
|
10471
|
+
}
|
|
10472
|
+
}
|
|
10460
10473
|
if (this.shouldAdvertiseBroadcastGrant(grant, callbackGrants)) {
|
|
10461
10474
|
const augmented = this.createBroadcastCallbackGrant(grant);
|
|
10462
10475
|
if (augmented) {
|
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.927
|
|
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.927';
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -10455,6 +10455,19 @@ class UpstreamSessionManager extends TaskSpawner {
|
|
|
10455
10455
|
await connector.start(this.wrappedHandler);
|
|
10456
10456
|
this.connector = connector;
|
|
10457
10457
|
const callbackGrants = this.node.gatherSupportedCallbackGrants();
|
|
10458
|
+
// Include admission client's connection grants as callback grants
|
|
10459
|
+
// This ensures DirectAdmissionClient grants are available for grant selection
|
|
10460
|
+
if (welcome.frame.connectionGrants && Array.isArray(welcome.frame.connectionGrants)) {
|
|
10461
|
+
for (const grant of welcome.frame.connectionGrants) {
|
|
10462
|
+
if (grant && typeof grant === 'object') {
|
|
10463
|
+
// Avoid duplicates by checking if grant already exists
|
|
10464
|
+
const isDuplicate = callbackGrants.some(existing => JSON.stringify(existing) === JSON.stringify(grant));
|
|
10465
|
+
if (!isDuplicate) {
|
|
10466
|
+
callbackGrants.push(grant);
|
|
10467
|
+
}
|
|
10468
|
+
}
|
|
10469
|
+
}
|
|
10470
|
+
}
|
|
10458
10471
|
if (this.shouldAdvertiseBroadcastGrant(grant, callbackGrants)) {
|
|
10459
10472
|
const augmented = this.createBroadcastCallbackGrant(grant);
|
|
10460
10473
|
if (augmented) {
|
|
@@ -304,6 +304,19 @@ class UpstreamSessionManager extends task_spawner_js_1.TaskSpawner {
|
|
|
304
304
|
await connector.start(this.wrappedHandler);
|
|
305
305
|
this.connector = connector;
|
|
306
306
|
const callbackGrants = this.node.gatherSupportedCallbackGrants();
|
|
307
|
+
// Include admission client's connection grants as callback grants
|
|
308
|
+
// This ensures DirectAdmissionClient grants are available for grant selection
|
|
309
|
+
if (welcome.frame.connectionGrants && Array.isArray(welcome.frame.connectionGrants)) {
|
|
310
|
+
for (const grant of welcome.frame.connectionGrants) {
|
|
311
|
+
if (grant && typeof grant === 'object') {
|
|
312
|
+
// Avoid duplicates by checking if grant already exists
|
|
313
|
+
const isDuplicate = callbackGrants.some(existing => JSON.stringify(existing) === JSON.stringify(grant));
|
|
314
|
+
if (!isDuplicate) {
|
|
315
|
+
callbackGrants.push(grant);
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
307
320
|
if (this.shouldAdvertiseBroadcastGrant(grant, callbackGrants)) {
|
|
308
321
|
const augmented = this.createBroadcastCallbackGrant(grant);
|
|
309
322
|
if (augmented) {
|
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.927
|
|
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.927';
|
|
@@ -301,6 +301,19 @@ export class UpstreamSessionManager extends TaskSpawner {
|
|
|
301
301
|
await connector.start(this.wrappedHandler);
|
|
302
302
|
this.connector = connector;
|
|
303
303
|
const callbackGrants = this.node.gatherSupportedCallbackGrants();
|
|
304
|
+
// Include admission client's connection grants as callback grants
|
|
305
|
+
// This ensures DirectAdmissionClient grants are available for grant selection
|
|
306
|
+
if (welcome.frame.connectionGrants && Array.isArray(welcome.frame.connectionGrants)) {
|
|
307
|
+
for (const grant of welcome.frame.connectionGrants) {
|
|
308
|
+
if (grant && typeof grant === 'object') {
|
|
309
|
+
// Avoid duplicates by checking if grant already exists
|
|
310
|
+
const isDuplicate = callbackGrants.some(existing => JSON.stringify(existing) === JSON.stringify(grant));
|
|
311
|
+
if (!isDuplicate) {
|
|
312
|
+
callbackGrants.push(grant);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
304
317
|
if (this.shouldAdvertiseBroadcastGrant(grant, callbackGrants)) {
|
|
305
318
|
const augmented = this.createBroadcastCallbackGrant(grant);
|
|
306
319
|
if (augmented) {
|
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.927
|
|
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.927';
|
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.927
|
|
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.927';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -10373,6 +10373,19 @@ class UpstreamSessionManager extends TaskSpawner {
|
|
|
10373
10373
|
await connector.start(this.wrappedHandler);
|
|
10374
10374
|
this.connector = connector;
|
|
10375
10375
|
const callbackGrants = this.node.gatherSupportedCallbackGrants();
|
|
10376
|
+
// Include admission client's connection grants as callback grants
|
|
10377
|
+
// This ensures DirectAdmissionClient grants are available for grant selection
|
|
10378
|
+
if (welcome.frame.connectionGrants && Array.isArray(welcome.frame.connectionGrants)) {
|
|
10379
|
+
for (const grant of welcome.frame.connectionGrants) {
|
|
10380
|
+
if (grant && typeof grant === 'object') {
|
|
10381
|
+
// Avoid duplicates by checking if grant already exists
|
|
10382
|
+
const isDuplicate = callbackGrants.some(existing => JSON.stringify(existing) === JSON.stringify(grant));
|
|
10383
|
+
if (!isDuplicate) {
|
|
10384
|
+
callbackGrants.push(grant);
|
|
10385
|
+
}
|
|
10386
|
+
}
|
|
10387
|
+
}
|
|
10388
|
+
}
|
|
10376
10389
|
if (this.shouldAdvertiseBroadcastGrant(grant, callbackGrants)) {
|
|
10377
10390
|
const augmented = this.createBroadcastCallbackGrant(grant);
|
|
10378
10391
|
if (augmented) {
|
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.927
|
|
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.927';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -10372,6 +10372,19 @@ class UpstreamSessionManager extends TaskSpawner {
|
|
|
10372
10372
|
await connector.start(this.wrappedHandler);
|
|
10373
10373
|
this.connector = connector;
|
|
10374
10374
|
const callbackGrants = this.node.gatherSupportedCallbackGrants();
|
|
10375
|
+
// Include admission client's connection grants as callback grants
|
|
10376
|
+
// This ensures DirectAdmissionClient grants are available for grant selection
|
|
10377
|
+
if (welcome.frame.connectionGrants && Array.isArray(welcome.frame.connectionGrants)) {
|
|
10378
|
+
for (const grant of welcome.frame.connectionGrants) {
|
|
10379
|
+
if (grant && typeof grant === 'object') {
|
|
10380
|
+
// Avoid duplicates by checking if grant already exists
|
|
10381
|
+
const isDuplicate = callbackGrants.some(existing => JSON.stringify(existing) === JSON.stringify(grant));
|
|
10382
|
+
if (!isDuplicate) {
|
|
10383
|
+
callbackGrants.push(grant);
|
|
10384
|
+
}
|
|
10385
|
+
}
|
|
10386
|
+
}
|
|
10387
|
+
}
|
|
10375
10388
|
if (this.shouldAdvertiseBroadcastGrant(grant, callbackGrants)) {
|
|
10376
10389
|
const augmented = this.createBroadcastCallbackGrant(grant);
|
|
10377
10390
|
if (augmented) {
|
package/dist/node/node.cjs
CHANGED
|
@@ -5372,12 +5372,12 @@ for (const [name, config] of Object.entries(SQLITE_PROFILES)) {
|
|
|
5372
5372
|
}
|
|
5373
5373
|
|
|
5374
5374
|
// This file is auto-generated during build - do not edit manually
|
|
5375
|
-
// Generated from package.json version: 0.3.5-test.
|
|
5375
|
+
// Generated from package.json version: 0.3.5-test.927
|
|
5376
5376
|
/**
|
|
5377
5377
|
* The package version, injected at build time.
|
|
5378
5378
|
* @internal
|
|
5379
5379
|
*/
|
|
5380
|
-
const VERSION = '0.3.5-test.
|
|
5380
|
+
const VERSION = '0.3.5-test.927';
|
|
5381
5381
|
|
|
5382
5382
|
/**
|
|
5383
5383
|
* Fame errors module - Fame protocol specific error classes
|
|
@@ -12065,6 +12065,19 @@ class UpstreamSessionManager extends TaskSpawner {
|
|
|
12065
12065
|
await connector.start(this.wrappedHandler);
|
|
12066
12066
|
this.connector = connector;
|
|
12067
12067
|
const callbackGrants = this.node.gatherSupportedCallbackGrants();
|
|
12068
|
+
// Include admission client's connection grants as callback grants
|
|
12069
|
+
// This ensures DirectAdmissionClient grants are available for grant selection
|
|
12070
|
+
if (welcome.frame.connectionGrants && Array.isArray(welcome.frame.connectionGrants)) {
|
|
12071
|
+
for (const grant of welcome.frame.connectionGrants) {
|
|
12072
|
+
if (grant && typeof grant === 'object') {
|
|
12073
|
+
// Avoid duplicates by checking if grant already exists
|
|
12074
|
+
const isDuplicate = callbackGrants.some(existing => JSON.stringify(existing) === JSON.stringify(grant));
|
|
12075
|
+
if (!isDuplicate) {
|
|
12076
|
+
callbackGrants.push(grant);
|
|
12077
|
+
}
|
|
12078
|
+
}
|
|
12079
|
+
}
|
|
12080
|
+
}
|
|
12068
12081
|
if (this.shouldAdvertiseBroadcastGrant(grant, callbackGrants)) {
|
|
12069
12082
|
const augmented = this.createBroadcastCallbackGrant(grant);
|
|
12070
12083
|
if (augmented) {
|
package/dist/node/node.mjs
CHANGED
|
@@ -5371,12 +5371,12 @@ for (const [name, config] of Object.entries(SQLITE_PROFILES)) {
|
|
|
5371
5371
|
}
|
|
5372
5372
|
|
|
5373
5373
|
// This file is auto-generated during build - do not edit manually
|
|
5374
|
-
// Generated from package.json version: 0.3.5-test.
|
|
5374
|
+
// Generated from package.json version: 0.3.5-test.927
|
|
5375
5375
|
/**
|
|
5376
5376
|
* The package version, injected at build time.
|
|
5377
5377
|
* @internal
|
|
5378
5378
|
*/
|
|
5379
|
-
const VERSION = '0.3.5-test.
|
|
5379
|
+
const VERSION = '0.3.5-test.927';
|
|
5380
5380
|
|
|
5381
5381
|
/**
|
|
5382
5382
|
* Fame errors module - Fame protocol specific error classes
|
|
@@ -12064,6 +12064,19 @@ class UpstreamSessionManager extends TaskSpawner {
|
|
|
12064
12064
|
await connector.start(this.wrappedHandler);
|
|
12065
12065
|
this.connector = connector;
|
|
12066
12066
|
const callbackGrants = this.node.gatherSupportedCallbackGrants();
|
|
12067
|
+
// Include admission client's connection grants as callback grants
|
|
12068
|
+
// This ensures DirectAdmissionClient grants are available for grant selection
|
|
12069
|
+
if (welcome.frame.connectionGrants && Array.isArray(welcome.frame.connectionGrants)) {
|
|
12070
|
+
for (const grant of welcome.frame.connectionGrants) {
|
|
12071
|
+
if (grant && typeof grant === 'object') {
|
|
12072
|
+
// Avoid duplicates by checking if grant already exists
|
|
12073
|
+
const isDuplicate = callbackGrants.some(existing => JSON.stringify(existing) === JSON.stringify(grant));
|
|
12074
|
+
if (!isDuplicate) {
|
|
12075
|
+
callbackGrants.push(grant);
|
|
12076
|
+
}
|
|
12077
|
+
}
|
|
12078
|
+
}
|
|
12079
|
+
}
|
|
12067
12080
|
if (this.shouldAdvertiseBroadcastGrant(grant, callbackGrants)) {
|
|
12068
12081
|
const augmented = this.createBroadcastCallbackGrant(grant);
|
|
12069
12082
|
if (augmented) {
|
package/dist/types/version.d.ts
CHANGED