@naylence/runtime 0.3.10 → 0.3.11

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.
@@ -100,12 +100,12 @@ installProcessEnvShim();
100
100
  // --- END ENV SHIM ---
101
101
 
102
102
  // This file is auto-generated during build - do not edit manually
103
- // Generated from package.json version: 0.3.10
103
+ // Generated from package.json version: 0.3.11
104
104
  /**
105
105
  * The package version, injected at build time.
106
106
  * @internal
107
107
  */
108
- const VERSION = '0.3.10';
108
+ const VERSION = '0.3.11';
109
109
 
110
110
  /**
111
111
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -20082,7 +20082,8 @@ class WebSocketConnector extends BaseAsyncConnector {
20082
20082
  throw new FameTransportClose('WebSocket object is null', 1006);
20083
20083
  }
20084
20084
  // Use a timeout to prevent hanging during shutdown scenarios
20085
- const receiveTimeout = 30000; // 30 seconds
20085
+ // Increased to 1 hour to match server-side keep-alive and prevent idle disconnects
20086
+ const receiveTimeout = 3600000; // 1 hour
20086
20087
  if (this._isFastApiLike && this._websocket.receive_bytes) {
20087
20088
  // FastAPI-style server WebSocket
20088
20089
  const receiveMethod = this._websocket.receive_bytes;
@@ -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.10
101
+ // Generated from package.json version: 0.3.11
102
102
  /**
103
103
  * The package version, injected at build time.
104
104
  * @internal
105
105
  */
106
- const VERSION = '0.3.10';
106
+ const VERSION = '0.3.11';
107
107
 
108
108
  /**
109
109
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -20080,7 +20080,8 @@ class WebSocketConnector extends BaseAsyncConnector {
20080
20080
  throw new FameTransportClose('WebSocket object is null', 1006);
20081
20081
  }
20082
20082
  // Use a timeout to prevent hanging during shutdown scenarios
20083
- const receiveTimeout = 30000; // 30 seconds
20083
+ // Increased to 1 hour to match server-side keep-alive and prevent idle disconnects
20084
+ const receiveTimeout = 3600000; // 1 hour
20084
20085
  if (this._isFastApiLike && this._websocket.receive_bytes) {
20085
20086
  // FastAPI-style server WebSocket
20086
20087
  const receiveMethod = this._websocket.receive_bytes;
@@ -164,7 +164,8 @@ class WebSocketConnector extends base_async_connector_js_1.BaseAsyncConnector {
164
164
  throw new errors_js_1.FameTransportClose('WebSocket object is null', 1006);
165
165
  }
166
166
  // Use a timeout to prevent hanging during shutdown scenarios
167
- const receiveTimeout = 30000; // 30 seconds
167
+ // Increased to 1 hour to match server-side keep-alive and prevent idle disconnects
168
+ const receiveTimeout = 3600000; // 1 hour
168
169
  if (this._isFastApiLike && this._websocket.receive_bytes) {
169
170
  // FastAPI-style server WebSocket
170
171
  const receiveMethod = this._websocket.receive_bytes;
@@ -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.10
3
+ // Generated from package.json version: 0.3.11
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.10';
10
+ exports.VERSION = '0.3.11';
@@ -161,7 +161,8 @@ export class WebSocketConnector extends BaseAsyncConnector {
161
161
  throw new FameTransportClose('WebSocket object is null', 1006);
162
162
  }
163
163
  // Use a timeout to prevent hanging during shutdown scenarios
164
- const receiveTimeout = 30000; // 30 seconds
164
+ // Increased to 1 hour to match server-side keep-alive and prevent idle disconnects
165
+ const receiveTimeout = 3600000; // 1 hour
165
166
  if (this._isFastApiLike && this._websocket.receive_bytes) {
166
167
  // FastAPI-style server WebSocket
167
168
  const receiveMethod = this._websocket.receive_bytes;
@@ -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.10
2
+ // Generated from package.json version: 0.3.11
3
3
  /**
4
4
  * The package version, injected at build time.
5
5
  * @internal
6
6
  */
7
- export const VERSION = '0.3.10';
7
+ export const VERSION = '0.3.11';
@@ -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.10
17
+ // Generated from package.json version: 0.3.11
18
18
  /**
19
19
  * The package version, injected at build time.
20
20
  * @internal
21
21
  */
22
- const VERSION = '0.3.10';
22
+ const VERSION = '0.3.11';
23
23
 
