otomato-sdk 2.0.173 → 2.0.174

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.
@@ -3297,8 +3297,8 @@ export const TRIGGERS = {
3297
3297
  },
3298
3298
  "examples": [
3299
3299
  {
3300
- "name": "wHYPE Borrow Cap above 2.6M",
3301
- "description": "Triggers when HyperLend Borrow Cap rises above 2.6M",
3300
+ "name": "wHYPE Borrow Cap rises",
3301
+ "description": "Triggers when HyperLend Borrow Cap rises",
3302
3302
  "externalVariableDescription": "Current HyperLend Borrow Cap",
3303
3303
  "parameters": [
3304
3304
  {
@@ -3315,7 +3315,7 @@ export const TRIGGERS = {
3315
3315
  },
3316
3316
  {
3317
3317
  "key": "comparisonValue",
3318
- "value": 2600000
3318
+ "value": "{{history.0.value}}"
3319
3319
  }
3320
3320
  ]
3321
3321
  }
@@ -3365,8 +3365,8 @@ export const TRIGGERS = {
3365
3365
  },
3366
3366
  "examples": [
3367
3367
  {
3368
- "name": "wHYPE Supply Cap above 5.25M",
3369
- "description": "Triggers when HyperLend Supply Cap rises above 5.25M",
3368
+ "name": "wHYPE Supply Cap rises",
3369
+ "description": "Triggers when HyperLend Supply Cap rises",
3370
3370
  "externalVariableDescription": "Current HyperLend Supply Cap",
3371
3371
  "parameters": [
3372
3372
  {
@@ -3383,7 +3383,7 @@ export const TRIGGERS = {
3383
3383
  },
3384
3384
  {
3385
3385
  "key": "comparisonValue",
3386
- "value": 5250000
3386
+ "value": "{{history.0.value}}"
3387
3387
  }
3388
3388
  ]
3389
3389
  }
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.173';
1
+ export const SDK_VERSION = '2.0.174';
2
2
  export function compareVersions(v1, v2) {
3
3
  // Split the version strings into parts
4
4
  const v1Parts = v1.split('.').map(Number);
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.173";
1
+ export declare const SDK_VERSION = "2.0.174";
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.173",
3
+ "version": "2.0.174",
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",