@olane/o-tool 0.7.12-alpha.11 → 0.7.12-alpha.13
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/src/o-tool.base.js
CHANGED
|
@@ -87,7 +87,7 @@ export class oToolBase extends oCore {
|
|
|
87
87
|
}
|
|
88
88
|
async callMyTool(request, stream) {
|
|
89
89
|
const method = request.method;
|
|
90
|
-
this.logger.
|
|
90
|
+
this.logger.verbose('Calling tool: ' + method);
|
|
91
91
|
// TODO: implement this
|
|
92
92
|
// this.requests[request.id] = request;
|
|
93
93
|
// @ts-ignore
|
|
@@ -103,7 +103,7 @@ export class oToolBase extends oCore {
|
|
|
103
103
|
}
|
|
104
104
|
async index() {
|
|
105
105
|
if (this.indexed) {
|
|
106
|
-
this.logger.
|
|
106
|
+
this.logger.verbose('Tool already indexed, skipping...');
|
|
107
107
|
return {
|
|
108
108
|
summary: 'Tool already indexed',
|
|
109
109
|
};
|
package/dist/src/o-tool.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-tool.d.ts","sourceRoot":"","sources":["../../src/o-tool.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAI7C;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,CAAC,SAAS,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"o-tool.d.ts","sourceRoot":"","sources":["../../src/o-tool.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAI7C;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,CAAC,SAAS,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CA8P7E"}
|
package/dist/src/o-tool.js
CHANGED
|
@@ -75,7 +75,7 @@ export function oTool(Base) {
|
|
|
75
75
|
async _tool_route(request) {
|
|
76
76
|
if (request.params.address === this.address.toString() ||
|
|
77
77
|
request.params.address === this.staticAddress.toString()) {
|
|
78
|
-
this.logger.
|
|
78
|
+
this.logger.verbose('Route to self, calling tool...');
|
|
79
79
|
const { payload } = request.params;
|
|
80
80
|
return this.callMyTool(new oRequest({
|
|
81
81
|
method: payload.method,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olane/o-tool",
|
|
3
|
-
"version": "0.7.12-alpha.
|
|
3
|
+
"version": "0.7.12-alpha.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"typescript": "^5.8.3"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@olane/o-config": "0.7.12-alpha.
|
|
58
|
-
"@olane/o-core": "0.7.12-alpha.
|
|
59
|
-
"@olane/o-protocol": "0.7.12-alpha.
|
|
57
|
+
"@olane/o-config": "0.7.12-alpha.13",
|
|
58
|
+
"@olane/o-core": "0.7.12-alpha.13",
|
|
59
|
+
"@olane/o-protocol": "0.7.12-alpha.13",
|
|
60
60
|
"debug": "^4.4.1",
|
|
61
61
|
"dotenv": "^16.5.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "dad019b117feb02f74eeec70de9ee82b76b68f6c"
|
|
64
64
|
}
|