@olane/o-client-limited 0.7.12-alpha.56 → 0.7.12-alpha.58
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { oNodeConnection, oNodeConnectionConfig
|
|
2
|
-
|
|
1
|
+
import { oNodeConnection, oNodeConnectionConfig } from '@olane/o-node';
|
|
2
|
+
import { oLaneTool } from '@olane/o-lane';
|
|
3
|
+
export declare class oLimitedTool extends oLaneTool {
|
|
3
4
|
connect(config: oNodeConnectionConfig): Promise<oNodeConnection>;
|
|
4
5
|
initConnectionManager(): Promise<void>;
|
|
5
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-limited.tool.d.ts","sourceRoot":"","sources":["../../src/o-limited.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,qBAAqB,
|
|
1
|
+
{"version":3,"file":"o-limited.tool.d.ts","sourceRoot":"","sources":["../../src/o-limited.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,qBAAqB,EAEtB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,qBAAa,YAAa,SAAQ,SAAS;IACnC,OAAO,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,eAAe,CAAC;IAehE,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC;CAQ7C"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { oNodeTool, } from '@olane/o-node';
|
|
2
1
|
import { oLimitedConnectionManager } from './connection/o-limited-connection-manager.js';
|
|
3
|
-
|
|
2
|
+
import { oLaneTool } from '@olane/o-lane';
|
|
3
|
+
export class oLimitedTool extends oLaneTool {
|
|
4
4
|
async connect(config) {
|
|
5
|
-
this.handleProtocol(config.nextHopAddress)
|
|
5
|
+
this.handleProtocol(config.nextHopAddress).catch((error) => {
|
|
6
|
+
this.logger.error('Error handling protocol:', error);
|
|
7
|
+
});
|
|
6
8
|
// Inject requestHandler to enable bidirectional stream processing
|
|
7
9
|
// This allows incoming router requests to be processed through the tool's execute method
|
|
8
10
|
const configWithHandler = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olane/o-client-limited",
|
|
3
|
-
"version": "0.7.12-alpha.
|
|
3
|
+
"version": "0.7.12-alpha.58",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -53,13 +53,14 @@
|
|
|
53
53
|
"typescript": "5.4.5"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@olane/o-config": "0.7.12-alpha.
|
|
57
|
-
"@olane/o-core": "0.7.12-alpha.
|
|
58
|
-
"@olane/o-lane": "0.7.12-alpha.
|
|
59
|
-
"@olane/o-
|
|
60
|
-
"@olane/o-
|
|
56
|
+
"@olane/o-config": "0.7.12-alpha.58",
|
|
57
|
+
"@olane/o-core": "0.7.12-alpha.58",
|
|
58
|
+
"@olane/o-lane": "0.7.12-alpha.58",
|
|
59
|
+
"@olane/o-node": "0.7.12-alpha.58",
|
|
60
|
+
"@olane/o-protocol": "0.7.12-alpha.58",
|
|
61
|
+
"@olane/o-tool": "0.7.12-alpha.58",
|
|
61
62
|
"debug": "^4.4.1",
|
|
62
63
|
"dotenv": "^16.5.0"
|
|
63
64
|
},
|
|
64
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "57bb9dec306f5283a838479f5d61f6981585b18f"
|
|
65
66
|
}
|