otomato-sdk 2.0.80 → 2.0.82

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.
@@ -2787,8 +2787,27 @@ export const ACTIONS = {
2787
2787
  "name": "Split",
2788
2788
  "type": 4,
2789
2789
  "description": "Split a branch in multiple ones to parallelized executions",
2790
- "parameters": [],
2791
- "examples": [],
2790
+ "parameters": [
2791
+ {
2792
+ "key": "branchesAmount",
2793
+ "type": "integer",
2794
+ "description": "Amount of parallel branches",
2795
+ "mandatory": true,
2796
+ "category": 0
2797
+ },
2798
+ ],
2799
+ "examples": [
2800
+ {
2801
+ "name": "Split the flow in 3 branches",
2802
+ "description": "Split the flow in 3 branches",
2803
+ "parameters": [
2804
+ {
2805
+ "key": "branchesAmount",
2806
+ "value": 3
2807
+ }
2808
+ ]
2809
+ }
2810
+ ],
2792
2811
  "blockId": 100015,
2793
2812
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/split.png"
2794
2813
  }
@@ -192,7 +192,7 @@ export const WORKFLOW_TEMPLATES = [
192
192
  ],
193
193
  createWorkflow: dailyYieldEmail
194
194
  },
195
- {
195
+ /*{
196
196
  'name': 'Daily Fear & Greed-Based cbBTC Trading',
197
197
  'description': 'Automatically trade cbBTC daily based on the Fear & Greed Index—buy when low, sell when high.',
198
198
  'tags': [WORKFLOW_TEMPLATES_TAGS.TRADING, WORKFLOW_TEMPLATES_TAGS.SOCIALS],
@@ -202,7 +202,7 @@ export const WORKFLOW_TEMPLATES = [
202
202
  ACTIONS.CORE.SWAP.SWAP.image
203
203
  ],
204
204
  createWorkflow: createDCAFearAndGreed
205
- },
205
+ },*/
206
206
  {
207
207
  'name': 'Buy ETH when the market sentiment is extremely fearful - capital efficient',
208
208
  'description': 'Buy ETH when the Bitcoin Fear and Greed Index is below 45. The idle funds are generating yield on Ionic.',
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.80';
1
+ export const SDK_VERSION = '2.0.82';
2
2
  export function compareVersions(v1, v2) {
3
3
  // Split the version strings into parts
4
4
  const v1Parts = v1.split('.').map(Number);
@@ -1155,7 +1155,14 @@ export declare const ACTIONS: {
1155
1155
  type: number;
1156
1156
  description: string;
1157
1157
  parameters: Parameter[];
1158
- examples: never[];
1158
+ examples: {
1159
+ name: string;
1160
+ description: string;
1161
+ parameters: {
1162
+ key: string;
1163
+ value: number;
1164
+ }[];
1165
+ }[];
1159
1166
  blockId: number;
1160
1167
  image: string;
1161
1168
  };
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.80";
1
+ export declare const SDK_VERSION = "2.0.82";
2
2
  export declare function compareVersions(v1: string, v2: string): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otomato-sdk",
3
- "version": "2.0.80",
3
+ "version": "2.0.82",
4
4
  "description": "An SDK for building and managing automations on Otomato",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/types/src/index.d.ts",