@olane/o-tool 0.3.4 → 0.3.5

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 +1 @@
1
- {"version":3,"file":"o-tool.d.ts","sourceRoot":"","sources":["../src/o-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EAMV,MAAM,eAAe,CAAC;AAQvB;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,CAAC,SAAS,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CA4U7E"}
1
+ {"version":3,"file":"o-tool.d.ts","sourceRoot":"","sources":["../src/o-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EAMV,MAAM,eAAe,CAAC;AASvB;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,CAAC,SAAS,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CA4U7E"}
package/dist/o-tool.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { CoreUtils, oAddress, oRequest, oToolError, oToolErrorCodes, } from '@olane/o-core';
2
2
  import { oProtocolMethods } from '@olane/o-protocol';
3
3
  import { ToolUtils } from './tool.utils.js';
4
+ import crypto from 'crypto';
4
5
  /**
5
6
  * oTool is a mixin that extends the base class and implements the oTool interface
6
7
  * @param Base - The base class to extend
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olane/o-tool",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -34,9 +34,9 @@
34
34
  "devDependencies": {
35
35
  "@eslint/eslintrc": "^3.3.1",
36
36
  "@eslint/js": "^9.29.0",
37
- "@olane/o-config": "file:../o-config",
38
- "@olane/o-core": "file:../..",
39
- "@olane/o-protocol": "file:../o-protocol",
37
+ "@olane/o-config": "0.3.5",
38
+ "@olane/o-core": "0.3.5",
39
+ "@olane/o-protocol": "0.3.5",
40
40
  "@tsconfig/node20": "^20.1.6",
41
41
  "@types/jest": "^30.0.0",
42
42
  "@typescript-eslint/eslint-plugin": "^8.34.1",
@@ -54,9 +54,9 @@
54
54
  "typescript": "^5.8.3"
55
55
  },
56
56
  "peerDependencies": {
57
- "@olane/o-config": "^0.3.4",
58
- "@olane/o-core": "^0.3.4",
59
- "@olane/o-protocol": "^0.3.4"
57
+ "@olane/o-config": "^0.3.5",
58
+ "@olane/o-core": "^0.3.5",
59
+ "@olane/o-protocol": "^0.3.5"
60
60
  },
61
61
  "dependencies": {
62
62
  "debug": "^4.4.1",
@@ -1,10 +0,0 @@
1
- import { oAddress } from '@olane/o-core';
2
- import { oToolConfig } from './interfaces/tool.interface.js';
3
- declare const oHostNodeTool_base: any;
4
- export declare class oHostNodeTool extends oHostNodeTool_base {
5
- constructor(config: oToolConfig & {
6
- address: oAddress;
7
- });
8
- }
9
- export {};
10
- //# sourceMappingURL=node.tool.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node.tool.d.ts","sourceRoot":"","sources":["../src/node.tool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAa,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;kCAEL,GAAG;AAA3D,qBAAa,aAAc,SAAQ,kBAAyB;gBAC9C,MAAM,EAAE,WAAW,GAAG;QAAE,OAAO,EAAE,QAAQ,CAAA;KAAE;CAGxD"}
package/dist/node.tool.js DELETED
@@ -1,7 +0,0 @@
1
- import { oTool } from './o-tool.js';
2
- import { oHostNode } from '@olane/o-core';
3
- export class oHostNodeTool extends oTool(oHostNode) {
4
- constructor(config) {
5
- super(config);
6
- }
7
- }