otomato-sdk 2.0.250 → 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 });
@@ -574,11 +574,11 @@ export const WORKFLOW_TEMPLATES = [
574
574
  ],
575
575
  createWorkflow: createTokenMovementNotificationWorkflow
576
576
  },
577
- createTwitterAiNotificationTemplate({ display: 'saylor', tag: 'saylor' }, {
577
+ createTwitterAiNotificationTemplate({ display: 'Strategy', tag: 'Strategy' }, {
578
578
  prompt: 'the tweet announces that Microstrategy acquired more bitcoin',
579
- notification: 'saylor announces that Microstrategy acquired more bitcoin',
580
- description: 'Get notified when saylor announces that Microstrategy acquired more bitcoin',
581
- wfTitle: 'Get notified when saylor announces that Microstrategy acquired more bitcoin',
579
+ notification: 'Strategy announces that Microstrategy acquired more bitcoin',
580
+ description: 'Get notified when Strategy announces that Microstrategy acquired more bitcoin',
581
+ wfTitle: 'Get notified when Strategy announces that Microstrategy acquired more bitcoin',
582
582
  }, 'https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/templates/microstrategy.webp'),
583
583
  {
584
584
  'name': 'Daily yield updates',
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.250';
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.250";
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.250",
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",