24
24
  /**
25
25
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -19996,7 +19996,8 @@ class WebSocketConnector extends BaseAsyncConnector {
19996
19996
  throw new FameTransportClose('WebSocket object is null', 1006);
19997
19997
  }
19998
19998
  // Use a timeout to prevent hanging during shutdown scenarios
19999
- const receiveTimeout = 30000; // 30 seconds
19999
+ // Increased to 1 hour to match server-side keep-alive and prevent idle disconnects
20000
+ const receiveTimeout = 3600000; // 1 hour
20000
20001
  if (this._isFastApiLike && this._websocket.receive_bytes) {
20001
20002
  // FastAPI-style server WebSocket
20002
20003
  const receiveMethod = this._websocket.receive_bytes;
@@ -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.10
16
+ // Generated from package.json version: 0.3.11
17
17
  /**
18
18
  * The package version, injected at build time.
19
19
  * @internal
20
20
  */
21
- const VERSION = '0.3.10';
21
+ const VERSION = '0.3.11';
22
22
 
23
23
  /**
24
24
  * Fame protocol specific error classes with WebSocket close codes and proper inheritance.
@@ -19995,7 +19995,8 @@ class WebSocketConnector extends BaseAsyncConnector {
19995
19995
  throw new FameTransportClose('WebSocket object is null', 1006);
19996
19996
  }
19997
19997
  // Use a timeout to prevent hanging during shutdown scenarios
19998
- const receiveTimeout = 30000; // 30 seconds
19998
+ // Increased to 1 hour to match server-side keep-alive and prevent idle disconnects
19999
+ const receiveTimeout = 3600000; // 1 hour
19999
20000
  if (this._isFastApiLike && this._websocket.receive_bytes) {
20000
20001
  // FastAPI-style server WebSocket
20001
20002
  const receiveMethod = this._websocket.receive_bytes;
@@ -2848,7 +2848,8 @@ class WebSocketConnector extends BaseAsyncConnector {
2848
2848
  throw new FameTransportClose('WebSocket object is null', 1006);
2849
2849
  }
2850
2850
  // Use a timeout to prevent hanging during shutdown scenarios
2851
- const receiveTimeout = 30000; // 30 seconds
2851
+ // Increased to 1 hour to match server-side keep-alive and prevent idle disconnects
2852
+ const receiveTimeout = 3600000; // 1 hour
2852
2853
  if (this._isFastApiLike && this._websocket.receive_bytes) {
2853
2854
  // FastAPI-style server WebSocket
2854
2855
  const receiveMethod = this._websocket.receive_bytes;
@@ -5563,12 +5564,12 @@ for (const [name, config] of Object.entries(SQLITE_PROFILES)) {
5563
5564
  }
5564
5565
 
5565
5566
  // This file is auto-generated during build - do not edit manually
5566
- // Generated from package.json version: 0.3.10
5567
+ // Generated from package.json version: 0.3.11
5567
5568
  /**
5568
5569
  * The package version, injected at build time.
5569
5570
  * @internal
5570
5571
  */
5571
- const VERSION = '0.3.10';
5572
+ const VERSION = '0.3.11';
5572
5573
 
5573
5574
  /**
5574
5575
  * Fame errors module - Fame protocol specific error classes
@@ -2847,7 +2847,8 @@ class WebSocketConnector extends BaseAsyncConnector {
2847
2847
  throw new FameTransportClose('WebSocket object is null', 1006);
2848
2848
  }
2849
2849
  // Use a timeout to prevent hanging during shutdown scenarios
2850
- const receiveTimeout = 30000; // 30 seconds
2850
+ // Increased to 1 hour to match server-side keep-alive and prevent idle disconnects
2851
+ const receiveTimeout = 3600000; // 1 hour
2851
2852
  if (this._isFastApiLike && this._websocket.receive_bytes) {
2852
2853
  // FastAPI-style server WebSocket
2853
2854
  const receiveMethod = this._websocket.receive_bytes;
@@ -5562,12 +5563,12 @@ for (const [name, config] of Object.entries(SQLITE_PROFILES)) {
5562
5563
  }
5563
5564
 
5564
5565
  // This file is auto-generated during build - do not edit manually
5565
- // Generated from package.json version: 0.3.10
5566
+ // Generated from package.json version: 0.3.11
5566
5567
  /**
5567
5568
  * The package version, injected at build time.
5568
5569
  * @internal
5569
5570
  */
5570
- const VERSION = '0.3.10';
5571
+ const VERSION = '0.3.11';
5571
5572
 
5572
5573
  /**
5573
5574
  * Fame errors module - Fame protocol specific error classes
@@ -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.10";
5
+ export declare const VERSION = "0.3.11";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naylence/runtime",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "type": "module",
5
5
  "description": "Naylence Runtime - Complete TypeScript runtime",
6
6
  "author": "Naylence Dev <naylencedev@gmail.com>",