@olane/o-tool 0.7.12-alpha.18 → 0.7.12-alpha.19
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.d.ts.map +1 -1
- package/dist/src/o-tool.js +6 -0
- package/package.json +5 -5
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,CAqQ7E"}
|
package/dist/src/o-tool.js
CHANGED
|
@@ -85,6 +85,12 @@ export function oTool(Base) {
|
|
|
85
85
|
}
|
|
86
86
|
return this.router.route(request, this);
|
|
87
87
|
}
|
|
88
|
+
async _tool_register_leader(request) {
|
|
89
|
+
await this.registerLeader();
|
|
90
|
+
return {
|
|
91
|
+
message: 'Leader registered',
|
|
92
|
+
};
|
|
93
|
+
}
|
|
88
94
|
async _tool_child_register(request) {
|
|
89
95
|
throw new oError(oErrorCodes.NOT_IMPLEMENTED, 'Child register not implemented');
|
|
90
96
|
}
|
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.19",
|
|
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.19",
|
|
58
|
+
"@olane/o-core": "0.7.12-alpha.19",
|
|
59
|
+
"@olane/o-protocol": "0.7.12-alpha.19",
|
|
60
60
|
"debug": "^4.4.1",
|
|
61
61
|
"dotenv": "^16.5.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "4ec8067e4e2b53232f10e71528d7aecf03c38bb5"
|
|
64
64
|
}
|