otomato-sdk 2.0.251 → 2.0.252

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.
@@ -203,7 +203,7 @@ const abstractGetNotifiedOnNewAppRelease = async () => {
203
203
  trigger3.setParams('category', 'trading');
204
204
  trigger3.setIsOptional(true); // that's a OR logic between triggers
205
205
  const telegramAction = new Action(ACTIONS.NOTIFICATIONS.TELEGRAM.SEND_MESSAGE);
206
- telegramAction.setParams('message', `A new app is available on Abstract`);
206
+ telegramAction.setParams('message', `A new app is available on Abstract {{json nodeMap.${telegramAction.getRef()}.children.filter(Boolean).0.output.newApps}}`);
207
207
  const edge = new Edge({ source: trigger1, target: telegramAction });
208
208
  const edge2 = new Edge({ source: trigger2, target: telegramAction });
209
209
  const edge3 = new Edge({ source: trigger3, target: telegramAction });
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.251';
1
+ export const SDK_VERSION = '2.0.252';
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.251";
1
+ export declare const SDK_VERSION = "2.0.252";
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.251",
3
+ "version": "2.0.252",
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",