@olane/o-tools-common 0.7.25 → 0.7.26

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/init.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { StorageTool } from '@olane/o-storage';
1
+ import { StorageTool, OSConfigStorageTool } from '@olane/o-storage';
2
2
  import { SearchTool } from './search/search.tool.js';
3
3
  import { EncryptionTool } from './encryption/encryption.tool.js';
4
4
  import { oApprovalTool } from '@olane/o-approval';
5
5
  import { oLaneTool } from '@olane/o-lane';
6
- export declare const initCommonTools: (oNode: oLaneTool) => Promise<(SearchTool | EncryptionTool | StorageTool | oApprovalTool)[]>;
6
+ export declare const initCommonTools: (oNode: oLaneTool) => Promise<(SearchTool | EncryptionTool | StorageTool | OSConfigStorageTool | oApprovalTool)[]>;
7
7
  //# sourceMappingURL=init.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAO,MAAM,eAAe,UAAiB,SAAS,2EAsCrD,CAAC"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAO,MAAM,eAAe,UAAiB,SAAS,iGA2CrD,CAAC"}
package/dist/init.js CHANGED
@@ -1,4 +1,4 @@
1
- import { StorageTool } from '@olane/o-storage';
1
+ import { StorageTool, OSConfigStorageTool } from '@olane/o-storage';
2
2
  import { SearchTool } from './search/search.tool.js';
3
3
  import { EncryptionTool } from './encryption/encryption.tool.js';
4
4
  import { oApprovalTool } from '@olane/o-approval';
@@ -12,6 +12,11 @@ export const initCommonTools = async (oNode) => {
12
12
  name: 'storage',
13
13
  ...params,
14
14
  }),
15
+ new OSConfigStorageTool({
16
+ name: 'os-config',
17
+ ...params,
18
+ storageBackend: 'disk', // Use disk storage for local deployments
19
+ }),
15
20
  new EncryptionTool({
16
21
  name: 'encryption',
17
22
  ...params,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olane/o-tools-common",
3
- "version": "0.7.25",
3
+ "version": "0.7.26",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -52,16 +52,16 @@
52
52
  "typescript": "5.4.5"
53
53
  },
54
54
  "dependencies": {
55
- "@olane/o-approval": "0.7.25",
56
- "@olane/o-config": "0.7.25",
57
- "@olane/o-core": "0.7.25",
58
- "@olane/o-lane": "0.7.25",
59
- "@olane/o-leader": "0.7.25",
60
- "@olane/o-protocol": "0.7.25",
61
- "@olane/o-storage": "0.7.25",
62
- "@olane/o-tool": "0.7.25",
55
+ "@olane/o-approval": "0.7.26",
56
+ "@olane/o-config": "0.7.26",
57
+ "@olane/o-core": "0.7.26",
58
+ "@olane/o-lane": "0.7.26",
59
+ "@olane/o-leader": "0.7.26",
60
+ "@olane/o-protocol": "0.7.26",
61
+ "@olane/o-storage": "0.7.26",
62
+ "@olane/o-tool": "0.7.26",
63
63
  "debug": "^4.4.1",
64
64
  "dotenv": "^16.5.0"
65
65
  },
66
- "gitHead": "42cd24f9c37fbd9676cfda18b97e7bd28e87e152"
66
+ "gitHead": "ded249359b4d2d0eb2e1bf438ce59287ba9dfd58"
67
67
  }