opentool 0.8.15 → 0.8.18
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/cli/index.d.ts +2 -2
- package/dist/cli/index.js +31 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -1
- package/dist/{validate-DTnps_0I.d.ts → validate-DsvADI66.d.ts} +6 -0
- package/package.json +1 -1
- package/templates/base/package.json +1 -1
|
@@ -337,6 +337,7 @@ type ToolAsset = {
|
|
|
337
337
|
chain: string | number;
|
|
338
338
|
assetSymbols: string[];
|
|
339
339
|
pair?: string;
|
|
340
|
+
leverage?: number;
|
|
340
341
|
walletAddress?: string;
|
|
341
342
|
};
|
|
342
343
|
type ConnectedApp = {
|
|
@@ -356,6 +357,11 @@ type ToolProfile = {
|
|
|
356
357
|
assets?: ToolAsset[];
|
|
357
358
|
connectedApps?: ConnectedApp[];
|
|
358
359
|
policies?: Array<Record<string, unknown>>;
|
|
360
|
+
templateConfig?: {
|
|
361
|
+
version: number | string;
|
|
362
|
+
schema?: Record<string, unknown>;
|
|
363
|
+
defaults?: Record<string, unknown>;
|
|
364
|
+
};
|
|
359
365
|
};
|
|
360
366
|
type GetHandler = (req: Request) => Promise<Response> | Response;
|
|
361
367
|
type PostHandler = (req: Request) => Promise<Response> | Response;
|
package/package.json
CHANGED