otomato-sdk 2.0.254 → 2.0.256

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.
@@ -5965,7 +5965,6 @@ export const TRIGGERS = {
5965
5965
  "POLYMARKET": {
5966
5966
  "description": "Decentralized prediction market protocol",
5967
5967
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/polymarket.png",
5968
- "comingSoon": true,
5969
5968
  "OUTCOME_PRICE": {
5970
5969
  "name": "Market Outcome Price",
5971
5970
  "description": "Monitor the price of a specific outcome in a Polymarket prediction market",
@@ -6034,8 +6033,7 @@ export const TRIGGERS = {
6034
6033
  }
6035
6034
  ],
6036
6035
  "blockId": 42,
6037
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/polymarket.png",
6038
- "comingSoon": true
6036
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/polymarket.png"
6039
6037
  }
6040
6038
  },
6041
6039
  "ABSTRACT": {
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.254';
1
+ export const SDK_VERSION = '2.0.256';
2
2
  export function compareVersions(v1, v2) {
3
3
  // Split the version strings into parts
4
4
  const v1Parts = v1.split('.').map(Number);
@@ -34,6 +34,7 @@ export class Trigger extends Node {
34
34
  position: json.position,
35
35
  parentInfo: enriched.parentInfo,
36
36
  state: json.state,
37
+ isOptional: json.isOptional,
37
38
  });
38
39
  for (const [key, value] of Object.entries(json.parameters)) {
39
40
  if (value === undefined || value === null) {
@@ -2227,7 +2227,6 @@ export declare const TRIGGERS: {
2227
2227
  POLYMARKET: {
2228
2228
  description: string;
2229
2229
  image: string;
2230
- comingSoon: boolean;
2231
2230
  OUTCOME_PRICE: {
2232
2231
  name: string;
2233
2232
  description: string;
@@ -2253,7 +2252,6 @@ export declare const TRIGGERS: {
2253
2252
  }[];
2254
2253
  blockId: number;
2255
2254
  image: string;
2256
- comingSoon: boolean;
2257
2255
  };
2258
2256
  };
2259
2257
  ABSTRACT: {
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.254";
1
+ export declare const SDK_VERSION = "2.0.256";
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.254",
3
+ "version": "2.0.256",
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",